[Piglit] [PATCH 09/11] arb_shader_subroutine: Add a test for arrays of subroutine uniforms

Chris Forbes chrisf at ijw.co.nz
Sun Aug 10 04:07:00 PDT 2014


Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
---
 .../compiler/subroutine-uniform-array.vert                  | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 tests/spec/arb_shader_subroutine/compiler/subroutine-uniform-array.vert

diff --git a/tests/spec/arb_shader_subroutine/compiler/subroutine-uniform-array.vert b/tests/spec/arb_shader_subroutine/compiler/subroutine-uniform-array.vert
new file mode 100644
index 0000000..f13f6d2
--- /dev/null
+++ b/tests/spec/arb_shader_subroutine/compiler/subroutine-uniform-array.vert
@@ -0,0 +1,13 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.50
+// require_extensions: GL_ARB_shader_subroutine
+// [end config]
+
+#version 150
+#extension GL_ARB_shader_subroutine: require
+
+subroutine void func_type();
+
+/* An array of subroutine uniforms */
+subroutine uniform func_type f[4];
-- 
2.0.4



More information about the Piglit mailing list