[Piglit] [PATCH 10/13] glean/glsl1: Delete duplicated integer literal tests.

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


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

diff --git a/tests/all.py b/tests/all.py
index d92ffcd..52801b5 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)',
-                    'Integer Literals',
                     'Float Literals',
                     'Swizzle',
                     'Swizzle (rgba)',
diff --git a/tests/glean/tglsl1.cpp b/tests/glean/tglsl1.cpp
index 57ec99d..68a80ea 100644
--- a/tests/glean/tglsl1.cpp
+++ b/tests/glean/tglsl1.cpp
@@ -157,21 +157,6 @@ static const ShaderProgram Programs[] = {
 	},
 
 	{
-		"Integer Literals",
-		"void main() { \n"
-		"   int i = 16;   // Decimal \n"
-		"   int j = 0x10; // Hexadecimal \n"
-		"   int k = 020;  // Octal \n"
-		"   gl_FrontColor = vec4(i, j, k, 16) / 32.0; \n"
-		"   gl_Position = ftransform(); \n"
-		"} \n",
-		NO_FRAGMENT_SHADER,
-		{ 0.5, 0.5, 0.5, 0.5 },
-		DONT_CARE_Z,
-		FLAG_NONE
-	},
-
-	{
 		"Float Literals",
 		"void main() { \n"
 		"   float x = 0.5e0; \n"
-- 
1.8.3.2



More information about the Piglit mailing list