Skip to contentSkip to conversation

New: rendering errors in unigine tropics and sanctuary (regression)

Bug 43477 [email protected] 1 participant 7 messages Dec 2, 2011 – Aug 14, 2012

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 43477] rendering errors in unigine tropics and sanctuary (regression)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43477

--- Comment #2 from Vadim <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 43477] rendering errors in unigine tropics and sanctuary (regression)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43477

--- Comment #3 from almos <[email protected]> 2011-12-03 03:35:29 PST --- (In reply to comment #2)

Quoted 7 lines

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 43477] rendering errors in unigine tropics and sanctuary (regression)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43477

--- Comment #4 from [email protected] 2012-05-03 18:58:13 PDT --- same result with Intel GMA 4500 with Mesa 8-series and Mesa 8.1-devel from git

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 43477] rendering errors in unigine tropics and sanctuary (regression)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43477

--- Comment #5 from [email protected] 2012-08-14 04:51:48 UTC --- This still happens on nouveau, despite OpenGL 3.0 advertised.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 43477] rendering errors in unigine tropics and sanctuary (regression)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43477

Andreas Boll <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         AssignedTo|[email protected] |[email protected].
                   |.org                        |org
          Component|Drivers/Gallium/r600        |Mesa core
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.