Commit Graph

5744 Commits

Author SHA1 Message Date
6b7360453a Merge pull request #3089 from mrp1no
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:45 -05:00
08b3886f22 Merge pull request #3074 from Wasler
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:06:44 -05:00
af1b3c96d2 Merge pull request #3061 from Vonsek
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/shader_validation.md
2026-11-22 23:06:42 -05:00
698907af7e Merge pull request #3045 from whattheflop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:40 -05:00
af1d6a744f Merge pull request #3004 from Moaaz Gewili
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
#	docs/testing.md
2026-11-22 23:06:38 -05:00
66fae9fb88 Merge pull request #2977 from omardev29
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:06:33 -05:00
8b56f6aa61 Merge pull request #2973 from ray3242
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:31 -05:00
95b2e2c8bd Merge pull request #2951 from AlxcBTW
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:28 -05:00
1af1f9e393 Merge pull request #2935 from lumenpearson
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:06:28 -05:00
5987f76295 Merge pull request #2909 from Jolymmiles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:23 -05:00
1c01a0a087 Merge pull request #2899 from andretuta
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:20 -05:00
6d66444a45 Merge pull request #2890 from tupacfan04
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:18 -05:00
0245b2083e Merge pull request #2863 from Vonsek
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:15 -05:00
11ff3f3fc5 Merge pull request #2855 from sovljanskii
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:13 -05:00
235c0babdd Merge pull request #2786 from Kacper Serewis
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:08 -05:00
3ba4576861 Merge pull request #2778 from Kacper Serewis
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:06:08 -05:00
560c5676ed Merge pull request #2740 from AlxcBTW
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:04 -05:00
fd940eacc9 Merge pull request #2732 from Kam471
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:02 -05:00
1b5ad07e5f Merge pull request #2711 from Vonsek
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:06:00 -05:00
333e3b2926 Merge pull request #2706 from 0xTehuti
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:59 -05:00
c213504715 Merge pull request #2664 from admin
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:05:53 -05:00
a846f4193f Merge pull request #2653 from Julio Facal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:52 -05:00
d5af57f999 Merge pull request #2645 from Lucy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:49 -05:00
f14b2aea65 Merge pull request #2521 from Vonsek
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:44 -05:00
27ba1a15a6 Merge pull request #2519 from Rafael
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:43 -05:00
726cb9c697 Merge pull request #2494 from Vonsek
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:05:43 -05:00
336733ccc5 Merge pull request #2490 from Nolan Cotter
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:42 -05:00
253a5066a5 Merge pull request #2432 from AlxcBTW
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:37 -05:00
99d0e8dadd Merge pull request #2382 from gabrielsteglich
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:34 -05:00
8f12d8c2f5 Merge pull request #2022 from AlxcBTW
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:12 -05:00
de85d7972f Merge pull request #1922 from YaBulochka
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:05:09 -05:00
2eb5669566 Merge pull request #837 from DANISBR1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:04:57 -05:00
db34711519 Merge pull request #580 from SirAmong
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:04:53 -05:00
3eb4410b8d tools/find_hash_lookup.py: rank the archetype-lookup candidates for the mod hook
Reads a PE without running it: finds where the code loads a model hash (default Lucia's player model 0xE472B687 and
cs_mandy 0xD7C0CDFF), takes the direct calls right after, and ranks those targets by how many hashes lead to them and
how many direct callers the whole image has. first_look.ps1 writes hash_lookup.json, so the day-one report already
names the RVA for gta6rt --archetype-lookup (docs/modding.md). A packed or encrypted file is refused with that
reason. tests/test_find_hash_lookup.py runs it on synthetic PE images.

