mesa/src
Chris Forbes adefccd12a i965: Handle nested uniform array indexing
When converting a uniform array reference to a pull constant load, the
`reladdr` expression itself may have its own `reladdr`, arbitrarily
deeply. This arises from expressions like:

   a[b[x]]     where a, b are uniform arrays (or lowered const arrays),
               and x is not a constant.

Just iterate the lowering to pull constants until we stop seeing these
nested. For most shaders, there will be only one pass through this loop.

Fixes the piglit test:
tests/spec/glsl-1.20/linker/double-indirect-1.shader_test

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Cc: "10.3 10.4" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2014-11-24 21:07:29 +13:00
..
egl egl: remove egl_gallium from the loader 2014-11-14 16:16:12 +01:00
gallium r600g: do all CUBE ALU operations before gradient texture operations (v2.1) 2014-11-24 13:33:07 +10:00
gbm dri/kms: Always zero out struct drm_mode_create_dumb 2014-11-16 01:03:40 +00:00
getopt
glsl glsl_compiler: Add binding hash tables to avoid SIGSEVs on linking stage 2014-11-18 08:47:04 -07:00
glx glx/dri3: Implement LIBGL_SHOW_FPS=1 for DRI3/Present. 2014-10-29 15:13:58 -07:00
gtest
hgl
loader loader: Check dlsym() did not fail in libudev_get_device_name_for_fd() 2014-09-23 10:25:02 +03:00
mapi mesa: Add support for the GL_KHR_context_flush_control extension 2014-10-28 16:40:18 +00:00
mesa i965: Handle nested uniform array indexing 2014-11-24 21:07:29 +13:00
util util: Implement unreachable for MSVC using __assume 2014-11-05 09:36:04 -08:00
Makefile.am
SConscript