diff options
author | Ilia Mirkin <[email protected]> | 2015-09-14 16:23:04 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-11-12 17:58:23 -0500 |
commit | e3d9dbe3046c4fd10c6b4c66d8016e908ea7c140 (patch) | |
tree | 447ddd78a7f4d668f4b37d1198fc15620115e15f /src/mesa/state_tracker | |
parent | 20748318c5b870fc27f699637041e67a67321f5f (diff) |
gallium: add support for gl_HelperInvocation semantic
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Glenn Kennard <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index b56512706b0..3ad1afdecda 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -4408,7 +4408,7 @@ const unsigned _mesa_sysval_to_semantic[SYSTEM_VALUE_MAX] = { TGSI_SEMANTIC_SAMPLEID, TGSI_SEMANTIC_SAMPLEPOS, TGSI_SEMANTIC_SAMPLEMASK, - 0, /* gl_HelperInvocation */ + TGSI_SEMANTIC_HELPER_INVOCATION, /* Tessellation shaders */ @@ -5139,6 +5139,8 @@ st_translate_program( TGSI_SEMANTIC_BASEVERTEX); assert(_mesa_sysval_to_semantic[SYSTEM_VALUE_TESS_COORD] == TGSI_SEMANTIC_TESSCOORD); + assert(_mesa_sysval_to_semantic[SYSTEM_VALUE_HELPER_INVOCATION] == + TGSI_SEMANTIC_HELPER_INVOCATION); t = CALLOC_STRUCT(st_translate); if (!t) { |