From 5bc8f90c38981045515bab04d26687f929f62ec1 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 21 Dec 2024 21:25:22 +1100 Subject: render a triangle --- sc/sh_enums.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'sc/sh_enums.h') 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 -- cgit v1.2.3-54-g00ecf