Repository navigation
GPU: drop unsupported UAV/RT flags on typed host textures and guard RTV creation - #1040
gabrielcruzg3 wants to merge 3 commits into
Conversation
|
This PR has no CI run yet, so I ran the CI's checks at head
Other checks:
|
|
This is the same problem as #55 and #89. Two things from an RTX 2080 (native Windows, driver 616.56) that apply to this version: 1. The 2. The guard is needed, but dropping the use loses the title's writes. In the world the host refuses exactly two textures here: 2560x1440 format 115 (flags RT, loses RT) and 2560x1440 format 86 (flags RT|UAV, loses the UAV). Without a guard, the device was removed with Merging the efforts: the RTV guard and the null clear value (which #55 doesn't have) are useful on their own, for any format. For 86 and 115, #89 keeps the writes by making them AI-assisted (Claude Code): the runs and log analysis were automated. The hardware, title copy and runs are the user's. |
|
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 08e4c89: the new test 4 is Tested with AI assistance (Claude). |
|
Tested across NVIDIA GeForce RTX 5090, AMD Radeon(TM) Graphics (
Branch ready to cherry-pick from (author attribution preserved): https://github.com/fuzeofficlal/VIctory/tree/fix/host-texture-uav-support-1040 ( |
BaggyALPHA
left a comment
There was a problem hiding this comment.
I independently reproduced the optimized-clear issue from item 22 of #1242 on Windows WARP. For a synthetic RGBA8 texture, upstream allocates it with a null clear pointer and refuses it with a clear hint when neither render-target nor depth-stencil is set. With this PR integrated into current main, both the plain texture and the UAV-only variant allocate even when the caller supplies a clear hint.
The full GPU suite on that integration had 54 passes, one ignored test, and one failure. The failure was the previously reported B5G5R5A1 UAV capability assertion. The final-flags clear guard is independently useful. The plain and UAV-only cases can test that guard without assuming support for a particular packed format.
AI-assisted (Codex).
…) and remove leftover marker
|
Heads-up on this PR's test |
…#1040 Marvisak#1523's new head no longer declares it (its 16-bit widening is gone); Marvisak#1040's flag-dropping code uses it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…D_ACCESS (id=523)
|
Automated triage for the maintainers. Closing because another open pull request covers the same change. See #55. same change as before (drop UAV/RT flags by a format-support query, skip UAV barriers by a hard-coded flag test, guard RTVs) and still conflicts; #55 fixes the same NVIDIA packed 16-bit refusals in 47 lines by retrying creation. Also carried by bundles #1632/#1638. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution. |
Addresses #264 (Finding #4) and related D3D12 validation errors on formats that PC GPUs do not support as typed UAVs or render targets (such as B5G5R5A1_UNORM and B4G4R4A4_UNORM).
Changes
Verification