Summary: | #ifdef isn't recognized in GLSL preprocessor | ||
---|---|---|---|
Product: | Mesa | Reporter: | snake5creator |
Component: | glsl-compiler | Assignee: | mesa-dev |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | major | ||
Priority: | medium | Keywords: | NEEDINFO |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
snake5creator
2011-08-21 06:38:40 UTC
What version of Mesa are you using? #ifdef does work; we have any number of tests that use it. Additionally, I ran your example snippet through glcpp in Mesa master and it works fine. So there must be something else going on with your shader. If possible, please attach it. I was using the latest version of Mesa according to Synaptic. However, I reinstalled everything and the bug seems to be gone. So either it was a temporary problem with the configuration or something that could happen if fglrx wouldn't be properly uninstalled, but in any case, the problem is solved. |
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.