Skip to content

a/d3d: fix d3d12 validation enforcing initial resource state restrictions

korejan requested to merge korejan/monado:korejan/d3d-cts-fix into main

"At most, only one read/write bit can be set for any resource. If a write bit is set, then no read-only bit may be set for that resource. If no write bit is set, then any number of read bits may be set." https://learn.microsoft.com/en-us/windows/win32/direct3d12/using-resource-barriers-to-synchronize-resource-states-in-direct3d-12#readwrite-resource-state-restrictions

Merge request reports