Open LibreVR opened 8 years ago
I am getting the same error submitting a DXGI_FORMAT_R10G10B10A2_UNORM texture
This problem is still around as of February 2021. It's not tied to the TYPELESS
format, as it also appears with DXGI_FORMAT_B8G8R8A8_UNORM_SRGB
, but as pointed out by @ghost depends on the channel order: using DXGI_FORMAT_R8G8B8A8_UNORM_SRGB
gives no errors.
It's a bit annoying to have the debug spew flooded with this error, especially because on Windows presentable surfaces must always be in BGRA order.
Bumping this issue in February 2022, I believe DXGI_FORMAT_R10G10B10A2_UNORM
is still having issues when attempting to submit to the headset
When submitting textures to the compositor of type
DXGI_FORMAT_B8G8R8A8_TYPELESS
the following error is triggered:This seems to be caused by a CopySubresourceRegion call that tries to copy a 1 pixel texture into the submitted texture. However this 1 pixel texture has the format
DXGI_FORMAT_R8G8B8A8_TYPELESS
. Thus the error is likely triggered due to the different color channel ordering.