| Summary: |
[GLSL] sampler is converted to int successfully |
| Product: |
Mesa
|
Reporter: |
Gordon Jin <gordon.jin> |
| Component: |
Mesa core | Assignee: |
Ian Romanick <idr> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
medium
|
CC: |
brianp
|
| 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 4.1.7 says "Samplers are not allowed to be operands in expressions". But piglit/tests/glslparsertest/shaders/dataType19.frag uses sampler in constructor expression, and it gets passed in current mesa: uniform sampler1D s; void main() { int i = int(s); // conversion not allowed }