https://bugs.freedesktop.org/show_bug.cgi?id=43477
Bug #: 43477 Summary: rendering errors in unigine tropics and sanctuary (regression) Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: aaalmosss@gmail.com
Some shaders fail to compile with mesa 7.12-dev, this is printed to console a couple of times: GLShader::loadFragment(): error in "core/shaders/meshes/fragment_base_light_omni.shader" file defines: UNKNOWN,QUALITY_LOW,QUALITY_MEDIUM,QUALITY_HIGH,MULTISAMPLE_0,USE_INSTANCING,USE_TEXTURE_ARRAY,USE_DEFERRED,USE_TRANSLUCENT,USE_PARALLAX,USE_REFLECTION,OPENGL,USE_PSEUDO_INSTANCING,USE_PSEUDO_TRANSFORM,BASE_LIGHT_OMNI,OMNI,SHADOW,PHONG_RIM 0:460(18): error: syntax error, unexpected NEW_IDENTIFIER
In tropics the night scenes are rendered incorrectly, in sanctuary almost everything is gray. With 7.11 these demos render correctly. Tested on hd6850.
https://bugs.freedesktop.org/show_bug.cgi?id=43477
--- Comment #1 from Alex Deucher agd5f@yahoo.com 2011-12-02 12:52:02 PST --- Can you bisect?
https://bugs.freedesktop.org/show_bug.cgi?id=43477
--- Comment #2 from Vadim ptpzz@yandex.ru 2011-12-02 17:04:58 PST --- Probably this is a known bug with GL_EXT_TEXTURE_ARRAY in Unigine engines and glsl < 1.30. IIRR they are using the extension without enabling it in the shaders.
Disabling the extension completely with the environment variable should help:
MESA_EXTENSION_OVERRIDE=-GL_EXT_texture_array
https://bugs.freedesktop.org/show_bug.cgi?id=43477
--- Comment #3 from almos aaalmosss@gmail.com 2011-12-03 03:35:29 PST --- (In reply to comment #2)
Probably this is a known bug with GL_EXT_TEXTURE_ARRAY in Unigine engines and glsl < 1.30. IIRR they are using the extension without enabling it in the shaders.
Disabling the extension completely with the environment variable should help:
MESA_EXTENSION_OVERRIDE=-GL_EXT_texture_array
Yes, disabling that extension fixes the problem. Is it so rare that an opengl implementation supports GL_EXT_TEXTURE_ARRAY but not glsl 1.30? The extension spec is written against glsl 1.10.
BTW, how far is r600g from supporting glsl 1.30? AFAIK the intel driver already advertises glsl 1.30 support.
https://bugs.freedesktop.org/show_bug.cgi?id=43477
--- Comment #4 from imamdxl8805@gmail.com 2012-05-03 18:58:13 PDT --- same result with Intel GMA 4500 with Mesa 8-series and Mesa 8.1-devel from git
https://bugs.freedesktop.org/show_bug.cgi?id=43477
--- Comment #5 from maximlevitsky@gmail.com 2012-08-14 04:51:48 UTC --- This still happens on nouveau, despite OpenGL 3.0 advertised.
https://bugs.freedesktop.org/show_bug.cgi?id=43477
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Component|Drivers/Gallium/r600 |Mesa core
dri-devel@lists.freedesktop.org