[Mesa-dev] [PATCH 1/2] glsl: slim the kill_entry struct used in const propagation

Eric Anholt 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...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180709/77032a66/attachment.sig>

More information about the mesa-dev mailing list