From 12249fd330218b693a5b5c959f9bb552cb1db6ec Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Thu, 11 Nov 2021 23:03:37 +0100 Subject: [PATCH] [dxso] Fix constant buffer debug names --- src/dxso/dxso_compiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dxso/dxso_compiler.cpp b/src/dxso/dxso_compiler.cpp index 3659e5c1..36d640b2 100644 --- a/src/dxso/dxso_compiler.cpp +++ b/src/dxso/dxso_compiler.cpp @@ -315,8 +315,8 @@ namespace dxvk { m_module.memberDecorateOffset(structType, 1, m_layout->floatOffset()); m_module.setDebugName(structType, "cbuffer_t"); - m_module.setDebugMemberName(structType, 0, "f"); - m_module.setDebugMemberName(structType, 1, "i"); + m_module.setDebugMemberName(structType, 0, "i"); + m_module.setDebugMemberName(structType, 1, "f"); m_cBuffer = m_module.newVar( m_module.defPointerType(structType, spv::StorageClassUniform),