Do not batch for now

This commit is contained in:
luboslenco
2025-04-20 23:29:05 +02:00
parent 3ad58d5925
commit 24c08bff6b
20 changed files with 337 additions and 708 deletions
+1
View File
@@ -1498,6 +1498,7 @@ void iron_gpu_render_target_set_depth_from(iron_gpu_texture_t *render_target, ir
}
void iron_gpu_vertex_buffer_init(iron_gpu_buffer_t *buffer, int count, iron_gpu_vertex_structure_t *structure, bool gpuMemory) {
buffer->myCount = count;
buffer->impl.myCount = count;
buffer->impl.myStride = 0;
+1
View File
@@ -3272,6 +3272,7 @@ void iron_gpu_render_target_set_depth_from(iron_gpu_texture_t *target, iron_gpu_
}
void iron_gpu_vertex_buffer_init(iron_gpu_buffer_t *buffer, int vertexCount, iron_gpu_vertex_structure_t *structure, bool gpuMemory) {
buffer->myCount = count;
buffer->impl.myCount = vertexCount;
buffer->impl.myStride = 0;
for (int i = 0; i < structure->size; ++i) {
+1
View File
@@ -68,6 +68,7 @@ extern WGPUDevice device;
iron_gpu_buffer_t *iron_gpu_internal_current_vertex_buffer = NULL;
void iron_gpu_vertex_buffer_init(iron_gpu_buffer_t *buffer, int count, iron_gpu_vertex_structure_t *structure, bool gpuMemory) {
buffer->myCount = count;
buffer->impl.count = count;
buffer->impl.stride = 0;
for (int i = 0; i < structure->size; ++i) {