Skip to content
Snippets Groups Projects
Commit e20f30eb authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

i965: Use hash tables for brw_fs_vector_splitting().

Cuts compile/link time of the fragment shader in #91857 by 25%
(21.64 -> 16.28).

v2: Drop unnecessary _mesa_hash_table_destroy call, and use
    refs.ht->entries == 0 rather than ad-hoc checking (suggested by
    Timothy Arceri).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91857


Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Reviewed-by: default avatarThomas Helland <thomashelland90@gmail.com>
Reviewed-by: default avatarTimothy Arceri <t_arceri@yahoo.com.au>
Tested-by: default avatarTapani Pälli <tapani.palli@intel.com>
parent 2fc0ce29
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment