Do not batch for now
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user