Don't do shader register renaming on anything but D3D11

This commit is contained in:
baldurk
2016-09-06 17:55:34 +02:00
parent 4e752c4c4e
commit b4f30d79cd
+2 -1
View File
@@ -480,7 +480,8 @@ namespace renderdocui.Windows
var disasm = shader != null ? shader.Disassembly : "";
if (m_Core.Config.ShaderViewer_FriendlyNaming && m_ShaderDetails != null)
if (m_Core.Config.ShaderViewer_FriendlyNaming && m_ShaderDetails != null &&
m_Core.APIProps.pipelineType == GraphicsAPI.D3D11)
{
for (int i = 0; i < m_ShaderDetails.ConstantBlocks.Length; i++)
{