Re: [Mesa-dev] [PATCH 10/15] i965/vec4: Remove broken vector size deduction in setup_builtin_uniform_values().

2015-03-23 Thread Francisco Jerez
Matt Turner matts...@gmail.com writes: On Fri, Mar 20, 2015 at 7:11 AM, Francisco Jerez curroje...@riseup.net wrote: This seemed to be trying to deduce the number of uniform vector components from the parameter swizzle, but the algorithm would always give 4 as result. Instead grab the

Re: [Mesa-dev] [PATCH 10/15] i965/vec4: Remove broken vector size deduction in setup_builtin_uniform_values().

2015-03-21 Thread Matt Turner
On Fri, Mar 20, 2015 at 7:11 AM, Francisco Jerez curroje...@riseup.net wrote: This seemed to be trying to deduce the number of uniform vector components from the parameter swizzle, but the algorithm would always give 4 as result. Instead grab the correct number of components from the GLSL

[Mesa-dev] [PATCH 10/15] i965/vec4: Remove broken vector size deduction in setup_builtin_uniform_values().

2015-03-20 Thread Francisco Jerez
This seemed to be trying to deduce the number of uniform vector components from the parameter swizzle, but the algorithm would always give 4 as result. Instead grab the correct number of components from the GLSL type. --- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 23