i965/shader: Pull setup_image_uniform_values out of backend_shader
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 30 Sep 2015 18:46:36 +0000 (11:46 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 2 Oct 2015 21:19:39 +0000 (14:19 -0700)
commit58cea0c2b63db236e6efcae930c5fb936181c2a9
treecda2d08efca43a70b53f6d732bb2cb1fb3945037
parent5609e0d7b41e861a3359991e8d0f2053b255fc31
i965/shader: Pull setup_image_uniform_values out of backend_shader

I tried to do this once before but Curro pointed out that having it in
backend_shader meant it could use the setup_vec4_uniform_values helper
which did different things in vec4 and fs.  Now the setup_uniform_values
function differs only by an assert in the two backends so there's no real
good reason to be using it anymore.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_shader.h