diff options
author | Marek Olšák <[email protected]> | 2016-01-02 20:16:16 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-01-08 20:06:23 +0100 |
commit | 4191c1a57c1e806a078bfc5b074b557ff2b54c35 (patch) | |
tree | 08ac0529498128b05b3cc8be6152ca920c71bb99 /src/mesa/state_tracker | |
parent | c07cf5f5a92d3c7d433a05a06faf9d262a732f4a (diff) |
glsl: optionally declare gl_FragCoord & gl_FrontFacing as system values
Reviewed-by: Edward O'Callaghan <[email protected]
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 6cbc26acf79..9308eb4841e 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -4459,6 +4459,7 @@ const unsigned _mesa_sysval_to_semantic[SYSTEM_VALUE_MAX] = { /* Fragment shader */ + TGSI_SEMANTIC_POSITION, TGSI_SEMANTIC_FACE, TGSI_SEMANTIC_SAMPLEID, TGSI_SEMANTIC_SAMPLEPOS, |