feat: draw meshes with instanced multi-draw indirect

This commit is contained in:
2026-10-19 00:45:25 +02:00
parent 997844eaa7
commit 92c1daf396
19 changed files with 556 additions and 250 deletions
+2 -6
View File
@@ -2,14 +2,10 @@
#extension GL_EXT_scalar_block_layout: require
#include "scene_data.glsl"
#include "vertex.glsl"
#include "instance_data.glsl"
layout (push_constant, scalar) uniform constants
{
mat4 transform;
SceneDataBuffer sceneData;
VertexBuffer vertexBuffer;
uint materialID;
uint padding;
InstanceBuffer instanceBuffer;
} pcs;