[Piglit] [PATCH 09/11] glean/glsl1: Delete duplicated comment tests.

Matt Turner mattst88 at gmail.com
Tue May 20 15:32:01 PDT 2014


---
 tests/all.py           |  5 ----
 tests/glean/tglsl1.cpp | 63 --------------------------------------------------
 2 files changed, 68 deletions(-)

diff --git a/tests/all.py b/tests/all.py
index 2f9acba..f9bc763 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -260,11 +260,6 @@ glean_glsl_tests = ['Directly set fragment color',
                     'Preprocessor test (extension test 2)',
                     'Preprocessor test (extension test 3)',
                     'Preprocessor test (11)',
-                    'Comment test (1)',
-                    'Comment test (2)',
-                    'Comment test (3)',
-                    'Comment test (4)',
-                    'Comment test (5)',
                     'undefined variable',
                     'if (boolean-scalar) check',
                     'break with no loop',
diff --git a/tests/glean/tglsl1.cpp b/tests/glean/tglsl1.cpp
index fb58825..5c96e7d 100644
--- a/tests/glean/tglsl1.cpp
+++ b/tests/glean/tglsl1.cpp
@@ -1951,69 +1951,6 @@ static const ShaderProgram Programs[] = {
 		FLAG_NONE
 	},
 
-	{
-		"Comment test (1)",
-		NO_VERTEX_SHADER,
-		"/* this is\n"
-		"a multi-line\n"
-		"comment*/\n"
-		"void main() { \n"
-		"   gl_FragColor = vec4(0.5); \n"
-		"} \n",
-		{ 0.5, 0.5, 0.5, 0.5 },
-		DONT_CARE_Z,
-		FLAG_NONE
-	},
-
-	{
-		"Comment test (2)",
-		NO_VERTEX_SHADER,
-		"// another comment test\n"
-		"void main() { \n"
-		"   gl_FragColor = vec4(0.5); //comment \n"
-		"} \n",
-		{ 0.5, 0.5, 0.5, 0.5 },
-		DONT_CARE_Z,
-		FLAG_NONE
-	},
-
-	{
-		"Comment test (3)",
-		NO_VERTEX_SHADER,
-		"#define HALF 0.5  // half\n"
-		"void main() { \n"
-		"   gl_FragColor = vec4(HALF); \n"
-		"} \n",
-		{ 0.5, 0.5, 0.5, 0.5 },
-		DONT_CARE_Z,
-		FLAG_NONE
-	},
-
-	{
-		"Comment test (4)",
-		NO_VERTEX_SHADER,
-		"#define HALF 0.5  /* half */\n"
-		"void main() { \n"
-		"   gl_FragColor = vec4(HALF); \n"
-		"} \n",
-		{ 0.5, 0.5, 0.5, 0.5 },
-		DONT_CARE_Z,
-		FLAG_NONE
-	},
-
-	{
-		"Comment test (5)",
-		NO_VERTEX_SHADER,
-		"void main() { \n"
-		"/*}*/\n"
-		"   gl_FragColor = /*;*/ vec4(0.5); \n"
-		"/*}*/\n"
-		"} \n",
-		{ 0.5, 0.5, 0.5, 0.5 },
-		DONT_CARE_Z,
-		FLAG_NONE
-	},
-
 	// GLSL 1.20 tests ======================================================
 	{
 		"mat2x4 construct",
-- 
1.8.3.2



More information about the Piglit mailing list