mesa/src
Kenneth Graunke d12a19de60 glsl: Convert lower_vec_index_to_swizzle to a rvalue visitor.
The old visitor missed some cases.  For example, it wouldn't handle
an ir_dereference_array with a vector_extract as the index.

Rather than trying to add the missing cases, just rewrite it as an
ir_rvalue_visitor.  This makes it easy to replace any expression,
and is much less code.

Cc: mesa-stable@lists.freedesktop.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95164
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 1cd600dbb9)
2016-05-05 13:59:33 +01:00
..
compiler glsl: Convert lower_vec_index_to_swizzle to a rvalue visitor. 2016-05-05 13:59:33 +01:00
egl egl/x11: authenticate before doing chipset id ioctls 2016-05-05 13:59:22 +01:00
gallium gallium/radeon: fix crash in r600_set_streamout_targets 2016-05-05 13:59:33 +01:00
gbm gbm.h: Add a missing stddef.h include for size_t. 2015-10-30 19:12:14 +00:00
getopt
glx dri3: Check for dummyContext to see if the glx_context is valid 2016-05-05 13:59:32 +01:00
gtest
hgl
loader virtio_gpu: Add PCI ID to driver map 2016-01-23 12:35:24 +10:00
mapi glapi: fix _glapi_get_proc_address() for mangled function names 2016-05-05 13:59:31 +01:00
mesa st/glsl_to_tgsi: reduce stack explosion in recursive expression visitor 2016-05-05 13:59:33 +01:00
util st/glsl_to_tgsi: reduce stack explosion in recursive expression visitor 2016-05-05 13:59:33 +01:00
Makefile.am glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
SConscript glsl: move to compiler/ 2016-01-26 16:08:33 +00:00