I ran into a not very pleasant problem: my GLSL shaders are defined by the analyzer as C++ code (nevertheless, KDevelop understands that it is GLSL (Service > Document type > 3D graphics > GLSL)!), Respectively, I see my shader as "full of errors". I would like to disable the semantic analysis for GLSL, but there is no information on the Internet about this.
Asked
Active
Viewed 540 times
0

congard
- 945
- 2
- 10
- 28
-
1That is an [unfixed bug](https://bugs.kde.org/show_bug.cgi?id=385113) in KDevelop. – Ruslan Jul 23 '19 at 10:24
1 Answers
0
I fixed it as follows:
- Right-click on the project
- Configure project
- Cppcheck
- Include Directories
- Ignored includes - here I pasted the path to the folder with shaders

congard
- 945
- 2
- 10
- 28