glsl: Mark entire UBO array active if indexed with non-constant.
authorChris Forbes <chrisf@ijw.co.nz>
Fri, 16 May 2014 09:28:09 +0000 (21:28 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 26 Jul 2014 04:46:03 +0000 (16:46 +1200)
commit9c90a633786ab8e204c118ec92015eb3ae194349
treea4851f6d4c59c87ce8b2a008ec1f173441b16361
parent8eae5ceb99b71854db566e18222f400641c23f39
glsl: Mark entire UBO array active if indexed with non-constant.

Without doing a lot more work, we have no idea which indices may
be used at runtime, so just mark them all.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/link_uniform_block_active_visitor.cpp