glsl: Do not vectorize vector array dereferences.
authorMatt Turner <mattst88@gmail.com>
Mon, 10 Feb 2014 20:09:19 +0000 (12:09 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 12 Feb 2014 00:05:55 +0000 (16:05 -0800)
commit025d99ce3cea21c9ecea77b95655c0c838b2fa3c
tree782886d4a6ee80e88de592595970fa18d51f0127
parent4cffd3e791e4696ac672f2053b821937a2a5fb58
glsl: Do not vectorize vector array dereferences.

Array dereferences must have scalar indices, so we cannot vectorize
them.

Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Reported-by: Andrew Guertin <lists@dolphinling.net>
Tested-by: Andrew Guertin <lists@dolphinling.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/opt_vectorize.cpp