Summary: |
GLSL function call at global scope causes SEGV |
Product: |
Mesa
|
Reporter: |
Ian Romanick <idr> |
Component: |
Mesa core | Assignee: |
mesa-dev |
Status: |
RESOLVED
FIXED
|
QA Contact: |
|
Severity: |
normal
|
|
|
Priority: |
medium
|
|
|
Version: |
git | |
|
Hardware: |
Other | |
|
OS: |
All | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Bug Depends on: |
|
|
|
Bug Blocks: |
29044
|
|
|
Attachments: |
Offending shader code
|
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.
Created attachment 17900 [details] Offending shader code The attached vertex shader causes the GLSL compiler to segfault. Simply copy the shader to progs/demos/vstest.txt and run progs/demos/vstest. The problem seems to be that 'mat2 foo = bar();' is at global scope (i.e., not inside a function). I think this is valid GLSL, but, even if it isn't, it shouldn't cause the compiler to segfault.