i965/wm: Make compute_barycentric_interp_modes take a nir_shader and a devinfo
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 3 Oct 2015 01:31:17 +0000 (18:31 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 3 Oct 2015 04:21:20 +0000 (21:21 -0700)
commit443d3bf3408984b11f99c1077d167d8331609007
treea9f74a4f152cdc96c2793952080cf24acd7a7667
parent1e3c1b107e075b210998998423901092b8fcd79b
i965/wm: Make compute_barycentric_interp_modes take a nir_shader and a devinfo

Now that everything comes in through NIR, we can pick this directly out of
the shader source and don't need to reference the gl_fragment_program.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm.c