GNOME Bugzilla – Bug 745442
glsl, gles2: Type mismatch in arithmetic operation between 'int' and 'float'
Last modified: 2016-09-19 14:11:53 UTC
Created attachment 298268 [details] [review] Fix implicit cast int to float to cope with gles2 glsl. gles2 glsl complains thus way when I get to the overview mode of gnome-shell (mali 400 r1p1 gpu with r5p0 userpace blob): (gnome-shell:8954): Cogl-WARNING **: Shader compilation failed: 1:2: P0004: High precision not supported, instead compiling high precision as medium precision 4:17: S0001: Type mismatch in arithmetic operation between 'int' and 'float' The attach fix replace the "1 - <float>" by "1.0 - <float>" . The issue was showcased under debian mutter 3.14.2 so this affect previous releases too.
might be worth backporting to 3.14
Review of attachment 298268 [details] [review]: Looks good.
Pushed to master and cherrypicked into 3.14
Comment on attachment 298268 [details] [review] Fix implicit cast int to float to cope with gles2 glsl. Update the patch status.