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:
parent
4c0eee89e4
commit
12249fd330
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user