i965: switch vs over to shared shader_info
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 19 Oct 2016 01:28:14 +0000 (12:28 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 26 Oct 2016 03:29:36 +0000 (14:29 +1100)
commit0ab51f8e164b33c5e3bc6836d0574080ef9d1dd8
tree921852e9d198948f208a29b9d9f59b1820b946b6
parent92f77e9c01085c6babe6ce80dfe4e0e7abab61a1
i965: switch vs over to shared shader_info

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>
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_vs.c