From 92196d66c815090b916098266c5dfb13a39bfe52 Mon Sep 17 00:00:00 2001 From: Omniscient Date: Fri, 17 May 2024 23:27:18 +1000 Subject: remove an assert on data layouts --- src/renderer/backends/backend_vulkan.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/renderer/backends/backend_vulkan.c') 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; } -- cgit v1.2.3-70-g09d2