From e5beab287258add18b6c8f17f4a470eb08110bd4 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 14 Dec 2018 10:37:45 +0100 Subject: [PATCH] [dxbc] Rename struct_c0 -> c0_t etc. --- src/dxbc/dxbc_compiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dxbc/dxbc_compiler.cpp b/src/dxbc/dxbc_compiler.cpp index d1900f87..b451a6f7 100644 --- a/src/dxbc/dxbc_compiler.cpp +++ b/src/dxbc/dxbc_compiler.cpp @@ -763,7 +763,7 @@ namespace dxvk { m_module.decorateBlock (structType); m_module.memberDecorateOffset(structType, 0, 0); - m_module.setDebugName (structType, str::format("struct_", name).c_str()); + m_module.setDebugName (structType, str::format(name, "_t").c_str()); m_module.setDebugMemberName (structType, 0, "m"); // Variable that we'll use to access the buffer @@ -1080,7 +1080,7 @@ namespace dxvk { m_module.memberDecorateOffset(structType, 0, 0); m_module.setDebugName(structType, - str::format("struct_", isUav ? "u" : "t", registerId).c_str()); + str::format(isUav ? "u" : "t", registerId, "_t").c_str()); m_module.setDebugMemberName(structType, 0, "m"); if (!isUav)