[Piglit] [PATCH 11/13] glean/glsl1: Delete duplicated float literal tests.

Matt Turner mattst88 at gmail.com
Sat Jul 5 23:03:23 PDT 2014


---
 tests/all.py           |  1 -
 tests/glean/tglsl1.cpp | 16 ----------------
 2 files changed, 17 deletions(-)

diff --git a/tests/all.py b/tests/all.py
index 52801b5..485da34 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -149,7 +149,6 @@ glean_glsl_tests = [
                     'Primary plus secondary color',
                     'Global vars and initializers',
                     'Global vars and initializers (2)',
-                    'Float Literals',
                     'Swizzle',
                     'Swizzle (rgba)',
                     'Swizzle (stpq)',
diff --git a/tests/glean/tglsl1.cpp b/tests/glean/tglsl1.cpp
index 68a80ea..eda2de9 100644
--- a/tests/glean/tglsl1.cpp
+++ b/tests/glean/tglsl1.cpp
@@ -156,22 +156,6 @@ static const ShaderProgram Programs[] = {
 		FLAG_NONE
 	},
 
-	{
-		"Float Literals",
-		"void main() { \n"
-		"   float x = 0.5e0; \n"
-		"   float y = 5.0e-1; \n"
-		"   float z = -(-0.05e1); \n"
-		"   float w = 0.5; \n"
-		"   gl_FrontColor = vec4(x, y, z, w); \n"
-		"   gl_Position = ftransform(); \n"
-		"} \n",
-		NO_FRAGMENT_SHADER,
-		{ 0.5, 0.5, 0.5, 0.5 },
-		DONT_CARE_Z,
-		FLAG_NONE
-	},
-
 	// Swizzle, writemask =================================================
 	{
 		"Swizzle",
-- 
1.8.3.2



More information about the Piglit mailing list