GeForce RTX 2080, Driver 560.94 (Type DCH)
Using a DirectX12 Video Processor I can convert from 2560x1440, DXGI_FORMAT_B8G8R8A8_UNORM, DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
to 2560x1440, DXGI_FORMAT_R8G8B8A8_UNORM@DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709
successfully.
For reference, this output image looks like this:
On the other hand, when I perform a conversion from 2560x1440, DXGI_FORMAT_B8G8R8A8_UNORM, DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
to 2560x1440, DXGI_FORMAT_B8G8R8A8_UNORM@DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709
, I get a corrupted output image.
For reference, the corrupted output image looks like this:
The only difference between these two is that the output format is DXGI_FORMAT_B8G8R8A8_UNORM
rather than DXGI_FORMAT_R8G8B8A8_UNORM
.
In essence, when requesting a color-space only conversion, from DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
to DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709
, the output is unexpected.
I’m not certain if this is a valid conversion process/request, but I don’t see any debug layer output saying otherwise.
Is this expected behavior?