diff options
-rw-r--r-- | src/glsl/shader_enums.c | 1 | ||||
-rw-r--r-- | src/glsl/shader_enums.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/glsl/shader_enums.c b/src/glsl/shader_enums.c index 530fd9e4081..c196b791d4f 100644 --- a/src/glsl/shader_enums.c +++ b/src/glsl/shader_enums.c @@ -169,6 +169,7 @@ const char * gl_system_value_name(gl_system_value sysval) ENUM(SYSTEM_VALUE_TESS_LEVEL_INNER), ENUM(SYSTEM_VALUE_LOCAL_INVOCATION_ID), ENUM(SYSTEM_VALUE_WORK_GROUP_ID), + ENUM(SYSTEM_VALUE_VERTEX_CNT), }; return NAME(sysval); } diff --git a/src/glsl/shader_enums.h b/src/glsl/shader_enums.h index 385ca972809..39780076e74 100644 --- a/src/glsl/shader_enums.h +++ b/src/glsl/shader_enums.h @@ -412,6 +412,12 @@ typedef enum SYSTEM_VALUE_WORK_GROUP_ID, /*@}*/ + /** + * Driver internal vertex-count, used (for example) for drivers to + * calculate stride for stream-out outputs. Not externally visible. + */ + SYSTEM_VALUE_VERTEX_CNT, + SYSTEM_VALUE_MAX /**< Number of values */ } gl_system_value; |