Summary: | ir_dereference_record nullptr segfault in radeonsi_dri.so | ||
---|---|---|---|
Product: | Mesa | Reporter: | claude |
Component: | glsl-compiler | Assignee: | mesa-dev |
Status: | RESOLVED MOVED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | danylo.piliaiev |
Version: | 18.1 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
tarball of GLSL source code for use in Fragmentarium
processed fragment shader than glslangValidator doesn't complain about |
Description
claude
2018-10-19 12:55:27 UTC
It is probably an issue described and fixed in commit https://gitlab.freedesktop.org/mesa/mesa/commit/6f3c7374b11299c21d829db794fad3b756af60fb The shaders in the tarball require some post-processing so I cannot quickly test it to confirm. I managed to use glslangValidator to debug the issue. The cause was referencing a non-existent "position" field in struct Ray (the V variable in those functions). Replacing it with the correct field name, "origin", stopped it crashing. A different struct Surface has a "position" field of type vec3, the same type as the "origin" field of struct Ray. Created attachment 142096 [details]
processed fragment shader than glslangValidator doesn't complain about
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/821. |
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.