summaryrefslogtreecommitdiff
path: root/src/renderer/ral.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/ral.c')
-rw-r--r--src/renderer/ral.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/renderer/ral.c b/src/renderer/ral.c
index fe12b4f..123c932 100644
--- a/src/renderer/ral.c
+++ b/src/renderer/ral.c
@@ -68,4 +68,9 @@ void resource_pools_init(arena* a, struct resource_pools* res_pools) {
res_pools->textures = tex_pool;
// context.resource_pools = res_pools;
-} \ No newline at end of file
+}
+
+void print_shader_binding(shader_binding b) {
+ printf("Binding name: %s type %s vis %d stores data %d\n", b.label,
+ shader_binding_type_name[b.type], b.vis, b.stores_data);
+}