--- .../glsl-1.10/execution/sequence-operator.shader_test | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/spec/glsl-1.10/execution/sequence-operator.shader_test
diff --git a/tests/spec/glsl-1.10/execution/sequence-operator.shader_test b/tests/spec/glsl-1.10/execution/sequence-operator.shader_test new file mode 100644 index 0000000..bbddb9d --- /dev/null +++ b/tests/spec/glsl-1.10/execution/sequence-operator.shader_test @@ -0,0 +1,15 @@ +[require] +GLSL >= 1.10 + +[fragment shader] +void main() +{ + float x, y, z; + x = 1.0, y = 0.5, z = x * y; + gl_FragColor = vec4(z); +} + + +[test] +draw rect -1 -1 2 2 +relative probe rgba (0.5, 0.5) (0.5, 0.5, 0.5, 0.5) -- 2.7.4 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit