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

[dxso] Fix constant buffer debug names

This commit is contained in:
Georg Lehmann 2021-11-11 23:03:37 +01:00 committed by Joshie
parent 4c0eee89e4
commit 12249fd330

View File

@ -315,8 +315,8 @@ namespace dxvk {
m_module.memberDecorateOffset(structType, 1, m_layout->floatOffset()); m_module.memberDecorateOffset(structType, 1, m_layout->floatOffset());
m_module.setDebugName(structType, "cbuffer_t"); m_module.setDebugName(structType, "cbuffer_t");
m_module.setDebugMemberName(structType, 0, "f"); m_module.setDebugMemberName(structType, 0, "i");
m_module.setDebugMemberName(structType, 1, "i"); m_module.setDebugMemberName(structType, 1, "f");
m_cBuffer = m_module.newVar( m_cBuffer = m_module.newVar(
m_module.defPointerType(structType, spv::StorageClassUniform), m_module.defPointerType(structType, spv::StorageClassUniform),