Summary: | Mesa freezes in "vtn_cfg_walk_blocks" with Sacha Willems' hdr, parallaxmapping and specializationconstants Vulkan demos | ||
---|---|---|---|
Product: | Mesa | Reporter: | Eero Tamminen <eero.t.tamminen> |
Component: | Drivers/DRI/i965 | Assignee: | Juan A. Suarez <jasuarez> |
Status: | VERIFIED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Fix for the hang (don't continue without incrementing the loop counter) |
Description
Eero Tamminen
2017-12-21 12:57:41 UTC
Manual bisect gave following commit as culprit: ----------------------------------------------- commit 9702fac68e8bd07be8871f7925d7f9fb98da3699 Author: Juan A. Suarez Romero <jasuarez@igalia.com> AuthorDate: Tue Dec 19 17:55:24 2017 +0000 Commit: Juan A. Suarez Romero <jasuarez@igalia.com> CommitDate: Wed Dec 20 10:39:15 2017 +0100 spirv: consider bitsize when handling OpSwitch cases When walking over all the cases in a OpSwitch, take in account the bitsize of the literals to avoid getting wrong cases. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> ----------------------------------------------- I sent a fix for it to mesa-dev: https://patchwork.freedesktop.org/patch/194610/ There's nothing in the CTS or crucible that reproduces this bug? We really should add something. Created attachment 136365 [details] [review] Fix for the hang (don't continue without incrementing the loop counter) According to Mark, commit 9702fac68e8bd07be8871f7925d7f9fb98da3699 hangs vulkancts and crucible on all platforms. I've pushed a revert of Mark's revert squashed together with Eero's patch: commit 5c5f2eaa08fb6c1b1241c424dd4b33d326a15b7d Author: Eero Tamminen <eero.t.tamminen@intel.com> Date: Tue Dec 26 07:21:21 2017 -0800 spirv: consider bitsize when handling OpSwitch cases This reverts commit 7665383a33f9ce9256aa121cbe4d3bd948dff145 and is squashed together with https://patchwork.freedesktop.org/patch/194610/ (spirv: avoid infinite loop / freeze in vtn_cfg_walk_blocks()) which fixes https://bugs.freedesktop.org/show_bug.cgi?id=104359 properly. Fixes: 9702fac68e (spirv: consider bitsize when handling OpSwitch cases) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104359 Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Verified. Thanks for the squash & push! (My new-year resolution is to never again to mess Mesa patch sending like I did with this.) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.