1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 04:08:52 +01:00

[dxbc] Added debug name to x# registers

This commit is contained in:
Philip Rebohle 2018-01-05 16:46:17 +01:00
parent ecbdc7f7c7
commit 1dfd62a118

View File

@ -291,6 +291,9 @@ namespace dxvk {
m_xRegs.at(regId).ccount = info.type.ccount; m_xRegs.at(regId).ccount = info.type.ccount;
m_xRegs.at(regId).varId = emitNewVariable(info); m_xRegs.at(regId).varId = emitNewVariable(info);
m_module.setDebugName(m_xRegs.at(regId).varId,
str::format("x", regId).c_str());
} }