diff options
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 |