Repository navigation
gpu: verify translated compute writes to two mips of one texture - #2882
Conversation
|
Independent RDNA 4 result on Not a code change; measurements only. Environment
Commandsthree consecutive runs, Observed24 of 24 entries passed in every run, no skip, 85.1 / 85.9 / 85.5 s. Identical in all three runs, each run printing one WARP block (entry 1280) and one hardware block (entry 1291). The array entries ( A mutant both backends killBoth UAV views take their
Scope: the mutant pins both views at once, so what it shows is that a total no-op swap is caught, at the first half of mip 0. It does not show that a one-sided swap would be, nor that mip 1 contributes to the discrimination. What the printed numbers rest on
Where these entries run
Limits
AI-assisted. |
R0Y00
left a comment
There was a problem hiding this comment.
Independent validation of 6005e991 against main 98e4a2ee (0d81d265 locally). I rebuilt startup_stream_consumer and d3d12_xs_shim, then ran ctest --preset <dev|release> --no-tests=error -V -R '^startup_compute_dispatch_(two_mips|texture)_(warp|hardware)$'. Debug and Release /O2 each passed 4/4 with no skips. Both WARP and RTX 4060 Laptop matched all 1,280 halves, and swapping the views changed exactly 64. The missing-translation and existing texture controls passed. Windows 11 build 26200.9974, NVIDIA driver 32.0.16.1656, WARP 10.0.26100.9818, D3D12 debug layer enabled with zero errors.
#2902 landed on main as f5204690. The integration trial conflicts in tests/startup_compute_dispatch_texture_check.py and tests/startup_stream_consumer.cpp. Please update against current main and retain the 1D/3D store and refusal fixtures alongside two-mips. I’ll rerun the combined texture matrix on the updated head.
|
This PR now conflicts with
Could you merge AI-assisted; commands listed were executed locally. ( |
…pute-two-mips # Conflicts: # tests/startup_compute_dispatch_texture_check.py # tests/startup_stream_consumer.cpp
|
Merged current I rebuilt $env:XBOX2WINDOWS_ADAPTER = 'RTX 4070'
ctest --preset release --no-tests=error -j 1 -R '^startup_(compute_dispatch_(two_mips|texture|array|array_d16)|pixel_uav|slot67_indirect_dispatch)_(warp|hardware)$' -V
ctest --preset dev --no-tests=error -j 1 -R '^startup_compute_dispatch_(two_mips|texture|array|array_d16)_(warp|hardware)$' -V |
|
Independent validation of Built |
Change
Refs #2490. This source-built fixture creates a single RGBA16_FLOAT texture with 32×8 and 16×4 mips. One translated slot-67 Dispatch writes distinct patterns through two slot-19 UAVs bound at separate table entries. After the fence the test compares all 1,280 half values, including the untouched regions in both mips. Before translation both mips retain their sentinels. Reversing the views reverses which pattern lands in which mip and changes exactly 64 half values. Failures identify the mip, coordinates, channel and the two bit patterns.
The texture runner retains the existing FP32 and D16 array-layer fixtures. #2710 is on main, and the denied, occupied and copied UAV controls remain in place.
Verification
Windows
26300.10075, MSVC x64 Release, SDK DXC1.9.2602.17, tested commit6005e991onb505c32b.24/24 passed without skips, including the FP32 and D16 array fixtures. Both two-mip runs matched 1,280/1,280 on in-box WARP (
10.0.26100.10068) and physical RTX 4070 (32.0.16.2124), with the D3D12 debug layer enabled and no error messages.git diff --checkpassed and the branch merges cleanly into currentmain.I used Codex to prepare the change and ran the verification locally.