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 <kenn...@whitecape.org>
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev