| Summary: |
[GLSL] allowing non-void function without returning value |
| Product: |
Mesa
|
Reporter: |
Gordon Jin <gordon.jin> |
| Component: |
Mesa core | Assignee: |
Ian Romanick <idr> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
|
| Severity: |
minor
|
|
|
| Priority: |
medium
|
CC: |
brianp, vlee
|
| Version: |
git | |
|
| Hardware: |
All | |
|
| OS: |
All | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Bug Depends on: |
|
|
|
| Bug Blocks: |
29044
|
|
|
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.
GLSL spec (1.10 to 1.50) 6.1 says: Function that return no value must be declared as void. But this gets passed with mesa: int function(out int i) { // function should return a value } This impacts piglit/tests/glslparsertest/shaders/function5.frag