From 0cbc42e89dcdeb47aaa63bb21b5fb911768ea4df Mon Sep 17 00:00:00 2001 From: Omni Date: Sun, 23 Jun 2024 17:22:36 +1000 Subject: depth map is working again --- src/renderer/backends/opengl/backend_opengl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/renderer/backends/opengl/backend_opengl.h') diff --git a/src/renderer/backends/opengl/backend_opengl.h b/src/renderer/backends/opengl/backend_opengl.h index a5a9140..8b88cf8 100644 --- a/src/renderer/backends/opengl/backend_opengl.h +++ b/src/renderer/backends/opengl/backend_opengl.h @@ -24,12 +24,12 @@ typedef struct gpu_pipeline { gpu_renderpass* renderpass; vertex_description vertex_desc; buffer_handle uniform_bindings[MAX_PIPELINE_UNIFORM_BUFFERS]; + u32 uniform_count; bool wireframe; } gpu_pipeline; typedef struct gpu_renderpass { u32 fbo; gpu_renderpass_desc description; - void *pad; } gpu_renderpass; typedef struct gpu_cmd_encoder { gpu_pipeline *pipeline; @@ -48,6 +48,7 @@ typedef struct gpu_buffer { u32 vao; u32 ubo_binding_point }; // Optional + char* name; u64 size; } gpu_buffer; typedef struct gpu_texture { -- cgit v1.2.3-70-g09d2