i965/mesa/st/swrast: set fs shader_info directly and switch to using it
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 19 Oct 2016 02:45:18 +0000 (13:45 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 26 Oct 2016 03:29:36 +0000 (14:29 +1100)
commit17e28a1571b6141368fefc84cc8b0a3b4e52f8ee
tree9046dd8d18afba16a7dadc3a855c01da74b3d384
parent91d5b0eda9eeb2a41342e7ab46bd1c779d8b93c9
i965/mesa/st/swrast: set fs shader_info directly and switch to using it

Note we access shader_info from the program struct rather than the
nir_shader pointer because shader cache won't create a nir_shader.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
17 files changed:
src/compiler/glsl/ir_set_program_inouts.cpp
src/compiler/shader_info.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_curbe.c
src/mesa/drivers/dri/i965/brw_sf.c
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen6_sf_state.c
src/mesa/drivers/dri/i965/gen8_sf_state.c
src/mesa/main/shaderapi.c
src/mesa/program/arbprogparse.c
src/mesa/program/ir_to_mesa.cpp
src/mesa/program/prog_to_nir.c
src/mesa/program/program.c
src/mesa/state_tracker/st_program.c
src/mesa/swrast/s_context.c