[Piglit] [PATCH 09/13] glean/glsl1: Delete duplicated empty block/statement tests.

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


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

diff --git a/tests/all.py b/tests/all.py
index f1a20ba..d92ffcd 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -147,7 +147,6 @@ glean['vertattrib'] = GleanTest('vertattrib')
 
 glean_glsl_tests = [
                     'Primary plus secondary color',
-                    'Empty blocks ({}), nil (;) statements',
                     'Global vars and initializers',
                     'Global vars and initializers (2)',
                     'Integer Literals',
diff --git a/tests/glean/tglsl1.cpp b/tests/glean/tglsl1.cpp
index bf0268b..57ec99d 100644
--- a/tests/glean/tglsl1.cpp
+++ b/tests/glean/tglsl1.cpp
@@ -131,19 +131,6 @@ static const ShaderProgram Programs[] = {
 	},
 
 	{
-		"Empty blocks ({}), nil (;) statements",
-		NO_VERTEX_SHADER,
-		"void main() { \n"
-		"   {} \n"   // empty block
-		"   ; \n"    // nil statement
-		"   gl_FragColor = vec4(1.0, 0.5, 0.25, 0.0); \n"
-		"} \n",
-		{ 1.0, 0.5, 0.25, 0.0 },
-		DONT_CARE_Z,
-		FLAG_NONE
-	},
-
-	{
 		"Global vars and initializers",
 		NO_VERTEX_SHADER,
 		"vec4 c = vec4(1.0, 0.5, 0.25, 0.0); \n"
-- 
1.8.3.2



More information about the Piglit mailing list