mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-02 03:55:08 +00:00
Don't do shader register renaming on anything but D3D11
This commit is contained in:
1 parent
4e752c4c4e
commit
b4f30d79cd
1 file changed
+2
-1
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user