adding draw indexed
Build / build (push) Successful in 58s
Test / build_and_test (push) Successful in 36m31s

This commit is contained in:
2026-04-30 02:16:49 +02:00
parent 621be5db35
commit 354c9891d6
6 changed files with 207 additions and 87 deletions
+2
View File
@@ -25,6 +25,7 @@ pub const PipelineState = struct {
data: union {
compute: struct {},
graphics: struct {
index_buffer: Renderer.IndexBuffer,
vertex_buffers: [lib.MAX_VERTEX_INPUT_BINDINGS]Renderer.VertexBuffer,
},
},
@@ -45,6 +46,7 @@ pub fn init(self: *Self, device: *SoftDevice) void {
.data = switch (i) {
GRAPHICS_PIPELINE_STATE => .{
.graphics = .{
.index_buffer = undefined,
.vertex_buffers = undefined,
},
},