Created attachment 117949 [details]
stdout+stderr combined from tropics
After upgrade to mesa 11RC1 with llvm 3.7RC3 unigine tropics and sanctuary show only blank white screen instead of 3d scene (buttons, fps counter and logo are shown).
Stderr is full of messages like
GLShader::loadFragment(): error in "core/shaders/render/fragment_fade.shader" file
0:129(7): error: syntax error, unexpected SAMPLE, expecting ',' or ';'
It was fine with mesa 10.6.3 and llvm 3.5.
My HW is radeon 7750, so I'm using radeonsi.
Not reproducible with r600g.
Tested with :
OpenGL renderer: Gallium 0.4 on AMD CYPRESS (DRM 2.42.0)
OpenGL core version: 3.3 (Core Profile) Mesa 11.1.0-devel (git-c8a61ea)
It's due to ARB_gpu_shader5 getting enabled, which introduces the 'sample' keyword. However the tropics shader has a variable called 'sample', which was legal back then.
ARB_gpu_shader5, in turn, gets enabled because of
<option name="force_glsl_extensions_warn" value="true" />
So ideally there'd be an extra override to disable ARB_gpu_shader5.
*** This bug has been marked as a duplicate of bug 82897 ***