glsl: When lowering non-constant vector indexing, respect existing conditions
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 18 Jul 2011 00:35:00 +0000 (17:35 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 23 Jul 2011 08:24:18 +0000 (01:24 -0700)
commit601428d2bbcf650c746f7a10b47228948f0ea912
tree65e67096351670961a13f0ba832500d6c6c4557b
parent5f83dfe5b70337bcffe215f7c32d0b862b5e7a3b
glsl: When lowering non-constant vector indexing, respect existing conditions

If the non-constant index was in the LHS of an assignment, any
existing condititon on that assignment would be lost.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/lower_vec_index_to_cond_assign.cpp