[Piglit] [PATCH] Test that arb_explicit_attrib_location content can be used without enabling the extension.

Nicholas Mack nichmack at gmail.com
Mon Nov 25 14:23:42 PST 2013


---
 .../arb_explicit_attrib_location/3.30/not-enabled.frag   | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 tests/spec/arb_explicit_attrib_location/3.30/not-enabled.frag

diff --git a/tests/spec/arb_explicit_attrib_location/3.30/not-enabled.frag b/tests/spec/arb_explicit_attrib_location/3.30/not-enabled.frag
new file mode 100644
index 0000000..efa99f6
--- /dev/null
+++ b/tests/spec/arb_explicit_attrib_location/3.30/not-enabled.frag
@@ -0,0 +1,16 @@
+// [config]
+// expect_result: pass
+// gl_version: 3.3
+// glsl_version: 3.30
+// [end config]
+//
+// Try to use layout(location) without enabling the extension.
+
+#version 330
+
+layout(location = 0) out vec4 c;
+
+void main()
+{
+	c = vec4(0);
+}
-- 
1.8.3.1



More information about the Piglit mailing list