mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Use type hint for format for D3D11Replay::GetMinMax
This commit is contained in:
committed by
Baldur Karlsson
parent
dfe84e962b
commit
bb3b94b092
@@ -1682,7 +1682,7 @@ bool D3D11Replay::GetMinMax(ResourceId texid, uint32_t sliceFace, uint32_t mip,
|
||||
int srvOffset = 0;
|
||||
int intIdx = 0;
|
||||
|
||||
DXGI_FORMAT fmt = GetTypedFormat(details.texFmt);
|
||||
DXGI_FORMAT fmt = GetTypedFormat(details.texFmt, typeHint);
|
||||
|
||||
if(IsUIntFormat(fmt))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user