[Bug 97309] piglit.spec.glsl-1_30.compiler.switch-statement.switch-case-duplicated.vert regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 17 10:21:26 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97309

Tapani Pälli <lemody at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|eric at anholt.net             |lemody at gmail.com
             Status|NEW                         |ASSIGNED

--- Comment #2 from Tapani Pälli <lemody at gmail.com> ---
The problem here is they way switch label hashtable is built, it uses case
label as the key and in the test this key is '0'. Now when new hash table
searches entries it has a check 'entry_is_present' that checks if key != NULL
and this fails in the particular case where case label is 0. One easy way is
just to store key + 1 to avoid using 0, I'll investigate if there would be
nicer way.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160817/9db8a1ec/attachment.html>


More information about the intel-3d-bugs mailing list