mesa/src
Ian Romanick e0131196ca glsl: Generated masked write instead of vector array index for UBO lowering
When reading a column from a row-major matrix, we would slot the single
value read into the vector using an ir_dereference_array of the vector
with a constant index.  This will (eventually) get optimized to a
masked-write, so just generate the masked write in the first place.

v2: Remove unused variable 'chan'.  Suggested by Ken.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Eric Anholt <eric@anholt.net>
2013-03-29 12:01:14 -07:00
..
egl egl_dri2: Lower __DRI_IMAGE version requirement back to 1 2013-03-19 16:13:38 -04:00
gallium gallivm: consolidate some half-to-float and r11g11b10-to-float code 2013-03-29 16:39:40 +01:00
gbm gbm: Remember to init format on gbm_dri_bo_create. 2013-02-07 20:00:52 -05:00
getopt
glsl glsl: Generated masked write instead of vector array index for UBO lowering 2013-03-29 12:01:14 -07:00
glx glx: Build with VISIBILITY_CFLAGS in automake 2013-03-21 13:21:18 -04:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi gles2: Add an ABI-check test 2013-03-19 12:04:32 -07:00
mesa i965: Fix INTEL_DEBUG=shader_time for fragment shaders with discards. 2013-03-29 11:39:32 -07:00
Makefile.am automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00