Summary: | type mismatch of constant return value | ||
---|---|---|---|
Product: | Mesa | Reporter: | yousry <yousry_abdallah> |
Component: | glsl-compiler | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED NOTABUG | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 11.1 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
yousry
2016-03-11 10:52:05 UTC
Implicit conversions on return values was added in GLSL 4.20 and GL_ARB_shading_language_420pack. Section 1.2.6 (Summary of Changes from Version 4.10) of the GLSL 4.20 spec says, "Allow implicit conversions of return values to the declared type of the function." The overview section of the GL_ARB_shading_language_420pack spec says the same thing. Does this work if you add #extension GL_ARB_shading_language_420pack: require to the shader? GL_ARB_shading_language_420pack resolved the problem. |
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.