mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Allow multiple depth targets to be viewable in the TextureViewer
This commit is contained in:
committed by
Baldur Karlsson
parent
588d205279
commit
f578e62684
@@ -185,6 +185,7 @@ ShaderMessageViewer::ShaderMessageViewer(ICaptureContext &ctx, ShaderStageMask s
|
||||
m_Multisampled = false;
|
||||
rdcarray<BoundResource> outs = pipe.GetOutputTargets();
|
||||
outs.push_back(pipe.GetDepthTarget());
|
||||
outs.push_back(pipe.GetDepthResolveTarget());
|
||||
for(const BoundResource &o : outs)
|
||||
{
|
||||
if(o.resourceId == ResourceId())
|
||||
|
||||
Reference in New Issue
Block a user