shader: propagate descriptor pointers through s_add_u32/s_addc_u32 in gfx2hlsl (Part of #1723) #2062
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2069"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T23:58:28Z.
Part of #1723
What this unblocks: shaders that build a descriptor address with
s_add_u32/s_addc_u32(51-114 pairs in Run 20 #3) no longer lose the pointer, so the followings_loadcan fetch the right descriptor.First clean slice in
tools/startup/gfx2hlsl.py:s_add_u32 sD, sP, <literal>on a table/root pointer keeps('ptr', source, offset), in the same or another register pair.s_addc_u32 sD+1, sP+1, 0keeps the high word (ptrhi) when it follows a matching low-word add. The carry is taken as zero (offset below 1 MiB).s_load*through an advanced pointer adds that offset to the descriptor (or root buffer) byte offset.Test:
tests/startup_gfx2hlsl_desc_ptr_prop_check.py, registered asstartup_gfx2hlsl_desc_ptr_propinCMakeLists.txt.Verification:
python3 -B tests/startup_gfx2hlsl_desc_ptr_prop_check.py: ok (7 checks) with the change.origin/maingfx2hlsl.py: fails (s_addc_u32refused; register addend accepted silently).for t in tests/startup_gfx2hlsl_*.py; do python3 -B $t; done: all exit 0.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T00:05:54Z.
Review: COMMENTED
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
11ee88438cℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T23:58:43Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
11ee884ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T00:05:54Z.
Code review location:
tools/startup/gfx2hlsl.py; line 790When an add/addc pair is conditional or inside a loop,
Stage.translate()executes this symbolic update once in linear disassembly order and emits no runtime pointer update. A branch that skipss_add_u32 s8, s8, 16/s_addc_u32 s9, s9, 0and lands on a root-buffer load therefore still generatesr0.Load(16)instead ofr0.Load(0); loop iterations likewise reuse the same folded address. These sequences were previously rejected ats_addc_u32and are now accepted while reading the wrong buffer or descriptor locations. Preserve symbolic state across control-flow edges or refuse path-dependent pointer arithmetic.Useful? React with 👍 / 👎.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T00:05:54Z.
Code review location:
tools/startup/gfx2hlsl.py; line 794For an initialized root pointer in
s[8:9], the unchanged low word already satisfies this same-source check, even if no low-word add occurred. Consequently,s_cmp_eq_u32 0, 0followed bys_addc_u32 s9, s9, 0is accepted and a subsequent load emitsr0.Load(0), although SCC=1 makes the hardware advance the pointer by 0x100000000 bytes. An intervening SCC writer between a low/high pair has the same problem. Track a pending matching low-word add and invalidate it on intervening SCC writes, or refuse these cases instead of treating an existing same-root low word as proof of a matching pointer advance.Useful? React with 👍 / 👎.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T00:05:54Z.
Code review location:
tools/startup/gfx2hlsl.py; line 717setup_entry()allocates one SGPR for a descriptor-table parameter and records only('ptr', ('table', i)); unlike root buffers, it never creates a tableptrhi. Copying that table address into a pair with a numeric high word and executing the advertised add/addc sequence therefore still raisesUnsupported('s_addc_u32'), because this path requires an already-symbolicptrhi. The newTABLEfixture manually seeds a high-word state that production initialization cannot produce, hiding this failure. Handle the actual table-entry representation and exercise it throughsetup_entry()in the regression test.Useful? React with 👍 / 👎.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T01:02:52Z.
Review: COMMENTED
No description provided.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T01:02:54Z.
Review: COMMENTED
No description provided.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T01:02:56Z.
Review: COMMENTED
No description provided.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T01:02:52Z.
Code review location:
tools/startup/gfx2hlsl.py; line 790Fixed in 15880c68: pointer add/addc folding is now refused in shaders with branches or loops.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T01:02:54Z.
Code review location:
tools/startup/gfx2hlsl.py; line 794Fixed in 15880c68: s_addc_u32 now needs a pending matching low-word s_add_u32; any other instruction in between (SCC writer) drops it and the pair is refused.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T01:02:56Z.
Code review location:
tools/startup/gfx2hlsl.py; line 717Fixed in 15880c68: a table pointer from setup_entry() (single SGPR, numeric high word) is accepted; the test now uses that real entry state. Tests: tests/startup_gfx2hlsl_*check.py all pass locally. AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T11:01:38Z.
Review: COMMENTED
No description provided.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T11:01:41Z.
Review: COMMENTED
No description provided.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T11:01:43Z.
Review: COMMENTED
No description provided.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T11:01:38Z.
Code review location:
tools/startup/gfx2hlsl.py; line 790Re-checked on current head
72eee114: branched shaders refuse pointer add/addc folding,s_addc_u32needs a matching pending low-word add, and the table pointer fromsetup_entry()is accepted, with tests in tests/startup_gfx2hlsl_desc_ptr_prop_check.py. Resolving. AI-assisted; commands listed were executed locally.Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T11:01:41Z.
Code review location:
tools/startup/gfx2hlsl.py; line 794Re-checked on current head
72eee114: branched shaders refuse pointer add/addc folding,s_addc_u32needs a matching pending low-word add, and the table pointer fromsetup_entry()is accepted, with tests in tests/startup_gfx2hlsl_desc_ptr_prop_check.py. Resolving. AI-assisted; commands listed were executed locally.Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T11:01:43Z.
Code review location:
tools/startup/gfx2hlsl.py; line 717Re-checked on current head
72eee114: branched shaders refuse pointer add/addc folding,s_addc_u32needs a matching pending low-word add, and the table pointer fromsetup_entry()is accepted, with tests in tests/startup_gfx2hlsl_desc_ptr_prop_check.py. Resolving. AI-assisted; commands listed were executed locally.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T15:01:46Z.
Review: CHANGES_REQUESTED
On
49f5fabe, the original ten controls pass. Removing the high-words_addc_u32from the out-of-place fixture still allowss_load_dwordx4 s[4:7], s[20:21], 0x10and returns the same table+0x50 symbol, even thoughs21was never defined. The load looks up onlys20. Please require a completed matching pair for this fold. Cover a missing, overwritten, or mismatched high word, plus a valid complete pair across a low-DWORD carry. If SCC or either raw half is observed independently, model that result or refuse that form.Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T15:22:38Z.
Fixed in
41599ffdand91f4b214. Thanks for the careful review. You were right: the load looked up only the low register of the pair.What changed:
s_add_u32on a descriptor pointer now marks the high word as pending.s_addc_u32(immediately after, high half of the same source pair, literal 0) completes it.s_loadthrough an advanced pointer now requires the high word to be that completed pair. Otherwise it is refused.New checks in
tests/startup_gfx2hlsl_desc_ptr_prop_check.py:missing high-word add is refusedmissing high-word add in place is refusedoverwritten high word is refusedhigh word from another pointer is refusedhigh word from a different register pair is refusedcomplete pair with a large low-word add is folded(valid pair, low-dword carry range)The
s_addc_u32is only accepted as the direct successor of itss_add_u32, so SCC is never observed by anything else. A pair whose halves are read separately is refused.Commands run (Linux):
python3 -B tests/startup_gfx2hlsl_desc_ptr_prop_check.py: before the change, 3 new checks fail; after, all pass.python3 -Bonstartup_gfx2hlsl_join_symbols_check.py,smem_offset_check.py,smem_address_check.py,root_check.py,refusals_check.py,add_sub_co_check.py,scalar_m0_check.py: all pass.Follow-up fixes (second review):
s_addc_u32is now judged by what it holds (the high word of the same pointer), not by sitting next to the low word. A copied high word or a low word held inm0is accepted.setup_entry: table advance, table in place, root pair, root without high add, copied high, low inm0.python3 -B tests/startup_gfx2hlsl_desc_ptr_prop_check.py: 7 new checks fail before the fix, all pass after. The seven sibling checks listed above still pass.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T15:52:09Z.
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
91f4b2145997b6d84d8c5971edd583ca9bab766b:--preset dev):cmake --build --preset dev --target cpu_exe_io cpu_frame_guest cpu_frame_host cpu_shim_draw cpu_shim_startup cpu_shim_startup_guest cpu_shim_startup_lifted cpu_tls_sink d3d12_xs_device_obj d3d12_xs_sh ...(cut, ~41 names in total)):63.09s(configure0.00s)ctest --preset dev -R '^(adapter_selection_unmatched|bc7_draw_warp|bc7_mode6_multiblock_warp|bvh_atomics_warp|bvh_buffer_ops_warp|bvh_differential_pipeline_warp|bvh_differential_warp|bvh_hits_warp|bvh ...(cut, ~503 names in total)): 471/495 passed (579.04s:startup_gfx2hlsl_f32_sdwa_warp19.17s,pixel_aot_warp19.07s,compute_store_aot_descriptor_load_format_warp38.45s,startup_gfx2hlsl_f32_nan_warp11.88s,startup_mrt_dxc_warp13.58s,startup_mrt_fxc_warp13.63s,pixel_aot_compare_warp12.54s,startup_image_gather_c_lz_warp4.44s,startup_gfx2hlsl_bit_alu_warp6.52s,startup_run_ps111.99s, ...); skipped (capability, not a pass):bvh_wave64_warp,wave_shuffle_warp,shader_wave32_warp,shader_wave64_warp,startup_logical_view_warp,startup_run_sh,spirv_address_window_warp,spirv_address_window_atomic_warp,spirv_address_window_signed_warp,startup_draw_depth_target_debug_warp,spirv_address_window_float_warp,spirv_address_window_vec4_warp,spirv_address_window_qword_warp,spirv_sampler_views_warp,spirv_ballot_extract_warp,spirv_compaction_warp,spirv_compare_sampler_warp,spirv_minlod_warp,spirv_minlod_exact_warp,spirv_minlod_levels_warp,spirv_minlod_fractional_warp,pixel_batch_debug_warp,mesh_two_exits_warp,bc7_mode6_multiblock_warp/O2(--preset release):cmake --build --preset release --target cpu_exe_io cpu_frame_guest cpu_frame_host cpu_shim_draw cpu_shim_startup cpu_shim_startup_guest cpu_shim_startup_lifted cpu_tls_sink d3d12_xs_device_obj d3d12_x ...(cut, ~41 names in total)):2.24s(configure0.00s)ctest --preset release -R '^(adapter_selection_unmatched|bc7_draw_warp|bc7_mode6_multiblock_warp|bvh_atomics_warp|bvh_buffer_ops_warp|bvh_differential_pipeline_warp|bvh_differential_warp|bvh_hits_warp ...(cut, ~503 names in total)): 471/495 passed (443.94s:pixel_aot_warp18.81s,cpu_shim_shadow_warp5.81s,cpu_shim_upload_texture_warp4.34s,compute_store_aot_descriptor_load_format_warp38.83s,pixel_aot_buffer_color_warp13.86s,pixel_aot_compare_warp23.88s,pixel_aot_three_way_warp13.81s,pixel_aot_bits_warp15.90s,pixel_aot_comparisons_warp9.16s,startup_vertex_fetch_formats_warp44.22s, ...); skipped (capability, not a pass):bvh_wave64_warp,wave_shuffle_warp,shader_wave32_warp,shader_wave64_warp,startup_logical_view_warp,startup_run_sh,spirv_address_window_warp,spirv_address_window_atomic_warp,startup_draw_depth_target_debug_warp,spirv_address_window_signed_warp,spirv_address_window_float_warp,spirv_address_window_vec4_warp,spirv_address_window_qword_warp,spirv_sampler_views_warp,spirv_ballot_extract_warp,spirv_compaction_warp,spirv_compare_sampler_warp,spirv_minlod_warp,spirv_minlod_exact_warp,spirv_minlod_levels_warp,spirv_minlod_fractional_warp,pixel_batch_debug_warp,mesh_two_exits_warp,bc7_mode6_multiblock_warpsccache: 89/888 hits; wall1102.9sImported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T16:54:28Z.
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
99e1c69f7f72a63a5ef4a8f1bd83360f7b3b5ad5:--preset dev):cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2):2.76s(configure1.65s)ctest --preset dev -R '^(startup_gfx2hlsl_.*|pixel_aot_.*_warp|compute_store_aot_.*_warp|form_coverage)$' --parallel 6 --no-tests=error --output-on-failure): 296/296 passed (127.64s:pixel_aot_bits_warp13.46s,pixel_aot_buffer_color_warp7.37s,form_coverage26.25s,pixel_aot_three_way_warp7.53s,startup_gfx2hlsl_f32_nan_warp30.21s,pixel_aot_compare_warp31.60s,pixel_aot_comparisons_warp9.74s,startup_gfx2hlsl_f32_sdwa_warp36.11s,pixel_aot_e64_warp7.79s,compute_store_aot_heap_view_load_warp9.53s,startup_gfx2hlsl_cvt_alu_warp6.67s,compute_store_aot_descriptor_load_format_warp43.23s,compute_store_aot_guard_read_warp7.84s,pixel_aot_blend_scalar_warp9.86s,compute_store_aot_lds_qword_warp6.84s,compute_store_aot_lds_arithmetic_warp6.39s,startup_gfx2hlsl_f32_sdwa_hardware19.33s,pixel_aot_cmpx_regions_warp7.26s,pixel_aot_cvt_flr_rpi_warp5.98s,startup_gfx2hlsl_f32_nan_hardware13.47s,compute_store_aot_mimg_mip_warp4.89s,compute_store_aot_mimg_load_warp4.96s,compute_store_aot_heap_view_store_warp8.84s,pixel_aot_cvt_f64_f32_warp7.49s,pixel_aot_f16_arith_warp6.46s,pixel_aot_predicate_rounding_warp5.65s,compute_store_aot_lds_private_warp4.90s,compute_store_aot_mimg_packed_warp4.07s,pixel_aot_compare_gather_warp3.39s,pixel_aot_gather_warp3.50s,compute_store_aot_lds_f32_warp4.35s,pixel_aot_cmpx_e64_warp5.21s,pixel_aot_core_vector_warp6.01s,compute_store_aot_lds_replacement_warp3.08s,startup_gfx2hlsl_f32_nan6.98s,pixel_aot_exec_regions_warp5.87s,pixel_aot_compare_sample_warp3.17s,startup_gfx2hlsl_bit_alu_warp6.73s,compute_store_aot_lds_packed_warp3.26s,startup_gfx2hlsl_f32_lg_warp4.94s,pixel_aot_sample_coarse_gradient_warp2.76s,pixel_aot_sample_gradient_warp2.63s,compute_store_aot_mubuf_reduction_x2_warp2.72s,compute_store_aot_mimg_atomic_counter_warp2.33s,compute_store_aot_alu_lane_gaps_warp1.81s,compute_store_aot_lane_mask_warp2.38s,compute_store_aot_mtbuf_store_warp2.73s,compute_store_aot_mubuf_reduction_warp2.79s,startup_gfx2hlsl_sop2_complement5.82s,compute_store_aot_mimg_store_packed_warp2.70s,compute_store_aot_mimg_store_warp2.60s,startup_gfx2hlsl_cvt_alu_hardware5.83s,compute_store_aot_gfx1013_image_atomics_warp1.96s,compute_store_aot_mubuf_d16_warp2.31s,compute_store_aot_mubuf_store_format_warp2.41s,pixel_aot_dpp_f16_warp4.34s,compute_store_aot_vcmp_select_warp2.67s,compute_store_aot_mimg_atomic_float_warp2.05s,compute_store_aot_mtbuf_load_warp2.61s,pixel_aot_sample_offset_warp2.14s,compute_store_aot_descriptor_store_format_warp1.99s,compute_store_aot_mimg_resinfo_warp2.21s,compute_store_aot_mubuf_store_subword_warp2.10s,compute_store_aot_f32_warp2.11s,pixel_aot_cvt_int_f64_warp4.41s,compute_store_aot_lds_wide_replacement_warp1.94s,startup_gfx2hlsl_cmp_class_f165.57s,compute_store_aot_sub_co_warp1.36s,pixel_aot_f16_round_warp4.34s,compute_store_aot_ff1_scalar_warp1.40s,compute_store_aot_scratch_base_warp1.61s,compute_store_aot_mbcnt_warp1.46s,startup_gfx2hlsl_vopc_sdwa5.78s,compute_store_aot_add_co_warp1.33s,compute_store_aot_cvt_u32_f32_warp1.42s,compute_store_aot_gfx1013_gather4_l_warp1.74s,compute_store_aot_bcnt_exec_warp1.34s,compute_store_aot_mubuf_subword_warp1.91s,compute_store_aot_mimg_atomic_minmax_warp1.78s,startup_gfx2hlsl_bit_alu_hardware6.57s,compute_store_aot_dot_u_warp1.35s,compute_store_aot_writelane_warp1.39s,compute_store_aot_vadd_nc_i32_warp1.49s,compute_store_aot_salu_i32_warp1.39s,compute_store_aot_ff1_exec_warp1.20s,pixel_aot_get_lod_warp1.78s,compute_store_aot_lds_strided_warp1.76s,compute_store_aot_mimg_atomic_integer_warp1.76s,compute_store_aot_alu_xor3_warp1.97s,compute_store_aot_alu_bcnt_warp2.05s,compute_store_aot_alu_minmax3_warp1.89s,compute_store_aot_salu_absdiff_warp1.45s,compute_store_aot_bfe_warp1.42s,startup_gfx2hlsl_f32_lg_hardware4.87s,compute_store_aot_mubuf_format_warp1.70s,compute_store_aot_mubuf_load_format_d16_warp1.68s,startup_gfx2hlsl_s_lshl_add4.68s,compute_store_aot_readlane_warp1.22s,compute_store_aot_alu_cvt_pk_u8_warp1.79s,startup_gfx2hlsl_cmp_class6.02s,pixel_aot_cmp_f64_warp4.34s,pixel_aot_dpp_extra_warp3.09s,compute_store_aot_mac_f32_warp1.37s,compute_store_aot_mubuf_csub_warp1.05s,compute_store_aot_alu_mad_i24_warp1.50s,compute_store_aot_mubuf_exchange_warp1.45s,compute_store_aot_alu_med3_warp1.46s,compute_store_aot_mubuf_counter_warp1.33s,compute_store_aot_mubuf_vector_warp1.57s,compute_store_aot_mubuf_counter-x2_warp1.31s,compute_store_aot_mubuf_exchange-x2_warp1.46s,compute_store_aot_ds_route_warp1.34s,pixel_aot_shift64_warp4.11s,pixel_aot_f16_fmac_ldexp_warp3.75s,compute_store_aot_dpp_warp1.16s,pixel_aot_region_body_warp2.46s,pixel_aot_sample_lod_warp1.76s,compute_store_aot_mimg_msaa_warp1.15s,compute_store_aot_mimg_atomic_exchange_warp1.25s,pixel_aot_dmask_warp1.56s,compute_store_aot_mubuf_store_format_xyz_warp1.15s,compute_store_aot_gfx1013_image_store_warp1.00s,pixel_aot_rndne_warp1.61s,pixel_aot_cmp64_warp2.98s,pixel_aot_attribute_warp1.03s,pixel_aot_vop3_ternary_int_warp1.68s,pixel_aot_int16_ternary_warp2.74s,pixel_aot_cvt_f64_int_warp2.43s,startup_gfx2hlsl_shift64_warp3.56s,pixel_aot_u32_from_f32_warp1.47s,startup_gfx2hlsl_sdwa_cvt_warp2.09s,pixel_aot_dpp_cvt_warp2.56s,pixel_aot_scc_skip_warp1.96s,pixel_aot_f16_cvt_int16_warp2.56s,startup_gfx2hlsl_dpp_pair_warp2.09s,pixel_aot_cvt_f32_f64_warp2.01s,compute_store_aot_gfx1013_image_store_d16_warp1.03s,pixel_aot_cvt_float_int_e64_warp2.24s,compute_store_aot_desc_numeric_warp1.40s,startup_gfx2hlsl_f32_sdwa3.08s,pixel_aot_swaprel_warp1.20s,compute_store_aot_gfx1013_image_uav_load_warp0.93s,pixel_aot_plain_bitscan_warp1.55s,pixel_aot_mac_legacy_warp1.32s,startup_gfx2hlsl_dpp_pair_hardware2.01s,pixel_aot_align_warp1.51s,pixel_aot_plain_movrel_warp1.77s,pixel_aot_pk_fmac_warp2.10s,pixel_aot_f16_to_int16_warp1.84s,startup_gfx2hlsl_watch2.68s,startup_gfx2hlsl_shift64_hardware3.35s,pixel_aot_bitset64_warp1.77s,pixel_aot_int16_vop3_warp1.72s,startup_gfx2hlsl_dpp_quad_swap_warp1.94s,pixel_aot_flat_scratch_warp1.46s,pixel_aot_sdwa_integer_warp1.32s,startup_gfx2hlsl_mad_dispatch_hardware1.64s,pixel_aot_e64_spellings_warp1.28s,startup_gfx2hlsl_dpp_quad_swap_hardware2.10s,pixel_aot_first_bit_warp1.56s,pixel_aot_dpp_movrel_warp1.43s,startup_gfx2hlsl_compute_hardware2.15s,pixel_aot_mad64_warp1.27s,pixel_aot_sdwa_movrel_warp1.30s,pixel_aot_div_fmas_warp1.39s,pixel_aot_region_scalar_load_warp1.60s,pixel_aot_uncompressed_integer_export_warp1.21s,startup_gfx2hlsl_mad_dispatch_warp1.64s,pixel_aot_carry_in_warp1.13s,pixel_aot_uncompressed_export_warp1.16s,pixel_aot_carry_out_warp1.10s,pixel_aot_sdwa_unary_warp1.13s,startup_gfx2hlsl_cmp16_warp2.03s,pixel_aot_swap_warp1.20s,pixel_aot_brev_warp1.17s,startup_gfx2hlsl_sdwa_cvt_hardware1.89s,startup_gfx2hlsl_mad_preserve_hardware1.04s,pixel_aot_smovrel_warp1.28s,pixel_aot_region_scalar_alu_warp1.21s,startup_gfx2hlsl_cmp16_hardware1.96s,pixel_aot_region_waits_warp1.20s,pixel_aot_sdwa_cmp_warp1.13s,pixel_aot_frexp_exp_warp1.06s,pixel_aot_sad_warp1.10s,pixel_aot_e64_integer_warp1.01s,pixel_aot_s_call_warp1.14s,startup_gfx2hlsl_f32_lg1.55s,pixel_aot_vop1_nops_warp0.82s,pixel_aot_bfm_warp0.99s,pixel_aot_title_loads_warp1.23s,pixel_aot_smem_pointers_warp0.99s,pixel_aot_compressed_export_warp0.97s,pixel_aot_sopk_hwreg_warp0.82s,pixel_aot_integer_nc_warp1.00s,pixel_aot_pack_b32_warp0.94s,startup_gfx2hlsl_compute_warp2.12s,pixel_aot_ds_swizzle_warp0.98s,pixel_aot_pack_int16_warp0.98s,pixel_aot_e64_approx_warp0.88s,startup_gfx2hlsl_scalar_m0_warp1.19s,pixel_aot_sopp_round_mode_warp0.91s,startup_gfx2hlsl_compute_dropped-store_hardware0.34s,startup_gfx2hlsl_compute_swapped-axes_hardware0.34s,startup_gfx2hlsl_compute_b-offset_hardware0.33s,startup_gfx2hlsl_vopc_sdwa_warp1.38s,startup_gfx2hlsl_mad_preserve_warp1.07s,startup_gfx2hlsl_vopc_sdwa_hardware1.33s,startup_gfx2hlsl_compute_c-unpredicated_hardware0.34s,startup_gfx2hlsl_compute_mbcnt_warp0.75s,startup_gfx2hlsl_sgpr_spill_warp1.01s,startup_gfx2hlsl_interp_f16_warp0.95s,startup_gfx2hlsl_dpp_quad_broadcast_warp1.01s,pixel_aot_attribute_sampled_warp0.76s,startup_gfx2hlsl_scalar_m0_hardware1.15s,startup_gfx2hlsl_capture1.22s,startup_gfx2hlsl_compute_dropped-store_warp0.29s,startup_gfx2hlsl_compute_c-unpredicated_warp0.29s,startup_gfx2hlsl_compute_b-offset_warp0.31s,startup_gfx2hlsl_sgpr_spill_hardware1.03s,startup_gfx2hlsl_compute_swapped-axes_warp0.33s,startup_gfx2hlsl_compute_controls0.57s,startup_gfx2hlsl_root0.83s,startup_gfx2hlsl_dpp_quad_broadcast_hardware1.22s,startup_gfx2hlsl_cvt_pk_u8_warp1.03s,startup_gfx2hlsl_join_symbols_warp0.41s,startup_gfx2hlsl_compute_g-overlap_warp0.30s,startup_gfx2hlsl_sopk_accum1.15s,startup_gfx2hlsl_interp_f16_hardware0.98s,startup_gfx2hlsl_join_symbols_controls0.25s,startup_gfx2hlsl_bit_alu_controls0.85s,startup_gfx2hlsl_cvt_pk_u8_hardware0.81s,startup_gfx2hlsl_refusals0.57s,startup_gfx2hlsl_sdwa0.18s,startup_gfx2hlsl_sample_c_lz_mip0.19s,startup_gfx2hlsl_buffer_store0.56s,startup_gfx2hlsl_compute_mbcnt_hardware0.70s,startup_gfx2hlsl_compute_g-swapped-offsets_warp0.29s,startup_gfx2hlsl_cvt_alu_controls0.18s,startup_gfx2hlsl_compute_j-scalar-dropped_warp0.29s,startup_gfx2hlsl_swap0.31s,startup_gfx2hlsl_join_symbols_hardware0.38s,startup_gfx2hlsl_compute_h-inner-unpredicated_warp0.29s,startup_gfx2hlsl_draw_skip0.49s,startup_gfx2hlsl_compute_k-block-entered_hardware0.29s,startup_gfx2hlsl_compute_g-swapped-offsets_hardware0.29s,startup_gfx2hlsl_compute_f-peer_hardware0.31s,startup_gfx2hlsl_interp_f16_controls0.23s,startup_gfx2hlsl_compute_k-block-entered_warp0.30s,startup_gfx2hlsl_compute_h-inner-unpredicated_hardware0.29s,startup_gfx2hlsl_compute_j-scalar-dropped_hardware0.30s,startup_gfx2hlsl_compute_g-overlap_hardware0.29s,startup_gfx2hlsl_compute_f-broadcast_hardware0.29s,startup_gfx2hlsl_sdwa_cvt0.30s,startup_gfx2hlsl_join_symbols_folded_warp0.22s,startup_gfx2hlsl_compute_f-broadcast_warp0.30s,startup_gfx2hlsl_dpp_quad_swap_controls0.16s,startup_gfx2hlsl_sopk_signext0.16s,startup_gfx2hlsl_cmp16_controls0.27s,startup_gfx2hlsl_compute_f-peer_warp0.31s,startup_gfx2hlsl_shift64_controls0.15s,startup_gfx2hlsl_operand_count0.21s,startup_gfx2hlsl_dpp_pair0.13s,startup_gfx2hlsl_scalar_m0_controls0.11s,startup_gfx2hlsl_export_mask_drop_control0.15s,startup_gfx2hlsl_export_mask0.14s,startup_gfx2hlsl_join_symbols_folded_hardware0.22s,startup_gfx2hlsl_sgpr_spill_controls0.14s,startup_gfx2hlsl_add_sub_co_controls0.12s,startup_gfx2hlsl_calculated_target0.11s,startup_gfx2hlsl_readfirstlane_uniform0.14s,startup_gfx2hlsl_s_sext_cmov0.12s,startup_gfx2hlsl_cvt_pk_u8_controls0.12s,startup_gfx2hlsl_scalar_shift64_bfe_controls0.22s,startup_gfx2hlsl_opsel0.10s,startup_gfx2hlsl_tbuffer_16f0.11s,startup_gfx2hlsl_vcvt_omod0.11s,startup_gfx2hlsl_dpp_quad_broadcast0.14s,startup_gfx2hlsl_mask_overwrite_controls0.12s,startup_gfx2hlsl_int_med3_controls0.12s,startup_gfx2hlsl_cselect_mask_controls0.11s,startup_gfx2hlsl_s_bitcmp0.11s,startup_gfx2hlsl_cndmask_neg0.11s,startup_gfx2hlsl_desc_ptr_prop0.11s,startup_gfx2hlsl_smem_offset0.11s,startup_gfx2hlsl_b64_shift0.10s,startup_gfx2hlsl_readfirstlane_recompute0.12s,startup_gfx2hlsl_op_refusals0.10s,startup_gfx2hlsl_neg_operand0.10s,startup_gfx2hlsl_handler_arity0.11s,startup_gfx2hlsl_loop_constants0.10s,startup_gfx2hlsl_compare_dst_controls0.10s,startup_gfx2hlsl_scalar_brev_fold0.11s,startup_gfx2hlsl_saveexec_same_reg_controls0.10s,startup_gfx2hlsl_mad_controls0.13s,startup_gfx2hlsl_image_arity0.10s,startup_gfx2hlsl_image_get_lod_controls0.11s)/O2(--preset release):cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2):127.65s(configure1.66s)ctest --preset release -R '^(startup_gfx2hlsl_.*|pixel_aot_.*_warp|compute_store_aot_.*_warp|form_coverage)$' --parallel 6 --no-tests=error --output-on-failure): 296/296 passed (131.40s:pixel_aot_three_way_warp17.18s,pixel_aot_buffer_color_warp17.54s,pixel_aot_bits_warp22.31s,form_coverage29.01s,startup_gfx2hlsl_f32_nan_warp14.63s,startup_gfx2hlsl_f32_sdwa_warp35.42s,pixel_aot_compare_warp14.62s,startup_gfx2hlsl_f32_sdwa_hardware19.69s,pixel_aot_e64_warp7.53s,pixel_aot_comparisons_warp11.29s,compute_store_aot_guard_read_warp8.07s,compute_store_aot_lds_qword_warp7.29s,compute_store_aot_lds_arithmetic_warp6.80s,pixel_aot_blend_scalar_warp10.14s,compute_store_aot_descriptor_load_format_warp47.57s,startup_gfx2hlsl_f32_nan_hardware13.67s,compute_store_aot_lds_private_warp4.81s,compute_store_aot_mimg_mip_warp4.77s,pixel_aot_cmpx_e64_warp5.42s,compute_store_aot_heap_view_load_warp7.57s,startup_gfx2hlsl_f32_nan6.98s,pixel_aot_f16_arith_warp6.23s,compute_store_aot_lds_f32_warp4.35s,compute_store_aot_mimg_load_warp4.83s,compute_store_aot_mimg_packed_warp4.07s,pixel_aot_cvt_f64_f32_warp7.55s,compute_store_aot_heap_view_store_warp8.72s,pixel_aot_core_vector_warp6.25s,compute_store_aot_mimg_store_packed_warp2.64s,pixel_aot_compare_gather_warp3.36s,pixel_aot_cvt_flr_rpi_warp5.74s,startup_gfx2hlsl_vopc_sdwa6.45s,compute_store_aot_mtbuf_load_warp2.63s,compute_store_aot_mubuf_reduction_x2_warp2.75s,compute_store_aot_lds_replacement_warp3.06s,compute_store_aot_mimg_atomic_counter_warp2.54s,compute_store_aot_mubuf_reduction_warp2.75s,compute_store_aot_mtbuf_store_warp2.69s,startup_gfx2hlsl_cvt_alu_warp5.99s,compute_store_aot_mubuf_subword_warp2.01s,startup_gfx2hlsl_cvt_alu_hardware5.96s,compute_store_aot_lds_packed_warp3.11s,compute_store_aot_mimg_atomic_float_warp1.98s,compute_store_aot_mimg_store_warp2.60s,pixel_aot_cmpx_regions_warp7.25s,pixel_aot_compare_sample_warp3.12s,startup_gfx2hlsl_f32_lg_hardware4.57s,compute_store_aot_salu_i32_warp1.48s,pixel_aot_predicate_rounding_warp5.30s,compute_store_aot_mimg_atomic_minmax_warp1.76s,compute_store_aot_mubuf_store_format_warp2.35s,compute_store_aot_descriptor_store_format_warp1.95s,compute_store_aot_mubuf_d16_warp2.28s,compute_store_aot_alu_minmax3_warp1.88s,pixel_aot_sample_coarse_gradient_warp2.65s,compute_store_aot_mimg_resinfo_warp2.23s,compute_store_aot_mbcnt_warp1.55s,startup_gfx2hlsl_cmp_class_f165.73s,compute_store_aot_bcnt_exec_warp1.22s,compute_store_aot_cvt_u32_f32_warp1.36s,compute_store_aot_mimg_atomic_integer_warp1.72s,startup_gfx2hlsl_bit_alu_hardware6.40s,pixel_aot_sample_gradient_warp2.61s,compute_store_aot_lane_mask_warp2.35s,compute_store_aot_mubuf_store_subword_warp2.09s,compute_store_aot_f32_warp2.21s,pixel_aot_cvt_int_f64_warp4.87s,compute_store_aot_vadd_nc_i32_warp1.44s,compute_store_aot_lds_wide_replacement_warp2.04s,compute_store_aot_mubuf_load_format_d16_warp1.76s,startup_gfx2hlsl_bit_alu_warp6.65s,pixel_aot_shift64_warp3.95s,compute_store_aot_bfe_warp1.36s,startup_gfx2hlsl_sop2_complement5.78s,startup_gfx2hlsl_f32_lg_warp4.61s,compute_store_aot_alu_xor3_warp1.86s,compute_store_aot_ff1_scalar_warp1.29s,compute_store_aot_lds_strided_warp1.75s,compute_store_aot_scratch_base_warp1.59s,compute_store_aot_alu_cvt_pk_u8_warp1.78s,startup_gfx2hlsl_cmp_class6.37s,compute_store_aot_readlane_warp1.38s,compute_store_aot_dot_u_warp1.45s,compute_store_aot_alu_bcnt_warp2.13s,compute_store_aot_mubuf_format_warp1.98s,pixel_aot_sample_offset_warp2.32s,pixel_aot_exec_regions_warp6.27s,pixel_aot_f16_round_warp4.83s,compute_store_aot_writelane_warp1.80s,pixel_aot_gather_warp4.10s,compute_store_aot_mubuf_exchange_warp1.62s,startup_gfx2hlsl_s_lshl_add5.82s,compute_store_aot_mubuf_exchange-x2_warp1.59s,compute_store_aot_sub_co_warp1.45s,pixel_aot_cmp_f64_warp4.73s,compute_store_aot_ff1_exec_warp1.31s,compute_store_aot_add_co_warp1.40s,compute_store_aot_mubuf_csub_warp1.29s,compute_store_aot_mubuf_vector_warp1.65s,compute_store_aot_mimg_atomic_exchange_warp1.35s,compute_store_aot_mubuf_counter_warp1.49s,compute_store_aot_dpp_warp1.17s,compute_store_aot_alu_med3_warp1.56s,pixel_aot_get_lod_warp1.86s,compute_store_aot_mubuf_counter-x2_warp1.48s,compute_store_aot_mubuf_store_format_xyz_warp1.41s,compute_store_aot_ds_route_warp1.63s,compute_store_aot_mimg_msaa_warp1.27s,compute_store_aot_alu_mad_i24_warp1.50s,compute_store_aot_salu_absdiff_warp1.52s,compute_store_aot_gfx1013_image_store_warp1.08s,compute_store_aot_gfx1013_image_atomics_warp1.99s,compute_store_aot_mac_f32_warp1.48s,pixel_aot_region_body_warp2.40s,pixel_aot_f16_fmac_ldexp_warp3.83s,startup_gfx2hlsl_shift64_hardware3.54s,pixel_aot_cvt_f64_int_warp3.26s,pixel_aot_dpp_extra_warp3.37s,startup_gfx2hlsl_dpp_pair_hardware2.07s,pixel_aot_cmp64_warp3.21s,compute_store_aot_vcmp_select_warp2.84s,pixel_aot_int16_ternary_warp2.95s,compute_store_aot_desc_numeric_warp1.45s,pixel_aot_sample_lod_warp1.90s,startup_gfx2hlsl_shift64_warp3.60s,startup_gfx2hlsl_mad_dispatch_hardware1.71s,pixel_aot_f16_cvt_int16_warp2.73s,pixel_aot_dpp_f16_warp4.66s,pixel_aot_dpp_cvt_warp2.65s,compute_store_aot_alu_lane_gaps_warp1.93s,pixel_aot_dmask_warp1.62s,startup_gfx2hlsl_dpp_pair_warp1.98s,startup_gfx2hlsl_f32_sdwa3.33s,startup_gfx2hlsl_dpp_quad_swap_hardware2.13s,pixel_aot_pk_fmac_warp2.24s,pixel_aot_plain_movrel_warp2.02s,startup_gfx2hlsl_compute_hardware2.29s,pixel_aot_cvt_float_int_e64_warp2.28s,pixel_aot_flat_scratch_warp1.57s,compute_store_aot_gfx1013_image_store_d16_warp0.96s,startup_gfx2hlsl_watch2.80s,pixel_aot_scc_skip_warp1.95s,pixel_aot_cvt_f32_f64_warp2.09s,startup_gfx2hlsl_dpp_quad_swap_warp2.11s,pixel_aot_f16_to_int16_warp2.21s,pixel_aot_bitset64_warp2.14s,pixel_aot_int16_vop3_warp2.08s,pixel_aot_vop3_ternary_int_warp2.03s,startup_gfx2hlsl_sdwa_cvt_hardware2.11s,pixel_aot_sdwa_integer_warp1.49s,startup_gfx2hlsl_cmp16_warp2.15s,startup_gfx2hlsl_cmp16_hardware2.13s,pixel_aot_align_warp1.79s,pixel_aot_u32_from_f32_warp1.38s,pixel_aot_dpp_movrel_warp1.51s,pixel_aot_div_fmas_warp1.62s,startup_gfx2hlsl_f32_lg1.85s,pixel_aot_e64_spellings_warp1.34s,startup_gfx2hlsl_mad_preserve_hardware1.07s,pixel_aot_plain_bitscan_warp1.63s,startup_gfx2hlsl_sdwa_cvt_warp2.02s,pixel_aot_rndne_warp1.68s,pixel_aot_first_bit_warp1.62s,pixel_aot_sdwa_unary_warp1.31s,pixel_aot_region_scalar_load_warp1.77s,pixel_aot_sdwa_movrel_warp1.43s,pixel_aot_swaprel_warp1.23s,pixel_aot_pack_b32_warp1.03s,pixel_aot_mac_legacy_warp1.41s,compute_store_aot_gfx1013_gather4_l_warp1.83s,pixel_aot_swap_warp1.26s,pixel_aot_mad64_warp1.40s,pixel_aot_carry_in_warp1.28s,pixel_aot_region_scalar_alu_warp1.27s,pixel_aot_sopk_hwreg_warp0.92s,pixel_aot_uncompressed_integer_export_warp1.26s,pixel_aot_title_loads_warp1.53s,pixel_aot_uncompressed_export_warp1.29s,startup_gfx2hlsl_mad_dispatch_warp1.65s,pixel_aot_smovrel_warp1.31s,pixel_aot_brev_warp1.27s,pixel_aot_region_waits_warp1.21s,pixel_aot_sdwa_cmp_warp1.30s,pixel_aot_sad_warp1.31s,pixel_aot_carry_out_warp1.19s,pixel_aot_frexp_exp_warp1.17s,pixel_aot_s_call_warp1.23s,pixel_aot_e64_integer_warp1.17s,pixel_aot_attribute_warp1.07s,pixel_aot_integer_nc_warp1.14s,startup_gfx2hlsl_scalar_m0_hardware1.26s,pixel_aot_bfm_warp1.15s,pixel_aot_vop1_nops_warp0.97s,startup_gfx2hlsl_compute_warp2.27s,pixel_aot_smem_pointers_warp1.11s,pixel_aot_compressed_export_warp1.05s,pixel_aot_e64_approx_warp0.92s,pixel_aot_ds_swizzle_warp1.01s,pixel_aot_pack_int16_warp1.04s,startup_gfx2hlsl_vopc_sdwa_hardware1.38s,startup_gfx2hlsl_scalar_m0_warp1.22s,startup_gfx2hlsl_sgpr_spill_warp1.05s,pixel_aot_sopp_round_mode_warp0.98s,startup_gfx2hlsl_vopc_sdwa_warp1.35s,startup_gfx2hlsl_capture1.30s,startup_gfx2hlsl_mad_preserve_warp1.04s,startup_gfx2hlsl_dpp_quad_broadcast_hardware1.01s,startup_gfx2hlsl_sgpr_spill_hardware1.05s,startup_gfx2hlsl_sopk_accum1.14s,startup_gfx2hlsl_interp_f16_hardware0.96s,startup_gfx2hlsl_interp_f16_warp0.97s,startup_gfx2hlsl_dpp_quad_broadcast_warp0.99s,compute_store_aot_gfx1013_image_uav_load_warp1.33s,startup_gfx2hlsl_root0.90s,startup_gfx2hlsl_cvt_pk_u8_warp1.21s,startup_gfx2hlsl_bit_alu_controls1.02s,pixel_aot_attribute_sampled_warp0.97s,startup_gfx2hlsl_compute_mbcnt_warp1.12s,startup_gfx2hlsl_compute_g-overlap_warp0.32s,startup_gfx2hlsl_compute_g-swapped-offsets_warp0.32s,startup_gfx2hlsl_join_symbols_hardware0.40s,startup_gfx2hlsl_join_symbols_warp0.43s,startup_gfx2hlsl_compute_mbcnt_hardware0.76s,startup_gfx2hlsl_cvt_pk_u8_hardware0.86s,startup_gfx2hlsl_draw_skip0.55s,startup_gfx2hlsl_compute_j-scalar-dropped_warp0.31s,startup_gfx2hlsl_buffer_store0.59s,startup_gfx2hlsl_compute_b-offset_warp0.33s,startup_gfx2hlsl_compute_controls0.50s,startup_gfx2hlsl_refusals0.60s,startup_gfx2hlsl_sdwa0.25s,startup_gfx2hlsl_compute_k-block-entered_hardware0.34s,startup_gfx2hlsl_compute_swapped-axes_warp0.33s,startup_gfx2hlsl_compute_c-unpredicated_warp0.35s,startup_gfx2hlsl_compute_dropped-store_warp0.32s,startup_gfx2hlsl_compute_j-scalar-dropped_hardware0.35s,startup_gfx2hlsl_join_symbols_folded_hardware0.24s,startup_gfx2hlsl_compute_h-inner-unpredicated_warp0.31s,startup_gfx2hlsl_join_symbols_controls0.27s,startup_gfx2hlsl_compute_g-overlap_hardware0.30s,startup_gfx2hlsl_compute_f-peer_hardware0.29s,startup_gfx2hlsl_compute_f-broadcast_hardware0.32s,startup_gfx2hlsl_compute_g-swapped-offsets_hardware0.30s,startup_gfx2hlsl_scalar_shift64_bfe_controls0.23s,startup_gfx2hlsl_compute_h-inner-unpredicated_hardware0.29s,startup_gfx2hlsl_compute_swapped-axes_hardware0.28s,startup_gfx2hlsl_compute_k-block-entered_warp0.28s,startup_gfx2hlsl_compute_dropped-store_hardware0.27s,startup_gfx2hlsl_compute_c-unpredicated_hardware0.30s,startup_gfx2hlsl_compute_b-offset_hardware0.30s,startup_gfx2hlsl_dpp_quad_swap_controls0.14s,startup_gfx2hlsl_compute_f-peer_warp0.30s,startup_gfx2hlsl_swap0.32s,startup_gfx2hlsl_compute_f-broadcast_warp0.29s,startup_gfx2hlsl_cmp16_controls0.31s,startup_gfx2hlsl_interp_f16_controls0.22s,startup_gfx2hlsl_cvt_alu_controls0.18s,startup_gfx2hlsl_scalar_m0_controls0.11s,startup_gfx2hlsl_sample_c_lz_mip0.18s,startup_gfx2hlsl_join_symbols_folded_warp0.20s,startup_gfx2hlsl_dpp_pair0.15s,startup_gfx2hlsl_sdwa_cvt0.33s,startup_gfx2hlsl_operand_count0.22s,startup_gfx2hlsl_cndmask_neg0.10s,startup_gfx2hlsl_vcvt_omod0.11s,startup_gfx2hlsl_sopk_signext0.15s,startup_gfx2hlsl_b64_shift0.10s,startup_gfx2hlsl_desc_ptr_prop0.11s,startup_gfx2hlsl_shift64_controls0.18s,startup_gfx2hlsl_readfirstlane_uniform0.15s,startup_gfx2hlsl_opsel0.11s,startup_gfx2hlsl_sgpr_spill_controls0.14s,startup_gfx2hlsl_tbuffer_16f0.10s,startup_gfx2hlsl_smem_offset0.10s,startup_gfx2hlsl_cvt_pk_u8_controls0.12s,startup_gfx2hlsl_dpp_quad_broadcast0.14s,startup_gfx2hlsl_s_sext_cmov0.11s,startup_gfx2hlsl_export_mask_drop_control0.15s,startup_gfx2hlsl_mad_controls0.15s,startup_gfx2hlsl_op_refusals0.10s,startup_gfx2hlsl_export_mask0.14s,startup_gfx2hlsl_add_sub_co_controls0.15s,startup_gfx2hlsl_image_get_lod_controls0.12s,startup_gfx2hlsl_calculated_target0.14s,startup_gfx2hlsl_int_med3_controls0.16s,startup_gfx2hlsl_s_bitcmp0.14s,startup_gfx2hlsl_readfirstlane_recompute0.12s,startup_gfx2hlsl_scalar_brev_fold0.16s,startup_gfx2hlsl_mask_overwrite_controls0.12s,startup_gfx2hlsl_cselect_mask_controls0.12s,startup_gfx2hlsl_saveexec_same_reg_controls0.13s,startup_gfx2hlsl_handler_arity0.13s,startup_gfx2hlsl_loop_constants0.11s,startup_gfx2hlsl_image_arity0.11s,startup_gfx2hlsl_neg_operand0.10s,startup_gfx2hlsl_compare_dst_controls0.10s)tests/mesh_heap_sampler_check.pyok (0.5s),tests/startup_buffer_address_check.pyok (0.3s),tests/startup_compute_request_offline_check.pyok (0.3s),tests/startup_compute_translate_check.pyok (0.2s),tests/startup_flat_param_check.pyok (0.1s),tests/startup_gfx2hlsl_add_sub_co_check.pyok (0.1s),tests/startup_gfx2hlsl_bit_alu_check.pyok (0.5s),tests/startup_gfx2hlsl_capture_check.pyok (0.7s),tests/startup_gfx2hlsl_cmp16_check.pyok (0.2s),tests/startup_gfx2hlsl_compare_dst_check.pyok (0.1s),tests/startup_gfx2hlsl_compute_check.pyok (0.3s),tests/startup_gfx2hlsl_cselect_mask_check.pyok (0.1s),tests/startup_gfx2hlsl_cvt_alu_check.pyok (0.1s),tests/startup_gfx2hlsl_f32_lg_check.pyok (1.0s),tests/startup_gfx2hlsl_f32_nan_check.pyok (3.9s),tests/startup_gfx2hlsl_handler_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_get_lod_check.pyok (0.1s),tests/startup_gfx2hlsl_int_med3_check.pyok (0.1s),tests/startup_gfx2hlsl_join_symbols_check.pyok (0.2s),tests/startup_gfx2hlsl_loop_constants_check.pyok (0.1s),tests/startup_gfx2hlsl_mask_overwrite_check.pyok (0.1s),tests/startup_gfx2hlsl_operand_count_check.pyok (0.1s),tests/startup_gfx2hlsl_readfirstlane_recompute_check.pyok (0.1s),tests/startup_gfx2hlsl_readfirstlane_uniform_check.pyok (0.1s),tests/startup_gfx2hlsl_refusals_check.pyok (0.3s),tests/startup_gfx2hlsl_root_check.pyok (0.5s),tests/startup_gfx2hlsl_saveexec_same_reg_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_brev_fold_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_m0_check.pyok (0.1s),tests/startup_gfx2hlsl_sdwa_cvt_check.pyok (0.2s),tests/startup_gfx2hlsl_sgpr_spill_check.pyok (0.1s),tests/startup_gfx2hlsl_shift64_check.pyok (0.1s),tests/startup_gfx2hlsl_smem_offset_check.pyok (0.1s),tests/startup_gfx2hlsl_sop2_complement_check.pyok (3.3s),tests/startup_gfx2hlsl_sopk_accum_check.pyok (0.6s),tests/startup_gfx2hlsl_sopk_signext_check.pyok (0.1s),tests/startup_gfx2hlsl_swap_check.pyok (0.2s),tests/startup_gfx2hlsl_vopc_sdwa_check.pyok (3.5s),tests/startup_gfx2hlsl_watch_check.pyok (2.2s),tests/startup_image_2d_array_check.pyok (0.1s),tests/startup_image_3d_check.pyok (0.1s),tests/startup_image_gather_lz_check.pyok (0.5s),tests/startup_image_load_d16_check.pyok (0.7s),tests/startup_image_sample_a16_check.pyok (0.1s),tests/startup_image_sample_b_check.pyok (0.1s),tests/startup_image_sample_c_check.pyok (0.2s),tests/startup_image_sample_l_check.pyok (0.1s),tests/startup_image_sample_lod_check.pyok (0.1s),tests/startup_inline_sampler_check.pyok (0.1s),tests/startup_run_ps1_check.pyok (7.8s),tests/startup_run_sh_check.pyskipped by itself on Windows, rc=77 (0.1s),tests/startup_sampler_heap_check.pyok (0.1s),tests/startup_smem_address_check.pyok (0.1s),tests/startup_stream_fetch_check.pyok (0.2s),tests/startup_stream_interface_check.pyok (0.2s),tests/startup_translator_check.pyok (0.3s)sccache: 0/2 hits; wall303.9sAI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by RavenCurseBurg on 2026-11-25T18:29:19Z.
While checking #2463 I reproduced a branch case both on this PR alone (
99e1c69f) and with #2460 (661c9a1a) integrated. An in-place literal table-pointer add followed by a copy, a forward conditional writing an unrelated SGPR, and an immediate s_load on the copied pointer can raise TypeError in the translator. In a branch-bearing program pointer_add declines the add, the older path records ('ptr', source, 'added'), and op_s_load_dwordx4 uses the string as an integer byte offset. A straight-line control with the same table, add and load binds byte 32.I am testing the forward-only, 32-bit graphics table case for #2463 separately. The other inputs to the established branch refusal can keep returning Unsupported. Posting here because the marker and numeric-offset paths meet in #2069.
AI-assisted with Codex (GPT-6.2 Astra, xhigh).
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T18:30:25Z.
@R0Y00 the changes you requested are addressed on the current head
99e1c69f7f72a63a5ef4a8f1bd83360f7b3b5ad5(see our reply above). Could you re-review, or dismiss the change request if it is resolved? Under the new scope, MasterDomino can then review and merge it.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T18:51:57Z.
The new completed-pair controls address the original straight-line issue. Keep this review open for the branch case RavenCurseBurg reproduced on
99e1c69f: theaddedmarker reaches the numeric offset calculation and raises TypeError. Please keep the joined pointer unsupported here unless this PR proves it. Add that exact branch shape as a refusal control and keep its straight-line sibling passing. The new forward-branch support can stay in the separate #2463 work.Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T18:54:18Z.
@R0Y00 the branch case is fixed on
a747241f(merged with current main, no conflicts left).s_add_u32 s8, s8, 0x40leaves theaddedmarker on the pointer, ands_load_dwordx4then added an int to that marker and raised TypeError.op_s_load_dwordx4now refuses a load through a pointer whose offset is untracked (s_load through s8: the pointer was advanced by an untracked offset). The joined pointer stays unsupported here.tests/startup_gfx2hlsl_desc_ptr_prop_check.py: the in-place advance plus load with branches is a refusal (it was the TypeError before), and the same straight-line shape still folds to +0x50.Commands run locally:
python3 -B tests/startup_gfx2hlsl_desc_ptr_prop_check.py,startup_gfx2hlsl_join_symbols_check.py,startup_gfx2hlsl_refusals_check.py,startup_smem_address_check.py,startup_gfx2hlsl_root_check.py(all ok),git diff --check(clean). Forward-branch support stays in #2463.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T20:10:18Z.
The branch-only
untracked offsetguard passes on62bf81d0. I found two remaining cases using the source-built root-pointer fixture. A complete in-place pair (s_add_u32 s8, s8, 0x20;s_addc_u32 s9, s9, 0) refuses because the first instruction replacess9withpendingbefore the second can read it. Conversely, the out-of-place low add followed bys_mov_b32 s21, s9ands_load_dwordx4 s[4:7], s[20:21], 0x10is accepted and emitsr0.Load(80)without the matching ADDC. Please keep completion state on the advanced low result until the adjacent matching pair completes, without changing the original high source. Add a valid in-place case and a copied-but-unadvanced high-word refusal. The original request remains open.Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T20:30:17Z.
@R0Y00 both cases are fixed on
77abd82a(merged with current main, no conflicts).pendingmarker into the next register. In place, that replaced the original high word, so the matchings_addc_u32could not read it. Out of place,s_mov s21, s9copied the unadvanced high word over the marker, so the load was accepted without the pair.s_addc_u32closes it. A load through an open pair is refused.tests/startup_gfx2hlsl_desc_ptr_prop_check.py:s_add_u32 s8, s8, 0x20;s_addc_u32 s9, s9, 0) now folds to +0x30;s_mov_b32 s21, s9and the load is a refusal;The first two failed on the previous head and pass now. The missing, overwritten and mismatched high word controls and the large low-word add control still pass.
Commands run locally:
python3 -B tests/startup_gfx2hlsl_desc_ptr_prop_check.py,startup_gfx2hlsl_join_symbols_check.py,startup_gfx2hlsl_refusals_check.py,startup_smem_address_check.py,startup_gfx2hlsl_root_check.py(all ok),git diff --check(clean).AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T21:15:06Z.
Merged current main into this branch at
1ecf3bcbc(merge commit, no force-push). One conflict intools/startup/gfx2hlsl.py, kept both sides:s_loaddescriptor symbol keeps ourbase_off + offand main's new load-tag suffix.Commands run locally:
python3 -B tests/startup_gfx2hlsl_desc_ptr_prop_check.py(all cases ok),python3 -B tests/startup_gfx2hlsl_compute_check.py(the test main changed in the same area, passes),git diff --check(clean). CI on1ecf3bcbc: Linux checks, gfx1013 fixtures and Windows build/test are green. No Win2025 run on this head yet. The previous review request is still open: @R0Y00, the two cases from your last comment are fixed on the earlier head and unchanged here. Could you take another look?AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by RavenCurseBurg on 2026-11-25T21:21:23Z.
I checked the merge with #2546 at
1ecf3bcbusing the structured-to-raw store fixture and LLVM 15. Across six pointer-add / load-immediate combinations, both ordinary and converted stores emitted identical HLSL and the expected SRV/UAV offsets. In particular, adding 16 and loading at 16 bound the same bytes (32/48) as adding 32 and loading at 0. The farthest case bound 80/96. With an untouched low word, reloading the stride from the same high word succeeded. Substituting a stride from a different high word refused in all six cases.The replay on this exact parent takes an LLVM 15 assembler as its argument. I have also synced the dependent #2507 to this head.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T21:33:34Z.
Closing this PR for now so we can focus on the test-speed work. The branch stays as it is, and review comments here remain valid.
We will reopen it later, bring it up to date with
main, re-run the Win2025 WARP checks at its head, and post the result here.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T22:31:04Z.
Review: CHANGES_REQUESTED
The updated pair and full-SMEM translation controls pass. I found two remaining same-origin high-word cases in the existing device-free harness. Given the test's
ROOTsymbols, runs_add_u32 s20,s8,0x40;s_addc_u32 s21,s9,0;s_mov_b32 s21,s9; thens_load_dwordx4 s[4:7],s[20:21],0x10. This still emitsLoad(80)after the completed high word was overwritten by the original one. A second variant advances that same low word withs_add_u32 s22,s20,0x20but uses the original high word again ins_addc_u32 s23,s9,0; the load is accepted and emitsLoad(112). A low-DWORD carry in the first add makes both folds wrong. A small literal does not by itself exclude that carry.Please bind the high-word proof to the relevant accumulated offset or pair provenance, so the original high word and the advanced high word cannot compare equal merely because they came from the same root. Keep the matching-high controls and the full GPU readback. Add the two cases above and a positive case that uses the completed high word of the first pair for the second advance.
Imported from R0Y00/Xbox2Windows. Originally posted by RavenCurseBurg on 2026-11-25T22:14:54Z.
I found a full-pipeline case for the current head
1ecf3bcb. The two instruction handlers accept the matcheds_add_u32/s_addc_u32pair, but the final SCC-read pass rejects the high add itself withscc from descriptor data in s_addc_u32. I reproduced this using a source-built vertex shader that reads the second vertex-buffer view.I put a two-file fix and host regressions directly on your head for cherry-pick. A high add validated by the existing adjacent-pair proof has already consumed its input carry symbolically. Its outgoing SCC remains unavailable to an ordinary numeric reader. The complete in-place and out-of-place pairs now publish the expected VB binding. Copying the old high word still refuses. A following
s_cselect_b32still refuses until a fresh scalar compare establishes SCC. All 78 related host and documentation checks passed.The independent draw fixture reuses the existing direct/indexed 8×4 stream scene. LLVM 15 matches all three programs. With the direct address, in-place pair and out-of-place pair, all 32 pixels matched POSITION from VB 1. Rebinding exactly the same compiled shader to VB 0 gave the TEXCOORD reference, with exactly 11 pixels changed for each program. Intel UHD 770, RTX 4060 and WARP passed with both FXC and DXC (36 readbacks). The Windows Server 2025 Release run passed all four selected CTests and all 12 WARP readbacks with the new fixture. I verified the recorded source commit and all four artifact digests, then repeated the 36 local readbacks with that same build. The host fix is 6ef0e9fa; the tested build 2b57389c adds only the standalone draw script.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T22:26:34Z.
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
6688f74e12eb937c24b861bea9c260399bacc1a2:--preset dev):cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2):0.87s(configure3.58s)ctest --preset dev -R 'startup_smem_address_warp|startup_gfx2hlsl_desc_ptr_prop|startup_buffer_address_warp' --parallel 2 --no-tests=error --output-on-failure): 3/3 passed (2.62s:startup_smem_address_warp2.17s,startup_gfx2hlsl_desc_ptr_prop0.13s,startup_buffer_address_warp2.41s)/O2(--preset release):cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2):2.63s(configure2.92s)ctest --preset release -R 'startup_smem_address_warp|startup_gfx2hlsl_desc_ptr_prop|startup_buffer_address_warp' --parallel 2 --no-tests=error --output-on-failure): 3/3 passed (2.21s:startup_smem_address_warp1.86s,startup_gfx2hlsl_desc_ptr_prop0.12s,startup_buffer_address_warp2.06s)tests/mesh_heap_sampler_check.pyok (1.1s),tests/startup_buffer_address_check.pyok (0.7s),tests/startup_buffer_format_word3_table_check.pyok (0.1s),tests/startup_compute_request_offline_check.pyok (0.7s),tests/startup_compute_translate_check.pyok (0.3s),tests/startup_flat_param_check.pyok (0.2s),tests/startup_gfx2hlsl_add_sub_co_check.pyok (0.2s),tests/startup_gfx2hlsl_add_sub_co_ci_check.pyok (0.2s),tests/startup_gfx2hlsl_bit_alu_check.pyok (1.1s),tests/startup_gfx2hlsl_capture_check.pyok (1.6s),tests/startup_gfx2hlsl_cmp16_check.pyok (0.4s),tests/startup_gfx2hlsl_compare_dst_check.pyok (0.1s),tests/startup_gfx2hlsl_compute_check.pyok (0.6s),tests/startup_gfx2hlsl_cselect_mask_check.pyok (0.1s),tests/startup_gfx2hlsl_cvt_alu_check.pyok (0.2s),tests/startup_gfx2hlsl_cvt_off_f32_i4_check.pyok (0.2s),tests/startup_gfx2hlsl_f32_lg_check.pyok (2.0s),tests/startup_gfx2hlsl_f32_nan_check.pyok (7.7s),tests/startup_gfx2hlsl_fma_mix_check.pyok (0.2s),tests/startup_gfx2hlsl_getpc_refusal_check.pyok (0.2s),tests/startup_gfx2hlsl_handler_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_get_lod_check.pyok (0.2s),tests/startup_gfx2hlsl_int_med3_check.pyok (0.2s),tests/startup_gfx2hlsl_join_symbols_check.pyok (0.4s),tests/startup_gfx2hlsl_loop_constants_check.pyok (0.1s),tests/startup_gfx2hlsl_mask_overwrite_check.pyok (0.1s),tests/startup_gfx2hlsl_operand_count_check.pyok (0.4s),tests/startup_gfx2hlsl_pack_absdiff_check.pyok (4.0s),tests/startup_gfx2hlsl_readfirstlane_recompute_check.pyok (0.1s),tests/startup_gfx2hlsl_readfirstlane_uniform_check.pyok (0.2s),tests/startup_gfx2hlsl_refusals_check.pyok (0.8s),tests/startup_gfx2hlsl_root_check.pyok (0.9s),tests/startup_gfx2hlsl_sad_check.pyok (0.6s),tests/startup_gfx2hlsl_saveexec_same_reg_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_arity_check.pyok (0.3s),tests/startup_gfx2hlsl_scalar_brev_fold_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_m0_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_table_arity_check.pyok (0.4s),tests/startup_gfx2hlsl_sdwa_cvt_check.pyok (0.4s),tests/startup_gfx2hlsl_sgpr_spill_check.pyok (0.1s),tests/startup_gfx2hlsl_shift64_check.pyok (0.2s),tests/startup_gfx2hlsl_sload_const_offset_check.pyok (0.1s),tests/startup_gfx2hlsl_smem_offset_check.pyok (0.1s),tests/startup_gfx2hlsl_sop2_complement_check.pyok (8.7s),tests/startup_gfx2hlsl_sopk_accum_check.pyok (1.2s),tests/startup_gfx2hlsl_sopk_signext_check.pyok (0.2s),tests/startup_gfx2hlsl_swap_check.pyok (0.4s),tests/startup_gfx2hlsl_vopc_sdwa_check.pyok (6.0s),tests/startup_gfx2hlsl_waitcnt_depctr_check.pyok (0.1s),tests/startup_gfx2hlsl_watch_check.pyok (2.9s),tests/startup_image_2d_array_check.pyok (0.2s),tests/startup_image_3d_check.pyok (0.1s),tests/startup_image_gather_lz_check.pyok (0.7s),tests/startup_image_load_d16_check.pyok (1.2s),tests/startup_image_sample_a16_check.pyok (0.3s),tests/startup_image_sample_b_check.pyok (0.2s),tests/startup_image_sample_c_check.pyok (0.4s),tests/startup_image_sample_l_check.pyok (0.3s),tests/startup_image_sample_lod_check.pyok (0.8s),tests/startup_inline_sampler_check.pyok (0.2s),tests/startup_mesh57_skeleton_check.pyok (0.5s),tests/startup_run_ps1_check.pyok (22.6s),tests/startup_run_sh_check.pyskipped (0.1s),tests/startup_sampler_heap_check.pyok (0.2s),tests/startup_shader_cache_rekey_check.pyok (3.4s),tests/startup_smem_address_check.pyok (0.2s),tests/startup_stream_fetch_check.pyok (0.4s),tests/startup_stream_interface_check.pyok (0.4s),tests/startup_translator_check.pyok (0.8s)sccache: 198/312 hits; wall110.2sImported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T22:26:40Z.
@MasterDomino @R0Y00 #2069 is ready for re-review at head
6688f74e.What changed:
origin/main(merge commit, no force-push). The earlier completed-pair, in-place pair, copied-high-word and branch refusal controls still pass.s_add_u32/s_addc_u32pair was refused by the SCC check. The matchings_addc_u32is now the only accepted reader of the low add's carry; any other SCC reader is still refused.startup_smem_address_check.py: pair-advanced pointer +offset:0x8is read back against the CPU reference and equals the single load at0x10. The full-translate checks (same output as the single load, SCC refusal) are in the same file.startup_gfx2hlsl_desc_ptr_prop_check.pynow also runs in the Linux CI list.Verification: CI green on this head. Win2025 dev + release:
ctest -R 'startup_smem_address_warp|startup_gfx2hlsl_desc_ptr_prop|startup_buffer_address_warp'3/3 passed on both (receipt posted above), plus the full planned Python checks.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T23:54:59Z.
Review: APPROVED
Re-reviewed
ef3425a3. The original high word can no longer replace a completed advanced one, and a second advance accepts the high word proved for its input offset. Windows Release passed 7/7 withctest --preset release --no-tests=error -j 1 -R '^startup_(gfx2hlsl_desc_ptr_prop|smem_address|buffer_address)($|_(controls|warp|hardware)$)' -V. Both the RTX 4060 Laptop and WARP matched all 320 words in the advanced vertex-buffer-table case. The overwritten-high and wrong second carry controls refuse, while both complete-pair paths fold.Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T23:42:05Z.
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
ef3425a3bead85ab1259764352e1283bfa52c45e:--preset dev):cmake --build --preset dev --target offscreen_check d3d12_xs_shim -- -j 2):2.69s(configure0.00s)ctest --preset dev -R 'startup_smem_address|startup_gfx2hlsl_desc_ptr_prop|startup_buffer_address' --parallel 6 --no-tests=error --output-on-failure): 7/7 passed (2.49s:startup_smem_address_controls0.25s,startup_gfx2hlsl_desc_ptr_prop0.13s,startup_buffer_address_controls0.74s,startup_smem_address_warp2.13s,startup_smem_address_hardware2.16s,startup_buffer_address_warp2.32s,startup_buffer_address_hardware2.35s)/O2(--preset release):cmake --build --preset release --target offscreen_check d3d12_xs_shim -- -j 2):3.78s(configure0.00s)ctest --preset release -R 'startup_smem_address|startup_gfx2hlsl_desc_ptr_prop|startup_buffer_address' --parallel 6 --no-tests=error --output-on-failure): 7/7 passed (2.15s:startup_gfx2hlsl_desc_ptr_prop0.12s,startup_smem_address_controls0.24s,startup_buffer_address_controls0.62s,startup_smem_address_warp1.81s,startup_smem_address_hardware1.81s,startup_buffer_address_warp2.02s,startup_buffer_address_hardware2.02s)tests/mesh_heap_sampler_check.pyok (0.6s),tests/startup_buffer_address_check.pyok (0.4s),tests/startup_buffer_format_word3_table_check.pyok (0.1s),tests/startup_compute_request_offline_check.pyok (0.4s),tests/startup_compute_store_format_xyzw_check.pyok (0.2s),tests/startup_compute_translate_check.pyok (0.2s),tests/startup_flat_param_check.pyok (0.1s),tests/startup_gfx2hlsl_add_sub_co_check.pyok (0.1s),tests/startup_gfx2hlsl_add_sub_co_ci_check.pyok (0.1s),tests/startup_gfx2hlsl_bit_alu_check.pyok (0.6s),tests/startup_gfx2hlsl_capture_check.pyok (0.9s),tests/startup_gfx2hlsl_cmp16_check.pyok (0.2s),tests/startup_gfx2hlsl_compare_dst_check.pyok (0.1s),tests/startup_gfx2hlsl_compute_check.pyok (0.3s),tests/startup_gfx2hlsl_cselect_mask_check.pyok (0.1s),tests/startup_gfx2hlsl_cvt_alu_check.pyok (0.2s),tests/startup_gfx2hlsl_cvt_off_f32_i4_check.pyok (0.2s),tests/startup_gfx2hlsl_cvt_pk_int16_check.pyok (0.2s),tests/startup_gfx2hlsl_f32_lg_check.pyok (1.1s),tests/startup_gfx2hlsl_f32_nan_check.pyok (4.1s),tests/startup_gfx2hlsl_fma_mix_check.pyok (0.1s),tests/startup_gfx2hlsl_getpc_refusal_check.pyok (0.1s),tests/startup_gfx2hlsl_handler_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_get_lod_check.pyok (0.1s),tests/startup_gfx2hlsl_int_med3_check.pyok (0.1s),tests/startup_gfx2hlsl_interp_p2_hi_check.pyok (0.2s),tests/startup_gfx2hlsl_join_symbols_check.pyok (0.2s),tests/startup_gfx2hlsl_loop_constants_check.pyok (0.1s),tests/startup_gfx2hlsl_mask_overwrite_check.pyok (0.1s),tests/startup_gfx2hlsl_operand_count_check.pyok (0.3s),tests/startup_gfx2hlsl_pack_absdiff_check.pyok (2.2s),tests/startup_gfx2hlsl_readfirstlane_recompute_check.pyok (0.1s),tests/startup_gfx2hlsl_readfirstlane_uniform_check.pyok (0.1s),tests/startup_gfx2hlsl_refusals_check.pyok (0.5s),tests/startup_gfx2hlsl_root_check.pyok (0.7s),tests/startup_gfx2hlsl_sad_check.pyok (0.3s),tests/startup_gfx2hlsl_saveexec_same_reg_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_arity_check.pyok (0.2s),tests/startup_gfx2hlsl_scalar_brev_fold_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_m0_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_table_arity_check.pyok (0.3s),tests/startup_gfx2hlsl_sdwa_cvt_check.pyok (0.2s),tests/startup_gfx2hlsl_sgpr_spill_check.pyok (0.1s),tests/startup_gfx2hlsl_shift64_check.pyok (0.2s),tests/startup_gfx2hlsl_sload_const_offset_check.pyok (0.1s),tests/startup_gfx2hlsl_smem_offset_check.pyok (0.1s),tests/startup_gfx2hlsl_sop2_complement_check.pyok (4.8s),tests/startup_gfx2hlsl_sopk_accum_check.pyok (0.8s),tests/startup_gfx2hlsl_sopk_signext_check.pyok (0.1s),tests/startup_gfx2hlsl_swap_check.pyok (0.2s),tests/startup_gfx2hlsl_vopc_sdwa_check.pyok (3.8s),tests/startup_gfx2hlsl_waitcnt_depctr_check.pyok (0.1s),tests/startup_gfx2hlsl_watch_check.pyok (2.6s),tests/startup_image_2d_array_check.pyok (0.2s),tests/startup_image_3d_check.pyok (0.2s),tests/startup_image_gather_lz_check.pyok (0.5s),tests/startup_image_load_d16_check.pyok (0.9s),tests/startup_image_sample_a16_check.pyok (0.2s),tests/startup_image_sample_b_check.pyok (0.2s),tests/startup_image_sample_c_check.pyok (0.2s),tests/startup_image_sample_l_check.pyok (0.2s),tests/startup_image_sample_lod_check.pyok (0.6s),tests/startup_inline_sampler_check.pyok (0.1s),tests/startup_mesh57_skeleton_check.pyok (0.4s),tests/startup_run_ps1_check.pyok (8.6s),tests/startup_run_sh_check.pyskipped (0.1s),tests/startup_sampler_heap_check.pyok (0.1s),tests/startup_shader_cache_rekey_check.pyok (1.8s),tests/startup_smem_address_check.pyok (0.2s),tests/startup_stream_fetch_check.pyok (0.2s),tests/startup_stream_interface_check.pyok (0.2s),tests/startup_translator_check.pyok (0.4s)sccache: 110/138 hits; wall57.7sImported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T23:42:06Z.
@R0Y00 @MasterDomino, updated head
ef3425a3(merged current main, no force-push). Point by point on your 25/11 22:31Z review:s_add_u32 s20,s8,0x40; s_addc_u32 s21,s9,0; s_mov_b32 s21,s9; s_load_dwordx4 s[4:7],s[20:21],0x10: now refused. The completed high word is bound to the accumulated offset, so the original high word no longer stands in for it.s_add_u32 s22,s20,0x20withs_addc_u32 s23,s9,0: now refused. Thes_addc_u32must read the high word completed for the offset it advances from.s_addc_u32 s23,s21,0(completed high word of the first pair) folds toLoad(112). An in-place double advance with each completed high word also folds.startup_smem_address_warp) are kept.Tests added to
tests/startup_gfx2hlsl_desc_ptr_prop_check.py(the two refusals fail on the previous head and pass now).Verification (Win2025, exact head
ef3425a3): dev + release builds and the Windows Python checks passed;ctest -R "startup_smem_address|startup_gfx2hlsl_desc_ptr_prop|startup_buffer_address"7/7 passed, includingstartup_smem_address_warpandstartup_gfx2hlsl_desc_ptr_prop. Linux CI and the gfx1013 fixture job: green (the GitHub Windows job was still queued when I posted). Full receipt in the comment above.Re-requesting review.
AI-assisted; commands listed were executed locally.