mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Add block decoration when using StorageBuffer storage class
This commit is contained in:
@@ -186,6 +186,8 @@ void Editor::DecorateStorageBufferStruct(Id id)
|
||||
// set bufferblock if needed
|
||||
if(m_StorageBufferClass == rdcspv::StorageClass::Uniform)
|
||||
AddDecoration(rdcspv::OpDecorate(id, rdcspv::Decoration::BufferBlock));
|
||||
else
|
||||
AddDecoration(rdcspv::OpDecorate(id, rdcspv::Decoration::Block));
|
||||
}
|
||||
|
||||
void Editor::SetName(Id id, const rdcstr &name)
|
||||
|
||||
Reference in New Issue
Block a user