Prefer using VK_AMD_shader_info to disassemble when available.

This commit is contained in:
baldurk committed 2017-10-23 15:05:29 +01:00
1 parent fbf37fd201
commit 42abaf2b4f
37 files changed
+842 -161

No files matched your search

+7 -5
View File
@@ -846,17 +846,19 @@ IShaderViewer *CaptureContext::EditShader(bool customShader, const QString &entr
}
IShaderViewer *CaptureContext::DebugShader(const ShaderBindpointMapping *bind,
const ShaderReflection *shader, ShaderStage stage,
ShaderDebugTrace *trace, const QString &debugContext)
const ShaderReflection *shader, ResourceId pipeline,
ShaderStage stage, ShaderDebugTrace *trace,
const QString &debugContext)
{
return ShaderViewer::DebugShader(*this, bind, shader, stage, trace, debugContext,
return ShaderViewer::DebugShader(*this, bind, shader, pipeline, stage, trace, debugContext,
m_MainWindow->Widget());
}
IShaderViewer *CaptureContext::ViewShader(const ShaderBindpointMapping *bind,
const ShaderReflection *shader, ShaderStage stage)
const ShaderReflection *shader, ResourceId pipeline,
ShaderStage stage)
{
return ShaderViewer::ViewShader(*this, bind, shader, stage, m_MainWindow->Widget());
return ShaderViewer::ViewShader(*this, bind, shader, pipeline, stage, m_MainWindow->Widget());
}
IBufferViewer *CaptureContext::ViewBuffer(uint64_t byteOffset, uint64_t byteSize, ResourceId id,