[Mesa-dev] [PATCH 1/2] glsl: slim the kill_entry struct used in const propagation
eric at anholt.net
Mon Jul 9 19:51:41 UTC 2018
Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com> writes:
> Since 4654439fdd7 "glsl: Use hash tables for
> opt_constant_propagation() kill sets." uses a hash_table for storing
> kill_entries, so the structs can be simplified.
> Remove the exec_node from kill_entry since it is not used in an
> exec_list anymore.
> Remove the 'var' from kill_entry since it is now redundant with the
> key of the hash table.
> Suggested by Eric Anholt.
These are both:
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 832 bytes
Desc: not available
More information about the mesa-dev