您好,我在 Ubuntu 15.04 上使用英特尔笔记本电脑(i5-3317U -> HD 4000)编译着色器时遇到了一些问题
来自的日志信息glGetShaderInfoLog
说
error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
根据 mesa 11,我应该能够运行 3.30 (www.mesa3d.org/shading.html),并且据我了解,我的系统应该能够处理这些着色器。
那么有人知道问题可能是什么吗?是时候换个新系统了吗??
顺便说一句,如果它有助于glxinfo | grep OpenGL
在我的系统上运行的结果是
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.1.0-devel (git-d6a41b5 2015-09-27 vivid-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.1.0-devel (git-d6a41b5 2015-09-27 vivid-oibaf-ppa)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.1.0-devel (git-d6a41b5 2015-09-27 vivid-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions: