The open source OpenXR runtime

Go back to using COMMON as fallback state

RENDER_TARGET requires a bit to be set, but COMMON doesn't
(this also matches hardcoded before states elsewhere)

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2349>

+1 -1
+1 -1
src/xrt/auxiliary/d3d/d3d_d3d12_bits.h
··· 97 97 state = D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE; 98 98 } else { 99 99 //! @todo unspecified fallback 100 - state = D3D12_RESOURCE_STATE_RENDER_TARGET; 100 + state = D3D12_RESOURCE_STATE_COMMON; 101 101 } 102 102 } 103 103