mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Add hack for replaying ASTC textures with GL driver
This commit is contained in:
committed by
Baldur Karlsson
parent
45d67fdac2
commit
8a98ba0baf
@@ -3258,6 +3258,11 @@ void GLReplay::SetProxyTextureData(ResourceId texid, uint32_t arrayIdx, uint32_t
|
||||
|
||||
bool GLReplay::IsTextureSupported(const ResourceFormat &format)
|
||||
{
|
||||
// We couldn't create proxy textures for ASTC textures (see MakeGLFormat). So we give back false
|
||||
// and let RemapProxyTextureIfNeeded to set remap type for them.
|
||||
if(format.type == ResourceFormatType::ASTC)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user