Start prep for temporal

This commit is contained in:
mcrcortex
2025-04-25 16:37:24 +10:00
parent f023f8e8f1
commit 862afc498e
4 changed files with 32 additions and 27 deletions

View File

@@ -63,8 +63,8 @@ layout(binding = DRAW_COUNT_BUFFER_BINDING, std430) restrict buffer DrawCommandC
uint opaqueDrawCount;
uint translucentDrawCount;
uint temporalOpaqueDrawCount;
uint pad_A;
DrawCommand cullDrawIndirectCommand;
};
#endif

View File

@@ -14,6 +14,7 @@ void main() {
opaqueDrawCount = 0;
translucentDrawCount = 0;
temporalOpaqueDrawCount = 0;
cullDrawIndirectCommand.count = 6*2*3;
cullDrawIndirectCommand.instanceCount = sectionCount;