Reduce parameters that need to be passed for viewing shaders

This commit is contained in:
baldurk
2017-11-22 19:11:27 +00:00
parent 38acc56084
commit 602511bf33
21 changed files with 79 additions and 67 deletions
@@ -2285,7 +2285,7 @@ void VulkanPipelineStateViewer::shaderView_clicked()
? m_Ctx.CurVulkanPipelineState().compute.obj
: m_Ctx.CurVulkanPipelineState().graphics.obj;
IShaderViewer *shad = m_Ctx.ViewShader(&stage->BindpointMapping, shaderDetails, pipe, stage->stage);
IShaderViewer *shad = m_Ctx.ViewShader(shaderDetails, pipe);
m_Ctx.AddDockWindow(shad->Widget(), DockReference::AddTo, this);
}