GL_OES_shader_multisample_interpolation: Include scalar swizzles as valid for interpolateAt*.

This commit is contained in:
John Kessenich
2015-08-22 16:54:35 -06:00
parent 0fc4338f3e
commit d6c37b190b
4 changed files with 25 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ void interp()
interpolateAtSample(sampInArray, 1); // ERROR
interpolateAtSample(sampInArray[i], 0);
interpolateAtSample(s1.x, 2); // ERROR
interpolateAtSample(s1.x, 2);
interpolateAtSample(scalarIn, 1);
interpolateAtOffset(sampInArray, vec2(0.2)); // ERROR