mesa/src
Danylo Piliaiev 0862929bf6 glsl: Fix copying function's out to temp if dereferenced by array
Function's out variable could be an array dereferenced by an array:
 func(v[w[i]]);
or something more complicated.

Copy index in any case.

Fixes: 76c27e47b9 ("glsl: Copy function out to temp if we don't directly ref a variable")

Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2019-01-14 12:04:07 +11:00
..
amd radv: remove a few more unnecessary KHR suffixes 2019-01-10 16:53:44 +00:00
broadcom nir: Add nir_lower_tex support for Broadcom's swizzled TG4 results. 2019-01-08 13:03:41 -08:00
compiler glsl: Fix copying function's out to temp if dereferenced by array 2019-01-14 12:04:07 +11:00
egl egl: fix python lib deprecation warning 2019-01-13 13:59:08 +00:00
freedreno freedreno: make cmdstream bo's read-only to GPU 2019-01-10 14:21:39 -05:00
gallium docs: fix gallium screen cap docs 2019-01-10 21:44:09 -05:00
gbm meson: Add tests to suites 2018-11-20 09:09:22 -08:00
getopt
glx glx/test: meson: assorted include fixes 2018-12-12 19:24:14 +00:00
gtest meson: hide warnings from external project `gtest` 2018-10-31 18:20:25 +00:00
hgl
intel i965: Drop mark_surface_used mechanism. 2019-01-13 09:35:32 -08:00
loader dri3: initialize adaptive_sync as false before configQueryb 2019-01-08 08:15:07 +02:00
mapi glapi: fixup EXT_multisampled_render_to_texture dispatch 2018-12-10 15:09:07 -08:00
mesa i965: Drop mark_surface_used mechanism. 2019-01-13 09:35:32 -08:00
util drirc: Initial blacklist for adaptive sync 2018-12-28 16:44:27 +01:00
vulkan wsi: drop unneeded KHR suffix 2019-01-08 18:48:03 +00:00
Makefile.am freedreno: move drm to common location 2018-11-27 15:44:02 -05:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00
meson.build TODO: glx: meson: build dri based glx tests, only with -Dglx=dri 2018-12-12 17:47:36 +00:00