i965: move compiled_once flag to brw_program
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 4 Nov 2016 02:37:21 +0000 (13:37 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 29 Dec 2016 23:57:16 +0000 (10:57 +1100)
commit718a0cf49f88ff456582366db45c31f881561ebf
treec582dae6c39e1881d34d1de7d477bb8959217c5e
parent8417bf528eb155028d56acaa4cbe05eb3536093b
i965: move compiled_once flag to brw_program

This allows us to delete brw_shader and removes the last use of
gl_linked_shader in the codegen paths.

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_link.cpp
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