mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 01:41:10 +00:00
Add case for DXGI_FORMAT_B8G8R8A8_TYPELESS
This commit is contained in:
1 file changed
+2
@@ -2163,6 +2163,8 @@ DXGI_FORMAT MakeDXGIFormat(ResourceFormat fmt)
|
||||
return DXGI_FORMAT_B8G8R8A8_UNORM;
|
||||
else if(fmt.compByteWidth == 1 && fmt.compType == CompType::UNormSRGB)
|
||||
return DXGI_FORMAT_B8G8R8A8_UNORM_SRGB;
|
||||
else if(fmt.compByteWidth == 1 && fmt.compType == CompType::Typeless)
|
||||
return DXGI_FORMAT_B8G8R8A8_TYPELESS;
|
||||
else
|
||||
return DXGI_FORMAT_UNKNOWN;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user