summaryrefslogtreecommitdiff
path: root/tests/spec/oes_standard_derivatives/compiler/dFdy-vec2.frag
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/oes_standard_derivatives/compiler/dFdy-vec2.frag')
-rw-r--r--tests/spec/oes_standard_derivatives/compiler/dFdy-vec2.frag14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/spec/oes_standard_derivatives/compiler/dFdy-vec2.frag b/tests/spec/oes_standard_derivatives/compiler/dFdy-vec2.frag
new file mode 100644
index 000000000..9e0bc7148
--- /dev/null
+++ b/tests/spec/oes_standard_derivatives/compiler/dFdy-vec2.frag
@@ -0,0 +1,14 @@
+/* [config]
+ * expect_result: pass
+ * glsl_version: 1.00
+ * require_extensions: GL_OES_standard_derivatives
+ * [end config]
+ */
+#version 100
+#extension GL_OES_standard_derivatives: require
+
+varying vec2 x;
+void main()
+{
+ gl_FragColor = dFdy(x).xyxy;
+}