Skip to content

Commit bcd8c43

Browse files
committed
Fix formatting
1 parent 8a86e2a commit bcd8c43

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Graphics/ShaderTools/src/SPIRVShaderResources.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,10 @@ const std::string& GetSSBName(diligent_spirv_cross::Compiler& Compi
266266
const diligent_spirv_cross::Resource& SSB,
267267
const diligent_spirv_cross::ParsedIR::Source& IRSource)
268268
{
269-
/*
270-
layout(std430, binding = 3) readonly buffer StructuredBuffer_world_material_t_std430_t_0 // <-- type name
271-
{
272-
world_material_t_std430_0 _data[];
273-
} WorldMaterialSSBO; // <-- instance name
274-
*/
269+
//layout(std430, binding = 3) readonly buffer StructuredBuffer_world_material_t_std430_t_0 // <-- type name
270+
//{
271+
// world_material_t_std430_0 _data[];
272+
//} WorldMaterialSSBO; // <-- instance name
275273

276274
const std::string& instance_name = Compiler.get_name(SSB.id);
277275
return ((IRSource.hlsl || IRSource.lang == spv::SourceLanguageSlang) && !instance_name.empty()) ? instance_name : SSB.name;

0 commit comments

Comments
 (0)