diff options
author | Jordan Justen <[email protected]> | 2014-01-25 12:43:26 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2014-02-20 10:33:09 -0800 |
commit | d09901993539385c015c6389310c186cba9bb263 (patch) | |
tree | 45a4aa16092d320467c4e3bcbe216cad9663b6fd /src/mesa | |
parent | 22388e2208a9a321240ec505f513fa5de5af8946 (diff) |
glsl: add gl_InvocationID variable for ARB_gpu_shader5
v2:
* Make gl_InvocationID a system value
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index bc029698da1..4c5f02811ef 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2013,6 +2013,7 @@ typedef enum SYSTEM_VALUE_SAMPLE_ID, /**< Fragment shader only */ SYSTEM_VALUE_SAMPLE_POS, /**< Fragment shader only */ SYSTEM_VALUE_SAMPLE_MASK_IN, /**< Fragment shader only */ + SYSTEM_VALUE_INVOCATION_ID, /**< Geometry shader only */ SYSTEM_VALUE_MAX /**< Number of values */ } gl_system_value; |