summaryrefslogtreecommitdiff
path: root/sc/sh_enums.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-21 21:25:22 +1100
committerquou <quou@disroot.org>2024-12-21 21:25:22 +1100
commit5bc8f90c38981045515bab04d26687f929f62ec1 (patch)
treed1d603ded306ae218e75f7eff4b69807f2a14e26 /sc/sh_enums.h
parent3283c6c8c32f980bd01591e441acd9c712c650ef (diff)
render a triangle
Diffstat (limited to 'sc/sh_enums.h')
-rw-r--r--sc/sh_enums.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sc/sh_enums.h b/sc/sh_enums.h
index 8f3c2a5..9e62a9d 100644
--- a/sc/sh_enums.h
+++ b/sc/sh_enums.h
@@ -38,4 +38,15 @@ svariable_type_xmacro()
svariable_type_count
} SVariable_Type;
+#define sbinding_rate_xmacro() \
+ x(vertex) \
+ x(instance)
+
+typedef enum {
+#define x(n) sbinding_rate_ ## n,
+ sbinding_rate_xmacro()
+#undef x
+ sbinding_rate_count
+} SBinding_Rate;
+
#endif