r268992 added a definition of the function min() inside the shader, as that function is not defined in GLES2. But when using GLES we don't check for the version, so the new function is defined for every version, causing an error when GLES is bigger than 3.0 and the function is already defined.
I'll go for the simpler path and remove the usage of the min function, so we don't need to add version checks when using GLES.
Created attachment 412419 [details]
Committed r269040: <https://trac.webkit.org/changeset/269040>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 412419 [details].