Reduce parameters that need to be passed for viewing shaders

This commit is contained in:
baldurk committed 2017-11-22 19:11:27 +00:00
1 parent 38acc56084
commit 602511bf33
21 files changed
+79 -67

No files matched your search

+1 -2
View File
@@ -702,8 +702,7 @@ void PixelHistoryView::startDebug(EventTag tag)
ResourceId pipeline = m_Ctx.CurPipelineState().GetGraphicsPipelineObject();
// viewer takes ownership of the trace
IShaderViewer *s = m_Ctx.DebugShader(&bindMapping, shaderDetails, pipeline, ShaderStage::Pixel,
trace, debugContext);
IShaderViewer *s = m_Ctx.DebugShader(&bindMapping, shaderDetails, pipeline, trace, debugContext);
m_Ctx.AddDockWindow(s->Widget(), DockReference::MainToolArea, NULL);
});