[Piglit] [PATCH 2/4] glsl-1.40: Test that the deprecated structure definitions are gone.

Eric Anholt eric at anholt.net
Thu Mar 15 14:07:53 PDT 2012


---
 .../spec/glsl-1.40/compiler/gl_FogParameters.vert  |    7 +++++++
 .../compiler/gl_LightModelParameters.vert          |    7 +++++++
 .../glsl-1.40/compiler/gl_LightModelProducts.vert  |    7 +++++++
 .../spec/glsl-1.40/compiler/gl_LightProducts.vert  |    7 +++++++
 .../compiler/gl_LightSourceParameters.vert         |    7 +++++++
 .../glsl-1.40/compiler/gl_MaterialParameters.vert  |    7 +++++++
 .../glsl-1.40/compiler/gl_PointParameters.vert     |    7 +++++++
 7 files changed, 49 insertions(+), 0 deletions(-)
 create mode 100644 tests/spec/glsl-1.40/compiler/gl_FogParameters.vert
 create mode 100644 tests/spec/glsl-1.40/compiler/gl_LightModelParameters.vert
 create mode 100644 tests/spec/glsl-1.40/compiler/gl_LightModelProducts.vert
 create mode 100644 tests/spec/glsl-1.40/compiler/gl_LightProducts.vert
 create mode 100644 tests/spec/glsl-1.40/compiler/gl_LightSourceParameters.vert
 create mode 100644 tests/spec/glsl-1.40/compiler/gl_MaterialParameters.vert
 create mode 100644 tests/spec/glsl-1.40/compiler/gl_PointParameters.vert

diff --git a/tests/spec/glsl-1.40/compiler/gl_FogParameters.vert b/tests/spec/glsl-1.40/compiler/gl_FogParameters.vert
new file mode 100644
index 0000000..759cffe
--- /dev/null
+++ b/tests/spec/glsl-1.40/compiler/gl_FogParameters.vert
@@ -0,0 +1,7 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.40
+// [end config]
+#version 140
+
+uniform gl_FogParameters var;
diff --git a/tests/spec/glsl-1.40/compiler/gl_LightModelParameters.vert b/tests/spec/glsl-1.40/compiler/gl_LightModelParameters.vert
new file mode 100644
index 0000000..c8748fc
--- /dev/null
+++ b/tests/spec/glsl-1.40/compiler/gl_LightModelParameters.vert
@@ -0,0 +1,7 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.40
+// [end config]
+#version 140
+
+uniform gl_LightModelParameters var;
diff --git a/tests/spec/glsl-1.40/compiler/gl_LightModelProducts.vert b/tests/spec/glsl-1.40/compiler/gl_LightModelProducts.vert
new file mode 100644
index 0000000..57729bb
--- /dev/null
+++ b/tests/spec/glsl-1.40/compiler/gl_LightModelProducts.vert
@@ -0,0 +1,7 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.40
+// [end config]
+#version 140
+
+uniform gl_LightModelProducts var;
diff --git a/tests/spec/glsl-1.40/compiler/gl_LightProducts.vert b/tests/spec/glsl-1.40/compiler/gl_LightProducts.vert
new file mode 100644
index 0000000..c37f356
--- /dev/null
+++ b/tests/spec/glsl-1.40/compiler/gl_LightProducts.vert
@@ -0,0 +1,7 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.40
+// [end config]
+#version 140
+
+uniform gl_LightProducts var;
diff --git a/tests/spec/glsl-1.40/compiler/gl_LightSourceParameters.vert b/tests/spec/glsl-1.40/compiler/gl_LightSourceParameters.vert
new file mode 100644
index 0000000..f8b9dd2
--- /dev/null
+++ b/tests/spec/glsl-1.40/compiler/gl_LightSourceParameters.vert
@@ -0,0 +1,7 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.40
+// [end config]
+#version 140
+
+uniform gl_LightSourceParameters var;
diff --git a/tests/spec/glsl-1.40/compiler/gl_MaterialParameters.vert b/tests/spec/glsl-1.40/compiler/gl_MaterialParameters.vert
new file mode 100644
index 0000000..8508dd2
--- /dev/null
+++ b/tests/spec/glsl-1.40/compiler/gl_MaterialParameters.vert
@@ -0,0 +1,7 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.40
+// [end config]
+#version 140
+
+uniform gl_MaterialParameters var;
diff --git a/tests/spec/glsl-1.40/compiler/gl_PointParameters.vert b/tests/spec/glsl-1.40/compiler/gl_PointParameters.vert
new file mode 100644
index 0000000..3801aca
--- /dev/null
+++ b/tests/spec/glsl-1.40/compiler/gl_PointParameters.vert
@@ -0,0 +1,7 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.40
+// [end config]
+#version 140
+
+uniform gl_PointParameters var;
-- 
1.7.9.1



More information about the Piglit mailing list