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

2016-08-19 Thread Eric Anholt
Tapani Pälli 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 > Bugzill

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

2016-08-19 Thread Tapani Pälli
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 Bugzilla: https://bugs.freedesktop.org/show_