glsl: correctly detect inactive UBO arrays
authorTimothy Arceri <t_arceri@yahoo.com.au>
Wed, 23 Sep 2015 01:12:57 +0000 (11:12 +1000)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 24 Sep 2015 00:07:42 +0000 (10:07 +1000)
commit827d7948340f4cbc7de2d02971e4f36fbd52f7a8
tree734be032ce906a26d36cfd48f301e38830b1a957
parent71e187430cdd1d82972554d7f9e994a41847bea1
glsl: correctly detect inactive UBO arrays

Previously the code was trying to get the packing type from the array not the
interface.

Cc: Ian Romanick <ian.d.romanick@intel.com>
Cc: Antia Puentes <apuentes@igalia.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/glsl/link_uniform_block_active_visitor.cpp
src/glsl/opt_dead_code.cpp