[Piglit] [PATCH] Delete spec/glsl-1.10/compiler/literals/invalid-float-suffix-*.vert.

Kenneth Graunke kenneth at whitecape.org
Sun Jun 5 21:45:49 UTC 2016


In Mesa, we've decided to treat the GLSL 1.20 rules as a clarification,
rather than a change in behavior, and accept f/F suffixes but generate
a warning.  This means that we'll always fail these tests.

We may as well delete the tests.
---
 .../compiler/literals/invalid-float-suffix-capital-f.vert      | 10 ----------
 .../glsl-1.10/compiler/literals/invalid-float-suffix-f.vert    | 10 ----------
 2 files changed, 20 deletions(-)
 delete mode 100644 tests/spec/glsl-1.10/compiler/literals/invalid-float-suffix-capital-f.vert
 delete mode 100644 tests/spec/glsl-1.10/compiler/literals/invalid-float-suffix-f.vert

diff --git a/tests/spec/glsl-1.10/compiler/literals/invalid-float-suffix-capital-f.vert b/tests/spec/glsl-1.10/compiler/literals/invalid-float-suffix-capital-f.vert
deleted file mode 100644
index 2022cdb..0000000
--- a/tests/spec/glsl-1.10/compiler/literals/invalid-float-suffix-capital-f.vert
+++ /dev/null
@@ -1,10 +0,0 @@
-// [config]
-// expect_result: fail
-// glsl_version: 1.10
-// [end config]
-
-void main() {
-	// Float-suffixes are not in GLSL 1.10
-	float f = 1.0F;
-	gl_Position = vec4(1.0);
-}
diff --git a/tests/spec/glsl-1.10/compiler/literals/invalid-float-suffix-f.vert b/tests/spec/glsl-1.10/compiler/literals/invalid-float-suffix-f.vert
deleted file mode 100644
index 8c149a0..0000000
--- a/tests/spec/glsl-1.10/compiler/literals/invalid-float-suffix-f.vert
+++ /dev/null
@@ -1,10 +0,0 @@
-// [config]
-// expect_result: fail
-// glsl_version: 1.10
-// [end config]
-
-void main() {
-	// Float-suffixes are not in GLSL 1.10
-	float f = 1.0f;
-	gl_Position = vec4(1.0);
-}
-- 
2.8.3



More information about the Piglit mailing list