i965: Make setup_vec4_uniform_value and _image_uniform_values take an offset
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 19 Aug 2015 17:32:32 +0000 (10:32 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 25 Aug 2015 17:18:27 +0000 (10:18 -0700)
commitc56899f41a904762225267cb9c543a0abd901ad5
tree3e018d19740b181fcdb944ee5aead90b50feef1f
parent8d8b8f58540abbdb8a006a38830a08346a0edf34
i965: Make setup_vec4_uniform_value and _image_uniform_values take an offset

This way they don't implicitly increment the uniforms variable and don't
have to be called in-sequence during uniform setup.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
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
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp