Kenneth Graunke in 4654439fdd766f79a78fe0d812fd916f5815e7e6 refactored
kill sets in opt_constant_propagation() to use hash tables. This patch set
makes the suggested changes to use hash tables for acp sets, as well as
correcting documentation within the file for recent hash table changes.

RFC as I do not have access to hardware sufficient to test performance
improvements to the shader suggested in #91857 (GLSL 3.30 required).

No piglit regressions on Intel Ironlake.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91857
Signed-off-by: Rhys Kidd <rhysk...@gmail.com>

Rhys Kidd (2):
  glsl: Use hash tables for opt_constant_propagation() acp sets.
  glsl: Update kill set comments for opt_constant_propagation() hash
    table.

 src/glsl/opt_constant_propagation.cpp | 69 +++++++++++++++++++++--------------
 1 file changed, 41 insertions(+), 28 deletions(-)

-- 
2.1.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to