i965: update brw_get_shader_time_index() not to take gl_shader_program
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 20 Dec 2016 10:37:23 +0000 (21:37 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 3 Jan 2017 01:20:10 +0000 (12:20 +1100)
commit6643da6d7f3c3b9bdafb4bb9b01109e482c0b083
tree3b5872df9ebcb427347537de5c7ce6be2a06aa7a
parentcb6f49a902cae1b4df795c0e611526dca467a042
i965: update brw_get_shader_time_index() not to take gl_shader_program

This removes another dependency on gl_shader_program in the codegen
functions which will help allow us to use gl_program in the
CurrentProgram array rather than gl_shader_program.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_cs.c
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/drivers/dri/i965/brw_tcs.c
src/mesa/drivers/dri/i965/brw_tes.c
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_wm.c