summaryrefslogtreecommitdiff
path: root/src/render/renderpasses.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-19 14:33:34 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-19 14:33:34 +1000
commit82515f9d90ac149984013f0d64c1cab37b349b29 (patch)
tree6da445874d055e3e66ab1825d4aa3bb784955fc9 /src/render/renderpasses.h
parent5359c011a08ef2e06ed54104cc16c32868ca88ff (diff)
chore clang format + tidy
Diffstat (limited to 'src/render/renderpasses.h')
-rw-r--r--src/render/renderpasses.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/renderpasses.h b/src/render/renderpasses.h
index 5a5ffee..1ceea6c 100644
--- a/src/render/renderpasses.h
+++ b/src/render/renderpasses.h
@@ -23,7 +23,6 @@ gpu_renderpass* renderpass_blinn_phong_create();
void renderpass_blinn_phong_execute(gpu_renderpass* pass, render_entity* entities,
size_t entity_count);
-
typedef struct ren_shadowmaps {
u32 width;
u32 height;
@@ -41,11 +40,11 @@ typedef struct lightspace_tf_uniform {
} lightspace_tf_uniform;
typedef struct debug_quad_uniform {
- texture_handle depthMap;
+ texture_handle depthMap;
} debug_quad_uniform;
shader_data_layout model_uniform_layout(void* data);
-shader_data_layout lightspace_uniform_layout(void* data);
+shader_data_layout lightspace_uniform_layout(void* data);
shader_data_layout debug_quad_layout(void* data);
void ren_shadowmaps_init(ren_shadowmaps* storage);
@@ -53,4 +52,5 @@ void ren_shadowmaps_init(ren_shadowmaps* storage);
gpu_renderpass* shadowmaps_renderpass_create();
gpu_pipeline* shadowmaps_pipeline_create(gpu_renderpass* rpass);
-void renderpass_shadowmap_execute(gpu_renderpass* pass, render_entity* entities, size_t entity_count);
+void renderpass_shadowmap_execute(gpu_renderpass* pass, render_entity* entities,
+ size_t entity_count);