glsl: avoid lowering texcoord array except in simple cases
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 26 Aug 2018 17:48:10 +0000 (13:48 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 30 Aug 2018 00:51:23 +0000 (20:51 -0400)
commit52a7297dc640a1ed1f9b111498091c5416afd9aa
treeec20e6e71f3f5b1d5adc5f0c43125746b15793f6
parent3731233cba04e5bc133fa631db65738f9614d0b0
glsl: avoid lowering texcoord array except in simple cases

With compat creeping up to geometry and tess shaders, lowering texcoord
accesses/writes becomes more complicated. Since it's an optimization
anyways, just avoid the complication for now.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/opt_dead_builtin_varyings.cpp