[Mesa-dev] [PATCH 09/29] i965: Define the setup_vector_uniform_values() backend_visitor interface.

Kenneth Graunke kenneth at whitecape.org
Mon May 4 15:37:46 PDT 2015


On Saturday, May 02, 2015 06:29:36 PM Francisco Jerez wrote:
> 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.
> ---
>  src/mesa/drivers/dri/i965/brw_fs.cpp           | 12 ++++++++
>  src/mesa/drivers/dri/i965/brw_fs.h             |  4 +++
>  src/mesa/drivers/dri/i965/brw_shader.h         |  4 +++
>  src/mesa/drivers/dri/i965/brw_vec4.h           |  3 ++
>  src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 40 ++++++++++++++------------
>  5 files changed, 44 insertions(+), 19 deletions(-)

Definitely nicer.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150504/e2a7a782/attachment.sig>


More information about the mesa-dev mailing list