[Mesa-dev] [PATCH v2 0/2] Use hash table for variable refcount rather than a linked list

Ian Romanick idr at freedesktop.org
Thu Dec 6 18:12:17 PST 2012


The series is:

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

On 12/06/2012 05:51 PM, Jordan Justen wrote:
> In the gles3conform uniform_buffer_object_max_uniform_block_size
> test case, this dramatically improves performance of the compiler
> frontend.
>
> v2:
>   * Add main/hash_table for Android (build not verified)
>   * Use delete rather than free in free_entry.
>   * Make use of hash_table_foreach where useful
>   * Replace pointer_key_compare with _mesa_key_pointer_equal
>   * Replace pointer_hash with _mesa_hash_pointer
>
> Eric Anholt (1):
>    mesa: Use the new hash table for the variable refcount visitor.
>
> Jordan Justen (1):
>    program/hash_table.c: rename to program/prog_hash_table.c
>
>   src/glsl/Makefile.am                   |    6 +-
>   src/glsl/SConscript                    |    6 +-
>   src/glsl/builtin_compiler/Makefile.am  |    3 +-
>   src/glsl/glcpp/Makefile.am             |    2 +-
>   src/glsl/ir_variable_refcount.cpp      |   35 ++++-
>   src/glsl/ir_variable_refcount.h        |   17 +--
>   src/glsl/opt_dead_code.cpp             |    6 +-
>   src/mesa/Android.libmesa_glsl_utils.mk |    6 +-
>   src/mesa/SConscript                    |    2 +-
>   src/mesa/program/hash_table.c          |  235 --------------------------------
>   src/mesa/program/prog_hash_table.c     |  235 ++++++++++++++++++++++++++++++++
>   src/mesa/sources.mak                   |    2 +-
>   12 files changed, 289 insertions(+), 266 deletions(-)
>   delete mode 100644 src/mesa/program/hash_table.c
>   create mode 100644 src/mesa/program/prog_hash_table.c
>



More information about the mesa-dev mailing list