4 // require_extensions: GL_MESA_shader_integer_functions
8 #extension GL_MESA_shader_integer_functions: require
15 in vec2 offset; // MESA_shader_integer_functions spec says nothing about the offset having to be constant.
21 res += vec4(interpolateAtOffset(v1, offset), 1, 1, 1);
22 res += vec4(interpolateAtOffset(v2, offset), 1, 1);
23 res += vec4(interpolateAtOffset(v3, offset), 1);
24 res += interpolateAtOffset(v4, offset);