summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-01-02 20:16:16 +0100
committerMarek Olšák <[email protected]>2016-01-08 20:06:23 +0100
commit4191c1a57c1e806a078bfc5b074b557ff2b54c35 (patch)
tree08ac0529498128b05b3cc8be6152ca920c71bb99 /src/glsl/nir
parentc07cf5f5a92d3c7d433a05a06faf9d262a732f4a (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/glsl/nir')
-rw-r--r--src/glsl/nir/shader_enums.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/nir/shader_enums.h b/src/glsl/nir/shader_enums.h
index 0be217c0cf7..8a2a81a333d 100644
--- a/src/glsl/nir/shader_enums.h
+++ b/src/glsl/nir/shader_enums.h
@@ -412,7 +412,8 @@ typedef enum
* \name Fragment shader system values
*/
/*@{*/
- SYSTEM_VALUE_FRONT_FACE, /**< (not done yet) */
+ SYSTEM_VALUE_FRAG_COORD,
+ SYSTEM_VALUE_FRONT_FACE,
SYSTEM_VALUE_SAMPLE_ID,
SYSTEM_VALUE_SAMPLE_POS,
SYSTEM_VALUE_SAMPLE_MASK_IN,