From f1cb5bece520dba63fa77e4721909ab8f0a6c26f Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Mon, 17 Jun 2024 22:08:13 +1000 Subject: add plane primitive --- src/renderer/render.c | 2 +- src/renderer/static_pipeline.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/renderer') diff --git a/src/renderer/render.c b/src/renderer/render.c index 1c98b0b..f52e2be 100644 --- a/src/renderer/render.c +++ b/src/renderer/render.c @@ -62,7 +62,7 @@ bool renderer_init(renderer* ren) { resource_pools_init(&pool_arena, ren->resource_pools); // Create default rendering pipeline - /* default_pipelines_init(ren); */ + default_pipelines_init(ren); return true; } diff --git a/src/renderer/static_pipeline.h b/src/renderer/static_pipeline.h index 15e8842..bf5bc42 100644 --- a/src/renderer/static_pipeline.h +++ b/src/renderer/static_pipeline.h @@ -18,7 +18,7 @@ static shader_data_layout mvp_uniforms_layout(void* data) { my_shader_bind_group* d = (my_shader_bind_group*)data; bool has_data = data != NULL; - shader_binding b1 = { .label = "mvp_uniforms", + shader_binding b1 = { .label = "Matrices", .type = SHADER_BINDING_BYTES, .stores_data = has_data, .data = { .bytes = { .size = sizeof(mvp_uniforms) } } }; -- cgit v1.2.3-70-g09d2