[Mesa-dev] [PATCH v2 1/2] glsl: fix key used for hashing switch statement cases

Eric Anholt eric at anholt.net
Fri Aug 19 19:31:45 UTC 2016


Tapani Pälli <tapani.palli at intel.com> writes:

> Implementation previously used value itself as the key, however after
> hash implementation change by ee02a5e we cannot use 0 as key.
>
> v2: use constant pointer as the key and implement comparison
>     for contents (Eric Anholt)
>
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97309

These are:

Reviewed-by: Eric Anholt <eric at anholt.net>

Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160819/cbab941f/attachment.sig>


More information about the mesa-dev mailing list