oryol icon indicating copy to clipboard operation
oryol copied to clipboard

D3D11: B4G4R4A4_UNORM not a valid texture format

Open floooh opened this issue 9 years ago • 0 comments

The D3D11 DDSTextureLoading example fails on this machine (Win7, GFGTX 760) because for the PixelFormat::R4G4B4A4 texture format (translated to DXGI_FORMAT_B4G4R4A4_UNORM) with the following message.

D3D11 ERROR: ID3D11Device::CreateTexture2D: The Format (0x73) is unrecognized. [ STATE_CREATION ERROR #91: CREATETEXTURE2D_UNRECOGNIZEDFORMAT]
First-chance exception at 0x000007FEFCFB9E5D in DDSTextureLoading.exe: Microsoft C++ exception: _com_error at memory location 0x00000000006BE718.
D3D11 ERROR: ID3D11Device::CreateTexture2D: Returning E_INVALIDARG, meaning invalid parameters were passed. [ STATE_CREATION ERROR #104: CREATETEXTURE2D_INVALIDARG_RETURN]

Not sure, but I think it ran a while ago. Driver regression?

floooh avatar Feb 26 '16 08:02 floooh