mesa/src
Kenneth Graunke 335193107a i965: Copy propagate before doing variable index lowering.
The scalar backend currently doesn't support variable indexing on
temporary arrays, but it does support it on uniform arrays, and
some stages support it for input arrays.  Make sure these are
propagated through before exploding indirects into piles of
if-ladders unnecessarily.

On Broadwell, no instruction count change in shader-db.

total cycles in shared programs: 80675652 -> 80674928 (-0.00%)
cycles in affected programs: 649972 -> 649248 (-0.11%)
helped: 386
HURT: 165

This will help avoid code quality regressions in a future commit.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
(cherry picked from commit f7741c5211)
2016-06-24 21:25:00 +01:00
..
compiler glsl: Propagate invariant/precise after lowering const arrays. 2016-06-24 21:24:09 +01:00
egl egl: android: don't add the image loader extension for !render_node 2016-06-07 12:35:40 +01:00
gallium swr: push/pop DEBUG macro around llvm includes 2016-06-24 21:20:28 +01:00
gbm gbm: remove define _DEFAULT_SOURCE 2016-05-23 12:09:11 +01:00
getopt
glx glx: fix crash with bad fbconfig 2016-06-14 15:48:39 +01:00
gtest
hgl
intel anv: Use different BOs for different scratch sizes and stages 2016-06-24 20:57:17 +01:00
loader loader: add a libdrm case for loader_get_device_name_for_fd 2016-04-21 14:41:41 +01:00
mapi mesa: add drawbuffer argument to ClearNamedFramebufferfi 2016-06-15 09:29:10 +01:00
mesa i965: Copy propagate before doing variable index lowering. 2016-06-24 21:25:00 +01:00
util mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
Makefile.am automake: get in-tree `make distclean' working again. 2016-06-15 09:29:11 +01:00
SConscript glsl: move to compiler/ 2016-01-26 16:08:33 +00:00