glsl: optionally declare gl_FragCoord & gl_FrontFacing as system values
authorMarek Olšák <marek.olsak@amd.com>
Sat, 2 Jan 2016 19:16:16 +0000 (20:16 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 8 Jan 2016 19:06:23 +0000 (20:06 +0100)
commit4191c1a57c1e806a078bfc5b074b557ff2b54c35
tree08ac0529498128b05b3cc8be6152ca920c71bb99
parentc07cf5f5a92d3c7d433a05a06faf9d262a732f4a
glsl: optionally declare gl_FragCoord & gl_FrontFacing as system values

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com
Reviewed-by: Brian Paul <brianp@vmware.com>
src/glsl/ast_to_hir.cpp
src/glsl/builtin_variables.cpp
src/glsl/nir/shader_enums.h
src/mesa/main/mtypes.h
src/mesa/state_tracker/st_glsl_to_tgsi.cpp