r200/i915/st/mesa/compiler: use common inputs read field
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 20 Oct 2016 03:24:03 +0000 (14:24 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 26 Oct 2016 03:29:36 +0000 (14:29 +1100)
commite81aaeba37f5419323d8f88bc10943c77e25ed14
tree3dc9c65fd0984128fb559aa71ed4ae4c7493995e
parentdfcbdba47119de6c1d81a869f8625bcc3d7560a2
r200/i915/st/mesa/compiler: use common inputs read field

And set set inputs_read directly in shader_info.

To avoid regressions between changes this change is a squashed
version of the following patches.

st/mesa changes where:
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
30 files changed:
src/compiler/glsl/ir_set_program_inouts.cpp
src/compiler/shader_info.c
src/mesa/drivers/dri/i915/i915_fragprog.c
src/mesa/drivers/dri/i915/i915_state.c
src/mesa/drivers/dri/i915/intel_tris.c
src/mesa/drivers/dri/r200/r200_vertprog.c
src/mesa/main/context.c
src/mesa/main/ffvertex_prog.c
src/mesa/main/mtypes.h
src/mesa/main/state.h
src/mesa/main/texstate.c
src/mesa/program/arbprogparse.c
src/mesa/program/prog_print.c
src/mesa/program/prog_to_nir.c
src/mesa/program/program_parse.y
src/mesa/program/programopt.c
src/mesa/state_tracker/st_atifs_to_tgsi.c
src/mesa/state_tracker/st_atom_rasterizer.c
src/mesa/state_tracker/st_cb_drawtex.c
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_mesa_to_tgsi.c
src/mesa/state_tracker/st_program.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_fragprog.c
src/mesa/tnl/t_context.c
src/mesa/tnl/t_vb_program.c
src/mesa/vbo/vbo_attrib.h
src/mesa/vbo/vbo_exec_draw.c
src/mesa/vbo/vbo_save_draw.c