test_first_look_shim_report copies every tool first_look.ps1 runs (it had failed since gdk_runtime_calls.py joined
the script in round 43).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:56:15 -05:00
baefe6d643 Merge main 2d3369a4 into #4113
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 04:54:39 +01:00
3faaeb8e0b Merge main 2d3369a4 into #4035
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 04:54:23 +01:00
9e6444fadb Mods: the archetype hook, --archetype-lookup RVA[,ARG]
code_hooks.h hooks a function of the mapped game image without patching it: every direct call/jmp rel32 to it in the
image's executable sections is pointed at a thunk that saves rcx/rdx/r8/r9 and xmm0-3, passes the hash (argument 0
or 1) through leonida::mods::active().remap() and jumps on to the original. gta6rt installs it right after mapping,
before any image code runs, and logs how many call sites it redirected, so a --dry-run with a candidate RVA tells
whether it is the archetype lookup. ctest code_hooks runs the thunk on x64 functions written into memory (call and
tail jump remapped, r8 preserved, a branch elsewhere left byte for byte). With the executable's lookup RVA this
applies mods/mandy_prison_intro; docs/modding.md says how to find it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:53:19 -05:00
fb7f380cfb Merge origin/main into fix/shader-427-structured-depth
Conflicts were both-sides additions: docs/design.md (main's DPP, EXEC and
saveexec row updates kept; this branch's Control flow row kept) and
tools/rdna2spirv.py (main's _out_inside_input and --opt kept next to
_depth_arg and --max-structured-depth).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:51:59 -05:00
cdd419dddb Merge ItsNotRexed/Leonida main (7b7d73f8) into fspx-wave-size
Conflict in docs/design.md: main moved the "Output modifiers on hardware
(gfx1150)" row to just before "Wave64 handling" and left the Wave64 row
unchanged; kept main's layout and re-applied this branch's FSPX paragraph
and fallback-sentence change to the Wave64 row. tools/rdna2spirv.py merged
cleanly; main did not change the wave-size decision in translate().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:51:50 -05:00
1f8888bd55 Merge upstream main into codex/unary-f64-literals 2026-11-23 04:51:20 +01:00
703dfc9306 docs/design.md: SHADER-820 in the wave64 graphics vote rule 2026-11-23 00:51:16 -03:00
5f41b31d07 docs/design.md: the ds_swizzle note says what main does today and how it was counted
@wavehs's review: on main every numeric offset:N is refused; only #4177
narrows that to 0xC000-0xFFFF. The game's 105,529 swizzles all print in a
symbolic form, so neither rule touches them. Also names the method (printed
encodings, the 1,473 listings with data words included) and that the FSPX
programs have none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:51:05 -03:00
8f867498da docs/design.md: no game shader uses a ds_swizzle_b32 offset of 0xC000 or above (SHADER-811)
RDNA2 treats offsets 0xC000-0xFFFF as a separate mode (#4177) and the
translator refuses them. Counted over the 1.0.2.1 package's 26,503 DXBC
listings and the FidelityFX DLL's 29 FSPX programs: 105,529 ds_swizzle_b32
in 6,296 programs, 17 distinct offsets, none at or above 0xC000. So the
refusal costs no game shader and a note is enough.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:51:05 -03:00
7680301628 Merge remote-tracking branch 'origin/main' into w64-idea
# Conflicts:
#	docs/design.md
#	runtime/test/shaders/w64_graphics.py
#	tests/semantic/test_wave64_halves.py
#	tests/test_wave64_halves_fixtures.py
#	tools/wave64_halves.py
2026-11-23 04:50:52 +01:00
72c6b0a0a9 d3d12_present_test: do not assert the screen pixel for a GPU that does not drive the window's monitor 2026-11-22 22:50:49 -05:00
7c4ef193b0 docs: pin the ds_add_f32 rows to measured gfx1100 flush-to-zero
The row said the LDS float adder's denormal and NaN behaviour was unmeasured. 49 cases on gfx1100 now show it
flushes denormal inputs and denormal results to zero, so the OpFAdd the translator loops on keeps values the
hardware drops; NaN is quieted with its payload and sign kept, DATA wins when both operands are NaN, and
inf + -inf gives 0xffc00000. The returning form gives the raw pre-op dword.
2026-11-22 21:50:25 -06:00
65c3e1e3c2 Merge main (2d3369a4) into test/877-compute-validation
vk_compute_test.cpp: keep both includes (vk_validation.h from this branch,
cs_wave_probe_spv.h from main).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 03:49:50 +00:00
dddf6aaa9a Merge main 7b7d73f8: the device function list keeps main's pipeline cache entries and the render pass ones
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 05:49:06 +02:00
f502d1fc55 fix: track word3 literals with rdna2spirv's scalar folds (s_mov_b64, s_pack, s_bfm, ...), pin offen/tbuffer/store_format (SHADER-833) 2026-11-23 04:48:34 +01:00
f1159c5d60 docs: pin the v_cmp(x)_class_f16 and v_cmp(x)_class_f64 rows to measured gfx1100
85 cases on gfx1100 match the class bit of each operand word for all ten classes in both widths, taken
against the operand's own bit, all ten bits, none and the nine others, plus both narrowing forms on the
launched lane.
2026-11-22 21:48:28 -06:00