Summary: | Crash in glLinkProgram (NEW) | ||
---|---|---|---|
Product: | Mesa | Reporter: | x414e54 |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | 10.6 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Shader Crash Sample |
Description
x414e54
2015-07-04 11:49:11 UTC
It looks this is a bug in Mesa. I've filed a patch for it here: http://lists.freedesktop.org/archives/mesa-dev/2015-July/088138.html The buggy code looks like it is trying to match expressions that look like this: floor(abs(x) + 0.5) * sign(x) However the check for the + in the middle is broken so I think it will crash with anything that looks like this floor(<any unary operation>) * sign(x) Maybe if you want to make a workaround you could rearrange the expression so that it doesn't match that somehow? I've pushed the patch here: http://cgit.freedesktop.org/mesa/mesa/commit/?id=18039078e0254c7cb5e15b7186be |
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.