implement global index buffer

This commit is contained in:
Dynamitos committed 2023-11-26 11:27:39 +01:00
1 parent 89cee2e41a
commit 52c7fce931
9 files changed
+58 -81

No files matched your search

+1 -2
View File
@@ -18,7 +18,7 @@ struct MeshData
static const uint MAX_VERTICES = 64;
static const uint MAX_PRIMITIVES = 126;
static const uint TASK_GROUP_SIZE = 1;
static const uint TASK_GROUP_SIZE = 128;
static const uint MESH_GROUP_SIZE = 32;
static const uint MAX_MESHLETS_PER_MESH = 512;
@@ -33,7 +33,6 @@ struct Scene
StructuredBuffer<MeshData> meshData;
StructuredBuffer<MeshletDescription> meshletInfos;
StructuredBuffer<uint8_t> primitiveIndices;
StructuredBuffer<uint32_t> vertexIndices;
};