vrend: Fix sample mask access in shaders

Closed Gert Wollny requested to merge gerddie/virglrenderer:fix-extension-on-gles31 into master

I added a second commit since it touches the same code and fixes tests from the same series.

The first commit adds some required extensions when we are on GLSL 3.10, the second patch fixes the operator type, since the AND operator requires in GLSL 3.X ES that both operands are of the same type.

Edited by Gert Wollny

Merge request reports