summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-05-17 23:27:18 +1000
committerOmniscient <omniscient.oce@gmail.com>2024-05-17 23:27:18 +1000
commit92196d66c815090b916098266c5dfb13a39bfe52 (patch)
treeba33e2116959e1e4833673c38c59b41ac930e287
parent519329e98467d0cdcc39720cef0f69c9936b6d55 (diff)
remove an assert on data layouts
-rw-r--r--src/renderer/backends/backend_vulkan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/renderer/backends/backend_vulkan.c b/src/renderer/backends/backend_vulkan.c
index 1db9803..37f9b59 100644
--- a/src/renderer/backends/backend_vulkan.c
+++ b/src/renderer/backends/backend_vulkan.c
@@ -557,7 +557,7 @@ gpu_pipeline* gpu_graphics_pipeline_create(struct graphics_pipeline_desc descrip
pipeline->uniform_pointers =
malloc(description.data_layouts_count * sizeof(desc_set_uniform_buffer));
- assert(description.data_layouts_count == 1);
+ // assert(description.data_layouts_count == 1);
for (u32 i = 0; i < description.data_layouts_count; i++) {
shader_data_layout sdl = description.data_layouts[i].shader_data_get_layout(NULL);
@@ -963,7 +963,6 @@ bool gpu_backend_begin_frame() {
vkResetFences(context.device->logical_device, 1, &context.in_flight_fences[current_frame]);
context.current_img_index = image_index;
- /* printf("Current img: %d\n", context.current_img_index); */
VK_CHECK(vkResetCommandBuffer(context.main_cmd_bufs[current_frame].cmd_buffer, 0));
return true;
}