From 1dfd62a118bb305ecf7d2671d782da84b41413f8 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 5 Jan 2018 16:46:17 +0100 Subject: [PATCH] [dxbc] Added debug name to x# registers --- src/dxbc/dxbc_compiler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dxbc/dxbc_compiler.cpp b/src/dxbc/dxbc_compiler.cpp index b46f8af2..81cf601e 100644 --- a/src/dxbc/dxbc_compiler.cpp +++ b/src/dxbc/dxbc_compiler.cpp @@ -291,6 +291,9 @@ namespace dxvk { m_xRegs.at(regId).ccount = info.type.ccount; m_xRegs.at(regId).varId = emitNewVariable(info); + + m_module.setDebugName(m_xRegs.at(regId).varId, + str::format("x", regId).c_str()); }