diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-17 22:08:13 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-17 22:08:13 +1000 |
commit | f1cb5bece520dba63fa77e4721909ab8f0a6c26f (patch) | |
tree | 33e0888475fcb10a4857db6d5570fa7cce459cb7 /src/renderer | |
parent | 9c8ef3cb95cff78bdc9d527b89ba30cf616e18c0 (diff) |
add plane primitive
Diffstat (limited to 'src/renderer')
-rw-r--r-- | src/renderer/render.c | 2 | ||||
-rw-r--r-- | src/renderer/static_pipeline.h | 2 |
2 files changed, 2 insertions, 2 deletions
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) } } }; |