Repository navigation
Conversation
A retail title's world pixel shaders (xcl-dev#505; 173 of its 362) pack their float16 interpolants: two components per dword (component c of a register in dword c / 2, the even one in the low half) and up to two signature registers per attribute, the second after the dwords the first one's components take (1 for .xy, 2 for .xyz / .xyzw). The PS reads each half with v_interp_p2_f16, SRC0 bit 8 choosing the high one. XCL refused the PS input table of such programs (records [6, reg, mask, attr, 0, reg2, packed reg, flags]: flag 8 = float16, flag 16 = byte 5 names the second register, byte 6 below byte 1 from the first pair on), so every attribute, plain ones included, fell back to "the N-th register" and the ones after a pair read their neighbour. The PS also converted the raw packed dword as a float, ignored the high bit and declared the float16 inputs nointerpolation. Now the table parses, each (dword, half) of a packed attribute maps to its element and component (f16_registers, ps_f16_slot; a record that repeats its own register pairs it with the next float16 register no other attribute names), and the PS reads that component as a float, interpolated with the attribute's own mode. Both translators (HLSL and direct DXIL). The layout was checked on the title's dumped programs: every v_interp_p2_f16 (dword, half) of 376 of 378 packed attributes in 362 PS is a declared component (2 read one past a .xy register). Not covered here: the VS / mesh side still exports the packed dwords raw (the next commit), so the GPU test feeds the PS from a PC VS that hands over each component as a float. xcl-dev#1975 / xcl-dev#1976 parsed the same records with a fixed layout - the second register always in dwords 2-3, a repeated register paired with itself - which does not match the title's programs after a .xy register; both have since dropped their float16 part in favour of this change. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The other half of the previous commit: the VS and mesh (NGG) programs that feed those pixel shaders export their float16 interpolants packed the same way - two components per dword, up to two signature registers per exp param. XCL refused the output table of such programs (records [6, reg, param, reg, 0, 1 | 3]: 1 = float16, 3 = more than one dword) and fell back to "the N-th register", so every param after a pair went to its neighbour's register; a packed param went raw into its first register alone. A mesh program never used its table at all. Now the table parses for VS and mesh programs (MsInterface::params) and a packed param is unpacked where it is exported: each half goes as a float to its own component of its own element, in the VS outputs and in the mesh record, in both translators. The table does not name the second register of a pair: the float16 registers pair up in order, so it is the next one no other param starts with (f16_registers). Checked on the title's dumped programs: the enable mask of every exp param of 383 packed params in 442 MS is exactly the predicted dwords. A mesh program with a table now takes its params' registers from it, float16 or not, as a VS already did; without one nothing changes. xcl-dev#1975 unpacked the same params with the second register always in dwords 2-3 and paired a mesh program's registers without its table; it has since dropped that part in favour of this change. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
AMD wave64 and debug-build run (both listed as untested), plus an RTX 3060: all 4 new tests pass on both cards, with and without the direct translator, and nothing else changes. Head
Not tested: the title, Intel, release build. |
|
Independent AMD RDNA4 (native wave64) test report on exact head Tested
Regression run (60 s retail-title smoke, (Matched Not tested
AI use
|
|
Tested: current PR head merged onto current
Not tested: retail titles (no title data on this lane, counts only). AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting. |
After DCE removes unused components from a multi-dword rawBufferLoad (e.g. a 4-dword load whose y/z/w extracts were dead), narrowing the contiguous DXIL mask (15/7/3 -> 1/3/7) based on the highest live ExtractValue index (< 4, never touching loads whose residency status index 4 or whole struct escapes) reduces memory traffic and avoids trailing OOB byte reads. Also supplies early_depth: false in the cherry-picked #2513 f16 PS interface test initializer. Assisted-by: Antigravity (Gemini 4 Neon High)
After DCE removes unused components from a multi-dword rawBufferLoad (e.g. a 4-dword load whose y/z/w extracts were dead), narrowing the contiguous DXIL mask (15/7/3 -> 1/3/7) based on the highest live ExtractValue index (< 4, never touching loads whose residency status index 4 or whole struct escapes) reduces memory traffic and avoids trailing OOB byte reads. Also supplies early_depth: false in the cherry-picked xcl-dev#2513 f16 PS interface test initializer. Assisted-by: Antigravity (Gemini 4 Neon High)
|
Independent dual-PC NVIDIA full-workspace test report on clean head Tested
Not tested
AI use
|
luckyteagirl
left a comment
There was a problem hiding this comment.
gpu/recomp/mod.rs:500: ps_f16_slot falls back to any element at the register when its mask excludes the requested half. That makes an absent packed component read the PC producer's value instead of zero. The new f16_packed_attributes_interpolate_per_half fixture already requests TEXCOORD1.w and expects zero, but its PC VS writes zero there, so it cannot distinguish the paths.
On the exact head 3bc875816e45550c3aaa6d44da3b3922b82d18e3, I changed only that fixture's PC VS TEXCOORD1.w from 0.0 to 0.75 (and put the direct PS pair first for a second run), leaving the expected zero unchanged. With XCL_ADAPTER=6800M, XCL_REQUIRE_GPU=1, the focused test failed in both separate runs: PC VS + HLSL PS and PC VS + direct PS each returned 0.75 for the absent component at pixel (0,0), expected 0.0 (exit 101, 1 failed/1,327 filtered each). The HLSL path indexes component 3 and direct DXIL loads that column. Could the lookup return None for an undeclared half and retain the strengthened fixture so both translators take their zero path?
This is a focused modified-fixture GPU result, not a retail-title run or full-suite result. AI-assisted review with Codex.
|
@raylitebull since you deferred the float16 part of #1975 to this PR: its AI use: Claude Code (Claude Opus 5.5). |
|
Independent desktop NVIDIA (Wave32-only Ada) verification of PR #2513 at head Environment
Targeted release tests & build (
|
| Command | Result |
|---|---|
cargo test --release -p xcl --lib f16_packed_attributes_interpolate_per_half -- --nocapture (3 consecutive runs) |
1 passed; 0 failed; 0 ignored; 1327 filtered out × 3 (0.89s, 0.82s, 0.81s, 0 skipped — live RTX 4060 + DXC 1.9.2609.5) |
cargo test --release -p xcl --lib f16_packed_attributes -- --nocapture (3 consecutive runs; executes both f16_packed_attributes and f16_packed_attributes_interpolate_per_half) |
2 passed; 0 failed; 0 ignored; 1326 filtered out × 3 (0.81s, 0.82s, 0.84s, 0 skipped) |
cargo test --release -p xcl --lib f16_packed_params -- --nocapture (3 consecutive runs; executes both f16_packed_params and gpu_mesh_f16_packed_params) |
2 passed; 0 failed; 0 ignored; 1326 filtered out × 3 (0.32s, 0.25s, 0.25s, 0 skipped) |
cargo test --release -p xcl --lib gpu_mesh_f16_packed_params -- --nocapture (3 consecutive runs) |
1 passed; 0 failed; 0 ignored; 1327 filtered out × 3 (0.25s, 0.24s, 0.25s, 0 skipped — live RTX 4060 mesh-shader execution) |
cargo test --release -p xcl --lib gpu::dxil:: -- --test-threads=4 (3 consecutive runs) |
184 passed; 0 failed; 3 ignored; 1141 filtered out × 3 (4.01s, 4.05s, 4.02s; 183 executed + 1 expected Wave32-only skip dispatch_chain_native_wave64_builds_whole: no wave64) |
cargo test --release -p xcl --lib gpu::recomp:: -- --test-threads=4 (3 consecutive runs) |
395 passed; 0 failed; 19 ignored; 914 filtered out × 3 (5.89s, 6.13s, 5.90s; 372 executed + 23 expected Wave32-only/env skips) |
cargo build --release -p xcl |
Clean build (1m 08s, exit 0, 0 new warnings) |
Paired quiet 60 s retail smoke (title: 29640639)
Exact merge-base (6d12f58a229bc73889878a448c64dc3af25eeba0, cached baseline on the same machine):
xcl-smoke v1
commit: 6d12f58a229bc73889878a448c64dc3af25eeba0
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1606 (PresentX 1606)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14004 MB
PR #2513 (3bc875816e45550c3aaa6d44da3b3922b82d18e3):
xcl-smoke v1
commit: 3bc875816e45550c3aaa6d44da3b3922b82d18e3
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1604 (PresentX 1604)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 13989 MB
Runtime log observations (xcl.log)
9223log lines,0[ERROR]/ device-removal / panic lines.- Final draw/memory telemetry in log:
19531 draws with translated pipelines (0 skipped, 0 with PC pipelines), 1024 dispatches (0 skipped); last memory sample13988 MB committed by the process; video memory 6116 MB local, 4651 MB non-local.
Limits of coverage
- Packed two-per-dword
float16VS/mesh exports and per-half PS attribute interpolation were directly executed end-to-end on desktop RTX 4060 + DXC1.9.2609.5via all 4 new tests (f16_packed_attributes,f16_packed_attributes_interpolate_per_half,f16_packed_params,gpu_mesh_f16_packed_params,3/3each with0skips),gpu::dxil::(183executed +1expectedno wave64skip × 3), andgpu::recomp::(372executed +23expected Wave32-only/env skips × 3). - Native Wave64 GPU execution is not available on this Wave32-only RTX 4060, and the warm-cache 60 s retail smoke on
title: 29640639confirms zero runtime regression rather than recompiling a cold retail VS/MS/PS shader set (frame-count delta vs. cached merge-base reflects single-run startup variance, not this PR).
AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).
|
Test report on the retail title (#505). An output record flag of Stack
Read (offline, from the title's own programs; no game data here)
Where (3bc8758)
Measured (one run per setting, frames at ~700 s; the title's start does not always leave the camera at the same pose)
Suggested (not implemented, not run)
I can run a candidate fix on this title, at the same pose. AI use: the offline reading, the reproduction and this report were done with Claude Code (Claude Opus 5.5), driven and checked by me. |
|
Follow-up to my report above. This one concerns Read (upstream
Reproduced offline (CPU arithmetic, confirmed on WARP with a minimal VS→PS pair translated the same way):
Deduced, not measured in-game: on the retail title this matches a window-glass particle drawn with dual-source blending ( Suggested:
Stack: RTX 3090 24 GB (Resizable BAR off), driver 616.56, Ryzen 9 5950X, 32 GB RAM, Windows 11 22631. Code read on AI use: found, reproduced and written with Claude Code (Claude Opus 5.5), checked and posted by me. |
|
Correction to my follow-up above (the For the record, the half-black window turned out to be the tiled lighting reading an empty compute-written depth buffer; #3089 fixes it (test report there). AI use: found and written with Claude Code (Claude Opus 5.5), checked and posted by me. |
|
Report from a retail title (#505) on an RTX 3080: the mapping of this PR changes what reaches two shader groups here, and with it the window glass is drawn over its whole quad. It is not a Tested tree: this PR's two commits ( Hardware: RTX 3080 10 GB (driver 621.40), Ryzen 9 7950X, Windows 11 build 26200, release build, Series S profile. 1. Wrong registers without the port. One pixel shader (it draws lamps in a yard) has an input record for a packed float16 pair, so 2. Wrong types and interpolation without the port. For the three pixel shaders of the window glass, both sides count the registers alike, so the data arrive. But the packed pairs are not unpacked, and some inputs that the tables interpolate become What changes in the picture (runs of 900 to 2700 s on several private builds with the port)
Not a statement about stability: the 26 port runs had 1 device removal and 4 title crashes; the builds differ in other ways, too. About the withdrawn glass link: @CharlyRien's glass goes through the direct translator and ours through HLSL, so this does not contradict their result. A glass that is hazed on half of its quad was also described on #505 on 2026-11-30 (RTX 5070 Ti); I have not checked whether it has the same cause. Not tested: this PR's head or current AI use: Claude Code ported the commits, ran the title and compared the generated shaders (Claude Opus 5.5), and counted the pictures again and wrote this text (Claude Fable 5.2). Posted by the tool on my instruction. |
|
No open or merged PR makes the same change. #1975 / #1976 no longer carry float16 interpolant packing: the only f16 interp code in #1976 is a AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
The two commits before this one (PR 2513, ported) take every float16 record of a VS / mesh output table - flag 1 or 3 - as two halves a dword. The retail title (xcl-dev#505) has two kinds (PR 2513's thread, CharlyRien 2026-11-29, and its own listings): flag-3 records packed in dwords 0-1, with filler in dwords 2-3 of an .xyzw register (exp param 7: two v_pack_b32_f16, 0 and 0x3c00, en 0xF), and flag-1 records on .xyzw registers exported over four dwords, a half in the low bits of each (four v_and_b32 v, 0xffff, h, en 0xF). Taken as packed, the second kind lost dwords 2-3 and its components 1-3 got the wrong halves. A flag-3 record is packed; a flag-1 one only where its export writes exactly its packed dwords and not also one dword per component, else one half a dword: component c is the low half of dword c (ParamLayout, F16Param). Either way each component reaches its element as the float of its half, in the VS export and the mesh store of both translators, so a float16 element is an ordinary float however the PS reads it: interpolated by v_interp_p2_f16 (the PR's single float16, a flag-1 .x read so), or flat by v_interp_mov_f32, which now gives the half of a float16 attribute's float back in the low bits, as the title's v_cvt_f32_f16 takes it - both halves of the dword where the PS record names a second register (packed). The round trip is exact for every half but a NaN's payload. On the HLSL path the VS export assigned a dword to a float output as a number for every component type but 3 (the thread, 13:44Z: a raw half 1.0 arrived as 0, 0.7 as 2048); it is now bitcast for every element HLSL declares float (all but types 1 and 2). And a float16 PS input takes the interpolation its reads give it - flat where v_interp_mov reads it, interpolated where v_interp_p1 / p2 do - where it was flat unless the PS table marked it packed; integers stay flat. Both translators. Tests, each failing without its part: - dxil::core_tests::f16_params_reach_the_ps_as_the_floats_of_their_halves: the title's two kinds (flag 3 packed with filler, en 0xF; flag 1 over four dwords) and a flag-1 .x, from an HLSL and a direct VS to a PC PS; - dxil::core_tests::f16_params_reach_a_console_ps_however_it_reads_them: the same from a console VS to a console PS reading them by v_interp_p2_f16 per half, by v_interp_mov_f32 and v_cvt_f32_f16, and the .x interpolated by v_interp_p2_f16 - HLSL and direct, and across; - dxil::core_tests::f16_ps_inputs_take_the_mode_their_reads_give_them; - recomp::attribute_tests::a_float16_params_layout_follows_its_record_and_its_export; - recomp::tests::a_float16_ps_input_takes_the_mode_its_reads_give_it. Ported from Jockerino/xcl-fork b6ee86a1 (https://github.com/Jockerino/xcl-fork, GPL-3.0-or-later), written there on top of the fork's own port of xcl-dev#2513, with the fork author's agreement. Moved onto main b2b1f10 + xcl-dev#2513: conflicts in lower_gfx.rs (main's integer-to-float conversion of PS inputs, kept) and recomp/mod.rs. Co-authored-by: Jockerino <51916136+Jockerino@users.noreply.github.com> Assisted-by: Antigravity CLI (Gemini 4 Neon), conflict resolution Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The two commits before this one (PR 2513, ported) take every float16 record of a VS / mesh output table - flag 1 or 3 - as two halves a dword. The retail title (xcl-dev#505) has two kinds (PR 2513's thread, CharlyRien 2026-11-29, and its own listings): flag-3 records packed in dwords 0-1, with filler in dwords 2-3 of an .xyzw register (exp param 7: two v_pack_b32_f16, 0 and 0x3c00, en 0xF), and flag-1 records on .xyzw registers exported over four dwords, a half in the low bits of each (four v_and_b32 v, 0xffff, h, en 0xF). Taken as packed, the second kind lost dwords 2-3 and its components 1-3 got the wrong halves. A flag-3 record is packed; a flag-1 one only where its export writes exactly its packed dwords and not also one dword per component, else one half a dword: component c is the low half of dword c (ParamLayout, F16Param). Either way each component reaches its element as the float of its half, in the VS export and the mesh store of both translators, so a float16 element is an ordinary float however the PS reads it: interpolated by v_interp_p2_f16 (the PR's single float16, a flag-1 .x read so), or flat by v_interp_mov_f32, which now gives the half of a float16 attribute's float back in the low bits, as the title's v_cvt_f32_f16 takes it - both halves of the dword where the PS record names a second register (packed). The round trip is exact for every half but a NaN's payload. On the HLSL path the VS export assigned a dword to a float output as a number for every component type but 3 (the thread, 13:44Z: a raw half 1.0 arrived as 0, 0.7 as 2048); it is now bitcast for every element HLSL declares float (all but types 1 and 2). And a float16 PS input takes the interpolation its reads give it - flat where v_interp_mov reads it, interpolated where v_interp_p1 / p2 do - where it was flat unless the PS table marked it packed; integers stay flat. Both translators. Tests, each failing without its part: - dxil::core_tests::f16_params_reach_the_ps_as_the_floats_of_their_halves: the title's two kinds (flag 3 packed with filler, en 0xF; flag 1 over four dwords) and a flag-1 .x, from an HLSL and a direct VS to a PC PS; - dxil::core_tests::f16_params_reach_a_console_ps_however_it_reads_them: the same from a console VS to a console PS reading them by v_interp_p2_f16 per half, by v_interp_mov_f32 and v_cvt_f32_f16, and the .x interpolated by v_interp_p2_f16 - HLSL and direct, and across; - dxil::core_tests::f16_ps_inputs_take_the_mode_their_reads_give_them; - recomp::attribute_tests::a_float16_params_layout_follows_its_record_and_its_export; - recomp::tests::a_float16_ps_input_takes_the_mode_its_reads_give_it. Ported from Jockerino/xcl-fork b6ee86a1 (https://github.com/Jockerino/xcl-fork, GPL-3.0-or-later), written there on top of the fork's own port of xcl-dev#2513, with the fork author's agreement. Moved onto main b2b1f10 + xcl-dev#2513: conflicts in lower_gfx.rs (main's integer-to-float conversion of PS inputs, kept) and recomp/mod.rs. Co-authored-by: Jockerino <51916136+Jockerino@users.noreply.github.com> Assisted-by: Antigravity CLI (Gemini 4 Neon), conflict resolution Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A retail title (#505) packs its float16 interpolants: two components per dword and up to two signature registers per
exp param/v_interp attrN. XCL refused the FSSM tables of such programs (PS input table, VS / mesh output table), fell back to "the N-th register", and so every attribute after a pair read its neighbour's register, plain ones included; a packed dword went raw into one register, and the PS converted it as one float. This PR reads the packing from the tables and unpacks it on both sides, in both translators (HLSL and direct DXIL).Part of #505.
The console layout, as this PR reads it:
v_interp_p2_f16(SRC0 bit 8 = the high half);.xyregister, dwords 2-3 after.xyz/.xyzw;[6, reg, mask, attr, 0, reg2, packed reg, flags]: flag 8 = float16, flag 16 = byte 5 names the second register; a record that repeats its own register pairs with the next float16 register no other record names;[6, reg, param, reg, 0, 1 | 3](1 = float16, 3 = more than one dword): the table does not name the second register, so it is the next float16 register that starts no param of its own.Evidence, from the programs dumped from a run of the title (no game data in this PR): the
exp paramenable masks of all 383 packed params in 442 mesh shaders are exactly the predicted dwords; everyv_interp_p2_f16(dword, half) of 376 of the 378 packed PS attribute reads in 362 pixel shaders is a declared component (the other 2 read one half past a.xyregister). Programs without a table, and tables without float16 records, are translated as before, except that a mesh program with a table now takes its params' registers from it, as a VS already did.What is in it
Recompiler: a PS reads float16 attributes packed two per dword per half: the PS input table parses the float16 / pair flags and each (dword, half) maps to its element and component (f16_registers,ps_attribute_f16,ps_f16_slotincrates/xcl/src/gpu/recomp/mod.rs); the PS reads that component as a float with the attribute's own interpolation mode (recomp/emit.rs,dxil/lower_gfx.rs). Tests:attribute_tests::f16_packed_attributes(recomp/mod.rs),dxil::core_tests::f16_packed_attributes_interpolate_per_half(dxil/core_tests.rs).Recompiler: VS / mesh exports unpack float16 params packed two per dword: the VS / MS output table parses float16 params (OutParam,MsInterface::params,out_param_registers,out_param_elementsinrecomp/mod.rs); VS and mesh exports write each half as a float to its own component (recomp/emit.rs,dxil/lower_gfx.rs,dxil/lower_mem.rs,dxil/lower.rs,dxil/kernel.rs); the newMsInterfacefield inhle/d3d12x/real.rsandrecomp/heap_window_tests.rs. Tests:attribute_tests::f16_packed_params,recomp::tests::gpu_mesh_f16_packed_params(recomp/tests.rs), and the VS side off16_packed_attributes_interpolate_per_half.494 lines added, 47 removed, about 300 of the added lines tests. The two commits are one feature (the PS side alone still reads raw packed dwords from the VS / MS), split by side so each builds and passes on its own.
Tested
cargo build --release --workspaceat each commit: OK.cargo test --release -p xcl --lib -- --test-threads=4 gpu::: 698 passed, 4 failed, 22 ignored (the 4 arefuzz_validate_and_gpu_0..3, below); its two new tests pass.cargo test --release -p xcl --lib f16_packed: 4 passed, 0 failed;gpu_mesh_f16_packed_paramsran on the GPU, not skipped).cargo test --release --workspace --no-fail-fast -- --test-threads=4: 1423 passed, 4 failed, 46 ignored. The 4 failures aregpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3(CreateComputePipelineStateE_OUTOFMEMORY); they fail the same way onmain6d12f58on this machine, and alone.no wave64on this adapter:dispatch_chain_native_wave64_builds_whole,lower::tests::{a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu},lower_dxil::tests::{a_per_lane_2d_or_3d_group_runs_on_the_gpu, const_and_null_mask_operands_agree_with_hlsl_on_the_gpu, f64_programs_on_the_gpu, integer_programs_on_the_gpu, mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu},gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware;f16_programs_on_the_gpu/f32_programs_on_the_gpu: their wave64 cases (no wave64) and three wave32 per-lane cases refused (gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426 semantics);heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows;pso_measurement_compiles_an_exact_synthetic_record: cannot disable the driver cache (needs Developer Mode).Relation to #1975 / #1976
.xyregister); a PS record that repeats its register pairs with the next unnamed float16 register (recomp/dxil: straddling 16-bit LDS, XCL_SHADER_LOOP_LIMIT, and safe MS barriers #1976 read the same register's.zw); mesh programs pair by their output table (recomp/dxil: CFG v_interp modes, bounded movrel/M0[7:0], and MS barrier guard #1975 guessed without it); programs without a table are left as today (recomp/dxil: CFG v_interp modes, bounded movrel/M0[7:0], and MS barrier guard #1975 paired 16-bit elements greedily in any title).7296038without conflicts. recomp/dxil: straddling 16-bit LDS, XCL_SHADER_LOOP_LIMIT, and safe MS barriers #1976's head2e7debdconflicts indxil/kernel.rs/dxil/lower.rs(neighbouring lines of the mesh setup), and its testdirect_dxil_mixed_fp16_interp_preserves_half_across_ssa_phibuilds aPsAttrwithout the fields added here; Direct DXIL: convert integer PS inputs to float in v_interp_p2_* #2112 conflicts indxil/lower_gfx.rs. Whichever lands second needs a small rebase.Regression run
this PR:
Not tested
HANDOFF.md's description of the FSSM records (PS0, 0, register, 1 flat / 2 interpolated; VSkind, register, param) does not cover the float16 flags read here; not edited.AI use
main, split it into the two commits, ran the tests and wrote this description.🤖 Generated with Claude Code