MCPcopy Create free account
hub / github.com/baldurk/renderdoc / GetDepthResolveTarget

Method GetDepthResolveTarget

qrenderdoc/Windows/TextureViewer.cpp:293–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293Descriptor Following::GetDepthResolveTarget(ICaptureContext &ctx)
294{
295 bool copy = false, clear = false, compute = false;
296 GetActionContext(ctx, copy, clear, compute);
297
298 if(copy || clear || compute)
299 return Descriptor();
300 else
301 return ctx.CurPipelineState().GetDepthResolveTarget();
302}
303
304rdcarray<UsedDescriptor> Following::GetReadWriteResources(ICaptureContext &ctx, ShaderStage stage,
305 bool onlyUsed)

Callers 1

ShaderMessageViewerMethod · 0.80

Calls 1

DescriptorClass · 0.50

Tested by

no test coverage detected