glsl: Ensure that equality comparisons don't return a NULL IR tree
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 2 Dec 2010 20:17:36 +0000 (12:17 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 7 Dec 2010 20:50:38 +0000 (12:50 -0800)
commit6d36be508ff0765beb6cf6bb95a323ff01e458dd
tree7e5ea4290dd939afe517723956359dc4e71feab5
parent72845d206e692581b6084c56b8d1f3bc689e8a03
glsl: Ensure that equality comparisons don't return a NULL IR tree

This fixes bugzilla #32035 and piglit test case array-compare-01 and
array-compare-02.

NOTE: This is a candidate for the 7.9 branch.
src/glsl/ast_to_hir.cpp