summaryrefslogtreecommitdiff
path: root/src/renderer/ral.c
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-06-09 11:42:17 +1000
committerOmniscient <omniscient.oce@gmail.com>2024-06-09 11:42:17 +1000
commit64830ce51a185091f54c2b42b365110d89d44f1b (patch)
tree644c4a4425c2003a649cf02af33af488cb56a148 /src/renderer/ral.c
parent859ea7e23d2bbbc4b32b43727ae50aebe399e720 (diff)
triangle on opengl works again. happy days
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);
+}