|
|
@ -412,7 +412,6 @@ public:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
declarations.AddNewLine();
|
|
|
|
declarations.AddNewLine();
|
|
|
|
|
|
|
|
|
|
|
|
unsigned const_buffer_layout = 0;
|
|
|
|
|
|
|
|
for (const auto& entry : GetConstBuffersDeclarations()) {
|
|
|
|
for (const auto& entry : GetConstBuffersDeclarations()) {
|
|
|
|
declarations.AddLine("layout(std140) uniform " + entry.GetName());
|
|
|
|
declarations.AddLine("layout(std140) uniform " + entry.GetName());
|
|
|
|
declarations.AddLine('{');
|
|
|
|
declarations.AddLine('{');
|
|
|
@ -420,7 +419,6 @@ public:
|
|
|
|
"[MAX_CONSTBUFFER_ELEMENTS];");
|
|
|
|
"[MAX_CONSTBUFFER_ELEMENTS];");
|
|
|
|
declarations.AddLine("};");
|
|
|
|
declarations.AddLine("};");
|
|
|
|
declarations.AddNewLine();
|
|
|
|
declarations.AddNewLine();
|
|
|
|
++const_buffer_layout;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
declarations.AddNewLine();
|
|
|
|
declarations.AddNewLine();
|
|
|
|
|
|
|
|
|
|
|
|