diff options
author | quou <quou@disroot.org> | 2024-12-21 21:25:22 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-21 21:25:22 +1100 |
commit | 5bc8f90c38981045515bab04d26687f929f62ec1 (patch) | |
tree | d1d603ded306ae218e75f7eff4b69807f2a14e26 /sc/sh_enums.h | |
parent | 3283c6c8c32f980bd01591e441acd9c712c650ef (diff) |
render a triangle
Diffstat (limited to 'sc/sh_enums.h')
-rw-r--r-- | sc/sh_enums.h | 11 |
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 |