i965: Define the setup_vector_uniform_values() backend_visitor interface.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 28 Jun 2015 18:04:17 +0000 (21:04 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:12:48 +0000 (14:12 +0300)
commita0c02d2bbb765b0e997ad524d8e51838e529d9c0
tree449b9079b4995ea469b0db327411880cb9a4f222
parentbd0d6a9cce8b28357888bb261fac639e2833c51f
i965: Define the setup_vector_uniform_values() backend_visitor interface.

This cleans up the VEC4 implementation of setup_uniform_values()
somewhat and will avoid duplication of the image uniform upload code
by having a common interface to upload a vector of uniforms on either
back-end.

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_shader.h
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp