glsl/st/mesa: use common system values read field
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 20 Oct 2016 05:30:56 +0000 (16:30 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 26 Oct 2016 03:29:36 +0000 (14:29 +1100)
commit4016f08854a41b50d7636fc5e3cf0dfab5029cab
tree6ba4f8a0e77c142253615fcea4c0bc29023bdb52
parent2f59f3eee591600aa8b3a0b0a30aea321185bcb5
glsl/st/mesa: use common system values read field

And set system values read directly in shader_info.

st/mesa changes where:
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/glsl/ir_set_program_inouts.cpp
src/compiler/shader_info.c
src/mesa/main/mtypes.h
src/mesa/program/prog_to_nir.c
src/mesa/program/program.c
src/mesa/program/programopt.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_mesa_to_tgsi.c