mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-21 14:06:45 +00:00
Display thumbnails for empty resources
This commit is contained in:
@@ -2491,7 +2491,7 @@ void TextureViewer::InitStageResourcePreviews(ShaderStage stage,
|
||||
bool show = key.used || copy;
|
||||
|
||||
// omit buffers even if the shader uses them.
|
||||
if(m_Ctx.GetTexture(res.resourceId) == NULL)
|
||||
if(res.resourceId != ResourceId() && m_Ctx.GetTexture(res.resourceId) == NULL)
|
||||
show = copy;
|
||||
|
||||
// it's bound, but not referenced, and we have "show disabled"
|
||||
|
||||
Reference in New Issue
Block a user