Add debug preview to selected resource in GPU Memory tab
This commit is contained in:
@@ -78,7 +78,7 @@ void GPUContext::OnPresent()
|
||||
|
||||
void GPUContext::BindSR(int32 slot, GPUTexture* t)
|
||||
{
|
||||
ASSERT_LOW_LAYER(t == nullptr || t->ResidentMipLevels() == 0 || t->IsShaderResource());
|
||||
CHECK_DEBUG(t == nullptr || t->ResidentMipLevels() == 0 || t->IsShaderResource());
|
||||
BindSR(slot, GET_TEXTURE_VIEW_SAFE(t));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user