diff options
author | Ian Romanick <[email protected]> | 2014-06-18 15:22:25 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-08-07 15:19:53 -0700 |
commit | 1c887ae6e24d00b661e912d35fb07fc70ff452f1 (patch) | |
tree | cf1c65a49aab5fd6efd6ddec8c2168f8eb32074e /src/mesa/state_tracker | |
parent | b7679639bcc8ac72cb08c48f9cda8eecd6a9c1e5 (diff) |
glsl_to_tgsi: Constify mesa_sysval_to_semantic
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 |
1 files changed, 1 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 c5e2eb58408..101c9f91c16 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -4238,7 +4238,7 @@ struct st_translate { }; /** Map Mesa's SYSTEM_VALUE_x to TGSI_SEMANTIC_x */ -static unsigned mesa_sysval_to_semantic[SYSTEM_VALUE_MAX] = { +static const unsigned mesa_sysval_to_semantic[SYSTEM_VALUE_MAX] = { TGSI_SEMANTIC_FACE, TGSI_SEMANTIC_VERTEXID, TGSI_SEMANTIC_INSTANCEID, |