adding bounded arena allocator to renderer
Build / build (push) Successful in 1m6s
Test / build_and_test (push) Failing after 8h9m28s

This commit is contained in:
2026-05-10 12:28:53 +02:00
parent 7f812bcf39
commit e9454ddd9a
9 changed files with 107 additions and 32 deletions
-2
View File
@@ -167,8 +167,6 @@ pub fn drawTriangleFilled(allocator: std.mem.Allocator, fragments: *std.ArrayLis
.color = zm.f32x4(1.0, 1.0, 1.0, 1.0),
.inputs = try interpolateVertexOutputs(allocator, v0, v1, v2, b0, b1, b2),
}) catch return VkError.OutOfDeviceMemory;
if (fragments.items.len > 64_000)
return VkError.MemoryFootprintTooBigDrv;
}
}
}