diff options
author | Tapani Pälli <[email protected]> | 2016-08-19 13:44:54 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2016-08-22 07:36:33 +0300 |
commit | 68233801aeb73961cd47dbba276e5d6fcf5411fc (patch) | |
tree | ba1e37e65ed36059e51c5740bdaf88486198570e /src/mapi/mapi.c | |
parent | a5f445640e8e74a2fe44b684db973c3a518dd1d8 (diff) |
glsl: fix key used for hashing switch statement cases
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97309
Diffstat (limited to 'src/mapi/mapi.c')
0 files changed, 0 insertions, 0 deletions