[Piglit] [PATCH] arb_gpu_shader_fp64: test double uniform array initializer

Tapani Pälli tapani.palli at intel.com
Mon Sep 1 05:30:13 PDT 2014


Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
 .../execution/glsl-double-array-uniform.shader_test   | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/glsl-double-array-uniform.shader_test

diff --git a/tests/spec/arb_gpu_shader_fp64/execution/glsl-double-array-uniform.shader_test b/tests/spec/arb_gpu_shader_fp64/execution/glsl-double-array-uniform.shader_test
new file mode 100644
index 0000000..0dcbfe5
--- /dev/null
+++ b/tests/spec/arb_gpu_shader_fp64/execution/glsl-double-array-uniform.shader_test
@@ -0,0 +1,19 @@
+[require]
+GLSL >= 1.50
+GL_ARB_gpu_shader_fp64
+
+[vertex shader passthrough]
+
+[fragment shader]
+#version 150
+#extension GL_ARB_gpu_shader_fp64 : require
+uniform double d[3] = double[3](0.1, 0.2, 0.3);
+vec4 color = dvec4(0.5, 0.5, 0.5, 0.5);
+
+void main()
+{
+	gl_FragColor = vec4(color);
+}
+
+[test]
+link success
-- 
1.9.3



More information about the Piglit mailing list