[Mesa-dev] [PATCH 0/8] Fix non-constant array-of-matrix accesses

Ian Romanick idr at freedesktop.org
Mon Jul 18 14:15:19 PDT 2011


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(-)



More information about the mesa-dev mailing list