As can be seen from the giant pile of tests recently sent to the piglit mailing list for review, the lower_variable_index_to_cond_assign pass had some issues. With this patch series, *all* of the variable indexing tests posted to the piglit list pass with (classic) swrast. 102 additional tests pass on the i965 driver.
See also: http://people.freedesktop.org/~idr/variable-indexing-results/ src/glsl/lower_variable_index_to_cond_assign.cpp | 176 ++++++++++++++++++---- src/glsl/lower_vec_index_to_cond_assign.cpp | 29 +++- src/mesa/drivers/dri/i965/brw_vs_emit.c | 12 +- src/mesa/program/ir_to_mesa.cpp | 14 ++- 4 files changed, 195 insertions(+), 36 deletions(-) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev