Vignette not rendered when COGL_DRIVER=gles2
If you run env COGL_DRIVER=gles2 gnome-shell
then it generally looks the same as usual. But when you hit Alt+F2 the vignette is not rendered and errors are logged:
** (gnome-shell:39506): WARNING **: 16:43:26.274: Shader compilation failed:
0:44(42): warning: `cogl_texel0' used uninitialized
0:72(36): error: could not implicitly convert operands to arithmetic operator
0:72(18): error: operands to arithmetic operators must be numeric
** (gnome-shell:33377): WARNING **: 16:31:06.171: Failed to link GLSL program:
error: linking with uncompiled/unspecialized shader
** (gnome-shell:33377): WARNING **: 16:31:06.171: ../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:372: GL error (1282): Invalid operation
** (gnome-shell:33377): WARNING **: 16:31:06.171: ../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:387: GL error (1282): Invalid operation
** (gnome-shell:33377): WARNING **: 16:31:06.171: ../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:397: GL error (1282): Invalid operation
** (gnome-shell:33377): WARNING **: 16:31:06.171: ../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:855: GL error (1282): Invalid operation
** (gnome-shell:33377): WARNING **: 16:31:06.171: ../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:875: GL error (1282): Invalid operation
** (gnome-shell:33377): WARNING **: 16:31:06.171: ../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:875: GL error (1282): Invalid operation
** (gnome-shell:33377): WARNING **: 16:31:06.171: ../cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:879: GL error (1282): Invalid operation
....
Edited by Daniel van Vugt