[Mesa-dev] [RFC 0/2] Use hash tables for opt_constant_propagation() acp sets

Rhys Kidd rhyskidd at gmail.com
Sun Sep 20 02:54:55 PDT 2015


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 <rhyskidd at 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



More information about the mesa-dev mailing list