shader: extend uniform compute image_load proof to image_load_mip #2858
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2866"
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 R0D4X on 2026-11-26T14:47:46Z.
Part of #2644 (T5 follow-up on top of #2842 / #2848). Refs #2274, #1723.
Root Cause / Motivation
#2842 (
7538470e) proved computeimage_loadresults uniform forv_readfirstlane_b32, leavingUNIFORM_IMAGE_LOADS = frozenset(('image_load',))soimage_load_mipat uniform(x, y, [z/slice,] mip)coordinates stayed refused. Per @tedin7's note on #2848, this follow-up extends the same proof toimage_load_mipand adds the partialdmask:0x5, lane-3 readback, and real D3D12 compute dispatch readback coverage.Summary
tools/startup/gfx2hlsl.py):'image_load_mip'toUNIFORM_IMAGE_LOADS.Stage.uniform_image_load_regs(), restrictpacked_2d(a16) toimage_loadand requireaxes + 1uniform coordinate VGPRs (x, y, [z/slice,] mip) forimage_load_mip, reusing all existing unmodified-table-descriptor,has_image_writes, andloads_after_exec_writeguards from #2842.tests/startup_gfx2hlsl_readfirstlane_uniform_check.py):2D,2D_ARRAY, and3Dimage_load_mip, plus2Dpartialdmask:0x5anddmask:0xflane-3 readback.image_load_mipwith varying mip coordinate, varying X coordinate, and in a dispatch containingimage_store.tests/startup_compute_dispatch_texture_check.py):uniform_image_load_mip: dispatches a translated compute shader (dispatch-sampled-2x1) that loads texel(1, 0, mip 0)(red1.0) viaimage_load_mip, broadcasts it withv_readfirstlane_b32 s20, v12, and XORss20into Case A's output (320/320 words match).0((0, 0, mip 0)) or mip to1((1, 0, mip 1)) each differ at all 288 written words.Before / After
image_load_mipat uniform coordinates was refused byv_readfirstlane_b32.image_load_mip(2D, 2D-array, 3D) with uniform coordinates and an unmodified read-only table descriptor in a stage with no image writes propagates uniformity to its exactdmaskdestination VGPRs and matches GPU readback on WARP and hardware.Verification
6934af8d(based on52905a32)10.0.26300.9974), MSVC19.44.35230, Windows SDK10.0.26100.0, DXC1.9.2602.17, D3D12 debug layer enabledMicrosoft Basic Render Driver(1414:008c), driver10.0.26100.9818NVIDIA GeForce RTX 5080(10de:2c02), driver32.0.16.2124Commands and measured results (0 failures, 0 skips):
git diff --check,startup_gfx2hlsl_readfirstlane_uniform_check.py,startup_gfx2hlsl_readfirstlane_load_recompute_check.py,startup_compute_readfirstlane_check.py,startup_translator_check.py,docs_links_check.py,bidi_controls_check.py): PASSctest --preset dev --no-tests=error -j 1 -R '^(startup_tools_lint|startup_gfx2hlsl_readfirstlane_uniform|startup_compute_dispatch_texture_)' -V: 4/4 passed (16.47 sec,debug layer: enabled, no error messageon WARP and RTX 5080)ctest --preset release --no-tests=error -j 1 -R '^(startup_gfx2hlsl_readfirstlane_uniform|startup_compute_dispatch_texture_)' -V: 3/3 passed (15.91 sec,debug layer: enabled, no error messageon WARP and RTX 5080)drop_image_load_mip,drop_mip_addr_count): 2/2 caught (rc=1) and reverted cleanly.Evidence Scope
devandreleaseDXCcs_6_0GPU dispatches +x=0/mip=1controls on WARP and RTX 5080 with D3D12 debug layer enabled, andtools/disasm_rdna2.pydecode of all spliced instruction words.AI-assisted; source-built fixtures only.
Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-26T15:53:10Z.
Independent AMD RDNA 4 result on
6934af8d(second vendor for the new case): it passes on hardware, and which entry kills which mutantNot a code change; measurements only.
Environment
10.0.26200.9974, MSVC19.44.35230, BuildTools14.44.35207, DXC1.9.2602.17from the10.0.26100.0kit (path read from the build'sCMakeCache.txt).AMD Radeon RX 9070 XT(1002:7550), driver32.0.32029.2010. WARP:Microsoft Basic Render Driver.devpreset,-DINTAKE_PYTHONpointing at a shared venv; only thestartup_stream_consumerexecutable was built in this checkout (the two*_controlsentries below are Python-only and need no binary). Tracked tree empty at6934af8d(git status --porcelain --untracked-files=no) before and after every run.debug layer: unavailablein its own line, so nothing here validates API calls.Commands
Three times, same tree.
Observed
Three runs,
exit 0each, 3 of 3 passed. The fixture's own line, identical on both backends:Neighbours, twice:
startup_gfx2hlsl_readfirstlane_{uniform,recompute,load_recompute},startup_compute_readfirstlane, and the two texture entries — 6 of 6 passed.A passing run does not print the adapter, because the fixture captures the consumer's stderr. So I re-ran the fixture's own
uniform_image_load_mip()(loaded withimportlib) in a directory that survives the call, having wrappedsubprocess.runso that it still executes the child and also records its stdio. The consumer's stdout on the drawing invocations isand its device log carries
build=6934af8d. That is a separate execution from thectestrun above, on the same tree and the same environment variable.Two mutants, and which entry kills them
Each mutation is one line in
tools/startup/gfx2hlsl.py, applied withcount(old) == 1asserted, sha256 printed before and after,git status --porcelain --untracked-files=noshowingM tools/startup/gfx2hlsl.pywhile it is in place, restored withgit checkout --(tree empty again afterwards, and the gate back to 3 of 3).mip = '0'): the new case fails on both backends,AssertionError: ('ctrl_mip1', ...),ctestexit 8 with 2 of 3 entries red. So the draw does pin that the mip operand reaches the load.load_mip(int3(x, mip, y); the probe shows the emittedt = r0.Load(int3(v2, v4, v3))): the new case stays green on WARP and on the card, 3 of 3, exit 0. Its only texture is 2x1 (device logdim=3 2x1 fmt=28), soyis 0 in the load and in both controls, and the only non-zero mip it tries is out of range and returns 0 — the same value an out-of-rangeyreturns. The ordering is pinned elsewhere in the suite:startup_image_load_mip_controlsandstartup_image_load_d16_controlsgo red under the same mutation (AssertionError: 2D packed; the d16 one prints the swappedt = r0.Load(int3(v8, v10, v9))) and green again after the restore.So, as far as these two mutants show: what the new case establishes on a device is that the mip operand reaches the load (M1); it does not establish the address order (M2), which the two text checks pin instead. A texture with height >= 2 and a real mip chain, whose texels at
(x, 1, 0)and(x, 0, 1)differ, would let the draw carry the order as well.Limits
prtest preset's include filter does not select these entries at all, and on pushes thedevjob runs the_warpentry with-E '_hardware$'(.github/workflows/windows.yml:494), so the_hardwareentry runs in no CI job — this is one more adapter, not a CI datapoint.image_load_mipforms the PR adds to the oracle are not exercised on a device.yboth reading 0, which is driver behaviour, not a stated invariant.debug layer: unavailable: the readback is the only evidence; no API call is validated.ctestexit codes. I did not audit the uniformity proof belowuniform_image_load_regs, and did not run the suite.startup_compute_dispatch_texture_{warp,hardware},startup_gfx2hlsl_readfirstlane_uniform, and for the mutation cross-checkstartup_image_load_mip_controls,startup_image_load_d16_controls.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-27T09:36:36Z.
Review: COMMENTED
Review on head
6934af8d8: no defects found, merging.image_load_mipjoinsUNIFORM_IMAGE_LOADS, the packed-A16 form stays limited toimage_load, andimage_load_mipexpectsaxes + 1uniform coordinate registers (x, y, [z/slice,] mip). The rest is tests.startup_compute_dispatch_texture_(warp|hardware)andstartup_gfx2hlsl_readfirstlane_uniform, mutant M1 killed on both backends). The M2 ordering case is covered bystartup_image_load_mip_controls, as that report notes.AI-assisted; commands listed were executed locally.
Commands:
gh pr diff 2866,git showofuniform_image_load_regsat the head,python3 merge_check.py 2866.Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-27T09:48:04Z.
Review: COMMENTED
Receipt on head
10d5c02e5(the branch updated withmain, no code change): Windows Server 2025 runner, dev and release builds,ctest -R 'startup_compute_dispatch_texture|startup_gfx2hlsl_readfirstlane|startup_image_load_mip': 8 of 8 passed. My diff review above still applies (the update only brought inmain). Merging.AI-assisted; commands listed were executed locally.
Commands:
gh pr update-branch 2866,x2w_pipe.py win2025 2866 --regex 'startup_compute_dispatch_texture|startup_gfx2hlsl_readfirstlane|startup_image_load_mip',python3 merge_check.py 2866.Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-27T09:48:25Z.
Review: COMMENTED
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
10d5c02e5cd63c54e814d0b7a94776159228e102:--preset dev):cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2):5.27s(configure0.00s)ctest --preset dev -R 'startup_compute_dispatch_texture|startup_gfx2hlsl_readfirstlane|startup_image_load_mip' --parallel 3 --no-tests=error --output-on-failure): 8/8 passed (6.75s:startup_image_load_mip_hardware0.37s,startup_image_load_mip_warp0.38s,startup_image_load_mip_controls0.18s,startup_gfx2hlsl_readfirstlane_uniform0.15s,startup_gfx2hlsl_readfirstlane_load_recompute0.11s,startup_gfx2hlsl_readfirstlane_recompute0.13s,startup_compute_dispatch_texture_hardware6.28s,startup_compute_dispatch_texture_warp6.24s)tests/mesh_heap_sampler_check.pyok (0.7s),tests/startup_buffer_address_check.pyok (0.5s),tests/startup_buffer_format_word3_table_check.pyok (0.1s),tests/startup_compute_global_load_check.pyok (0.2s),tests/startup_compute_request_offline_check.pyok (0.6s),tests/startup_compute_store_format_xyzw_check.pyok (0.3s),tests/startup_compute_translate_check.pyok (0.2s),tests/startup_flat_param_check.pyok (0.2s),tests/startup_gfx2hlsl_add_sub_co_check.pyok (0.1s),tests/startup_gfx2hlsl_add_sub_co_ci_check.pyok (0.2s),tests/startup_gfx2hlsl_bfm_b64_check.pyok (1.3s),tests/startup_gfx2hlsl_bit_alu_check.pyok (0.7s),tests/startup_gfx2hlsl_capture_check.pyok (1.3s),tests/startup_gfx2hlsl_cmp16_check.pyok (0.3s),tests/startup_gfx2hlsl_cmp_class_f16_sdwa_check.pyok (28.7s),tests/startup_gfx2hlsl_compare_dst_check.pyok (0.1s),tests/startup_gfx2hlsl_compute_check.pyok (0.8s),tests/startup_gfx2hlsl_compute_mask_spill_check.pyok (2.4s),tests/startup_gfx2hlsl_compute_spill_check.pyok (1.9s),tests/startup_gfx2hlsl_const_copy_join_check.pyok (0.1s),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.3s),tests/startup_gfx2hlsl_f32_lg_check.pyok (1.1s),tests/startup_gfx2hlsl_f32_nan_check.pyok (4.2s),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_heap_record_check.pyok (0.2s),tests/startup_gfx2hlsl_heap_word_check.pyok (0.2s),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.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_data_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.1s),tests/startup_gfx2hlsl_pack_b32_f16_check.pyok (0.1s),tests/startup_gfx2hlsl_readfirstlane_load_recompute_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.5s),tests/startup_gfx2hlsl_root_check.pyok (0.7s),tests/startup_gfx2hlsl_s_abs_check.pyok (0.1s),tests/startup_gfx2hlsl_s_bitset_check.pyok (0.1s),tests/startup_gfx2hlsl_s_ff0_check.pyok (0.1s),tests/startup_gfx2hlsl_s_ff1_check.pyok (0.1s),tests/startup_gfx2hlsl_s_flbit_check.pyok (0.1s),tests/startup_gfx2hlsl_s_quadmask_b64_check.pyok (0.1s),tests/startup_gfx2hlsl_s_quadmask_check.pyok (0.1s),tests/startup_gfx2hlsl_sad_check.pyok (0.3s),tests/startup_gfx2hlsl_sad_hi_msad_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_null_check.pyok (0.2s),tests/startup_gfx2hlsl_scalar_table_arity_check.pyok (0.3s),tests/startup_gfx2hlsl_sdwa_cndmask_check.pyok (0.2s),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.9s),tests/startup_gfx2hlsl_sopk_accum_check.pyok (1.1s),tests/startup_gfx2hlsl_sopk_signext_check.pyok (0.1s),tests/startup_gfx2hlsl_spill_branches_check.pyok (1.0s),tests/startup_gfx2hlsl_swap_check.pyok (0.3s),tests/startup_gfx2hlsl_vopc_sdwa_check.pyok (4.0s),tests/startup_gfx2hlsl_waitcnt_depctr_check.pyok (0.1s),tests/startup_gfx2hlsl_watch_check.pyok (2.5s),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.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.5s),tests/startup_inline_sampler_check.pyok (0.2s),tests/startup_mesh57_depth_only_check.pyok (0.2s),tests/startup_mesh57_lane_spill_check.pyok (0.2s),tests/startup_mesh57_loop_check.pyok (0.2s),tests/startup_mesh57_loop_refusal_check.pyok (0.1s),tests/startup_mesh57_skeleton_check.pyok (1.1s),tests/startup_run_ps1_check.pyok (9.4s),tests/startup_run_sh_check.pyskipped (0.1s),tests/startup_sampler_heap_check.pyok (0.1s),tests/startup_shader_cache_rekey_check.pyok (2.2s),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.4s)sccache: 62/64 hits; wall106.3stested:
10d5c02evia fetch (pull/2866/head, no patch)AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-27T09:48:36Z.
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
10d5c02e5cd63c54e814d0b7a94776159228e102:--preset dev):cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2):5.27s(configure0.00s)ctest --preset dev -R 'startup_compute_dispatch_texture|startup_gfx2hlsl_readfirstlane|startup_image_load_mip' --parallel 3 --no-tests=error --output-on-failure): 8/8 passed (6.75s:startup_image_load_mip_hardware0.37s,startup_image_load_mip_warp0.38s,startup_image_load_mip_controls0.18s,startup_gfx2hlsl_readfirstlane_uniform0.15s,startup_gfx2hlsl_readfirstlane_load_recompute0.11s,startup_gfx2hlsl_readfirstlane_recompute0.13s,startup_compute_dispatch_texture_hardware6.28s,startup_compute_dispatch_texture_warp6.24s)tests/mesh_heap_sampler_check.pyok (0.7s),tests/startup_buffer_address_check.pyok (0.5s),tests/startup_buffer_format_word3_table_check.pyok (0.1s),tests/startup_compute_global_load_check.pyok (0.2s),tests/startup_compute_request_offline_check.pyok (0.6s),tests/startup_compute_store_format_xyzw_check.pyok (0.3s),tests/startup_compute_translate_check.pyok (0.2s),tests/startup_flat_param_check.pyok (0.2s),tests/startup_gfx2hlsl_add_sub_co_check.pyok (0.1s),tests/startup_gfx2hlsl_add_sub_co_ci_check.pyok (0.2s),tests/startup_gfx2hlsl_bfm_b64_check.pyok (1.3s),tests/startup_gfx2hlsl_bit_alu_check.pyok (0.7s),tests/startup_gfx2hlsl_capture_check.pyok (1.3s),tests/startup_gfx2hlsl_cmp16_check.pyok (0.3s),tests/startup_gfx2hlsl_cmp_class_f16_sdwa_check.pyok (28.7s),tests/startup_gfx2hlsl_compare_dst_check.pyok (0.1s),tests/startup_gfx2hlsl_compute_check.pyok (0.8s),tests/startup_gfx2hlsl_compute_mask_spill_check.pyok (2.4s),tests/startup_gfx2hlsl_compute_spill_check.pyok (1.9s),tests/startup_gfx2hlsl_const_copy_join_check.pyok (0.1s),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.3s),tests/startup_gfx2hlsl_f32_lg_check.pyok (1.1s),tests/startup_gfx2hlsl_f32_nan_check.pyok (4.2s),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_heap_record_check.pyok (0.2s),tests/startup_gfx2hlsl_heap_word_check.pyok (0.2s),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.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_data_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.1s),tests/startup_gfx2hlsl_pack_b32_f16_check.pyok (0.1s),tests/startup_gfx2hlsl_readfirstlane_load_recompute_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.5s),tests/startup_gfx2hlsl_root_check.pyok (0.7s),tests/startup_gfx2hlsl_s_abs_check.pyok (0.1s),tests/startup_gfx2hlsl_s_bitset_check.pyok (0.1s),tests/startup_gfx2hlsl_s_ff0_check.pyok (0.1s),tests/startup_gfx2hlsl_s_ff1_check.pyok (0.1s),tests/startup_gfx2hlsl_s_flbit_check.pyok (0.1s),tests/startup_gfx2hlsl_s_quadmask_b64_check.pyok (0.1s),tests/startup_gfx2hlsl_s_quadmask_check.pyok (0.1s),tests/startup_gfx2hlsl_sad_check.pyok (0.3s),tests/startup_gfx2hlsl_sad_hi_msad_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_null_check.pyok (0.2s),tests/startup_gfx2hlsl_scalar_table_arity_check.pyok (0.3s),tests/startup_gfx2hlsl_sdwa_cndmask_check.pyok (0.2s),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.9s),tests/startup_gfx2hlsl_sopk_accum_check.pyok (1.1s),tests/startup_gfx2hlsl_sopk_signext_check.pyok (0.1s),tests/startup_gfx2hlsl_spill_branches_check.pyok (1.0s),tests/startup_gfx2hlsl_swap_check.pyok (0.3s),tests/startup_gfx2hlsl_vopc_sdwa_check.pyok (4.0s),tests/startup_gfx2hlsl_waitcnt_depctr_check.pyok (0.1s),tests/startup_gfx2hlsl_watch_check.pyok (2.5s),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.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.5s),tests/startup_inline_sampler_check.pyok (0.2s),tests/startup_mesh57_depth_only_check.pyok (0.2s),tests/startup_mesh57_lane_spill_check.pyok (0.2s),tests/startup_mesh57_loop_check.pyok (0.2s),tests/startup_mesh57_loop_refusal_check.pyok (0.1s),tests/startup_mesh57_skeleton_check.pyok (1.1s),tests/startup_run_ps1_check.pyok (9.4s),tests/startup_run_sh_check.pyskipped (0.1s),tests/startup_sampler_heap_check.pyok (0.1s),tests/startup_shader_cache_rekey_check.pyok (2.2s),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.4s)sccache: 62/64 hits; wall106.3stested:
10d5c02evia fetch (pull/2866/head, no patch)AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-27T10:04:45Z.
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
10d5c02e5cd63c54e814d0b7a94776159228e102:--preset dev):cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2):2.42s(configure2.24s)ctest --preset dev -R 'startup_compute_dispatch_texture|startup_gfx2hlsl_readfirstlane|startup_image_load_mip' --parallel 6 --no-tests=error --output-on-failure): 8/8 passed (9.03s:startup_gfx2hlsl_readfirstlane_uniform0.26s,startup_image_load_mip_controls0.29s,startup_gfx2hlsl_readfirstlane_recompute0.16s,startup_gfx2hlsl_readfirstlane_load_recompute0.19s,startup_image_load_mip_warp0.58s,startup_image_load_mip_hardware0.60s,startup_compute_dispatch_texture_hardware8.75s,startup_compute_dispatch_texture_warp8.83s)/O2(--preset release):cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2):20.20s(configure2.31s)ctest --preset release -R 'startup_compute_dispatch_texture|startup_gfx2hlsl_readfirstlane|startup_image_load_mip' --parallel 6 --no-tests=error --output-on-failure): 8/8 passed (7.31s:startup_gfx2hlsl_readfirstlane_uniform0.19s,startup_image_load_mip_controls0.21s,startup_gfx2hlsl_readfirstlane_load_recompute0.14s,startup_gfx2hlsl_readfirstlane_recompute0.14s,startup_image_load_mip_hardware0.43s,startup_image_load_mip_warp0.42s,startup_compute_dispatch_texture_warp6.70s,startup_compute_dispatch_texture_hardware7.16s)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_global_load_check.pyok (0.2s),tests/startup_compute_request_offline_check.pyok (0.6s),tests/startup_compute_store_format_xyzw_check.pyok (0.3s),tests/startup_compute_translate_check.pyok (0.2s),tests/startup_flat_param_check.pyok (0.2s),tests/startup_gfx2hlsl_add_sub_co_check.pyok (0.1s),tests/startup_gfx2hlsl_add_sub_co_ci_check.pyok (0.1s),tests/startup_gfx2hlsl_bfm_b64_check.pyok (1.2s),tests/startup_gfx2hlsl_bit_alu_check.pyok (0.8s),tests/startup_gfx2hlsl_capture_check.pyok (1.3s),tests/startup_gfx2hlsl_cmp16_check.pyok (0.3s),tests/startup_gfx2hlsl_cmp_class_f16_sdwa_check.pyok (30.2s),tests/startup_gfx2hlsl_compare_dst_check.pyok (0.1s),tests/startup_gfx2hlsl_compute_check.pyok (0.9s),tests/startup_gfx2hlsl_compute_mask_spill_check.pyok (2.6s),tests/startup_gfx2hlsl_compute_spill_check.pyok (1.9s),tests/startup_gfx2hlsl_const_copy_join_check.pyok (0.1s),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.3s),tests/startup_gfx2hlsl_f32_lg_check.pyok (1.1s),tests/startup_gfx2hlsl_f32_nan_check.pyok (4.9s),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_heap_record_check.pyok (0.2s),tests/startup_gfx2hlsl_heap_word_check.pyok (0.2s),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.1s),tests/startup_gfx2hlsl_interp_p2_hi_check.pyok (0.3s),tests/startup_gfx2hlsl_join_symbols_check.pyok (0.3s),tests/startup_gfx2hlsl_loop_constants_check.pyok (0.1s),tests/startup_gfx2hlsl_mask_data_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 (2.3s),tests/startup_gfx2hlsl_pack_b32_f16_check.pyok (0.2s),tests/startup_gfx2hlsl_readfirstlane_load_recompute_check.pyok (0.1s),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.6s),tests/startup_gfx2hlsl_root_check.pyok (0.8s),tests/startup_gfx2hlsl_s_abs_check.pyok (0.1s),tests/startup_gfx2hlsl_s_bitset_check.pyok (0.1s),tests/startup_gfx2hlsl_s_ff0_check.pyok (0.1s),tests/startup_gfx2hlsl_s_ff1_check.pyok (0.1s),tests/startup_gfx2hlsl_s_flbit_check.pyok (0.1s),tests/startup_gfx2hlsl_s_quadmask_b64_check.pyok (0.1s),tests/startup_gfx2hlsl_s_quadmask_check.pyok (0.1s),tests/startup_gfx2hlsl_sad_check.pyok (0.4s),tests/startup_gfx2hlsl_sad_hi_msad_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_null_check.pyok (0.2s),tests/startup_gfx2hlsl_scalar_table_arity_check.pyok (0.4s),tests/startup_gfx2hlsl_sdwa_cndmask_check.pyok (0.2s),tests/startup_gfx2hlsl_sdwa_cvt_check.pyok (0.2s),tests/startup_gfx2hlsl_sgpr_spill_check.pyok (0.2s),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 (5.1s),tests/startup_gfx2hlsl_sopk_accum_check.pyok (1.2s),tests/startup_gfx2hlsl_sopk_signext_check.pyok (0.1s),tests/startup_gfx2hlsl_spill_branches_check.pyok (1.1s),tests/startup_gfx2hlsl_swap_check.pyok (0.4s),tests/startup_gfx2hlsl_vopc_sdwa_check.pyok (4.3s),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.1s),tests/startup_image_gather_lz_check.pyok (0.6s),tests/startup_image_load_d16_check.pyok (0.9s),tests/startup_image_sample_a16_check.pyok (0.5s),tests/startup_image_sample_b_check.pyok (0.3s),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.7s),tests/startup_inline_sampler_check.pyok (0.2s),tests/startup_mesh57_depth_only_check.pyok (0.2s),tests/startup_mesh57_lane_spill_check.pyok (0.2s),tests/startup_mesh57_loop_check.pyok (0.2s),tests/startup_mesh57_loop_refusal_check.pyok (0.1s),tests/startup_mesh57_skeleton_check.pyok (1.1s),tests/startup_run_ps1_check.pyok (12.4s),tests/startup_run_sh_check.pyskipped (0.1s),tests/startup_sampler_heap_check.pyok (0.2s),tests/startup_shader_cache_rekey_check.pyok (3.2s),tests/startup_smem_address_check.pyok (0.2s),tests/startup_stream_fetch_check.pyok (0.3s),tests/startup_stream_interface_check.pyok (0.4s),tests/startup_translator_check.pyok (0.5s)sccache: 105/112 hits; wall138.0sAI-assisted; commands listed were executed locally.