summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2014-10-04 15:23:19 +0200
committerMarek Olšák <marek.olsak@amd.com>2015-02-20 23:57:07 +0100
commit98c92d7bb2b80954912d9f8004e7810e7d21ff20 (patch)
treee364296a5d5ada6452ed97b9aeca6fe088accf23
parent709511be422d1d1cb1cd3ce82dc386bc129adbcd (diff)
arb_tessellation_shader/execution: clear before testing
The back buffer may already be green after allocation.
-rw-r--r--tests/spec/arb_tessellation_shader/execution/nop.shader_test2
-rw-r--r--tests/spec/arb_tessellation_shader/execution/sanity.shader_test2
-rw-r--r--tests/spec/arb_tessellation_shader/execution/tcs-tes-patch-array.shader_test2
-rw-r--r--tests/spec/arb_tessellation_shader/execution/tcs-tes-patch.shader_test2
-rw-r--r--tests/spec/arb_tessellation_shader/execution/tcs-tes-vertex.shader_test2
-rw-r--r--tests/spec/arb_tessellation_shader/execution/tes-fs.shader_test2
-rw-r--r--tests/spec/arb_tessellation_shader/execution/vs-tcs-tes-vertex.shader_test2
-rw-r--r--tests/spec/arb_tessellation_shader/execution/vs-tes-vertex.shader_test2
8 files changed, 16 insertions, 0 deletions
diff --git a/tests/spec/arb_tessellation_shader/execution/nop.shader_test b/tests/spec/arb_tessellation_shader/execution/nop.shader_test
index 64cee8063..2a6473d2a 100644
--- a/tests/spec/arb_tessellation_shader/execution/nop.shader_test
+++ b/tests/spec/arb_tessellation_shader/execution/nop.shader_test
@@ -58,6 +58,8 @@ void main()
}
[test]
+clear color 0.1 0.1 0.1 0.1
+clear
patch parameter vertices 3
draw arrays GL_PATCHES 0 6
probe all rgba 0.0 1.0 0.0 1.0
diff --git a/tests/spec/arb_tessellation_shader/execution/sanity.shader_test b/tests/spec/arb_tessellation_shader/execution/sanity.shader_test
index 2f7bd5ce9..0d176e8cb 100644
--- a/tests/spec/arb_tessellation_shader/execution/sanity.shader_test
+++ b/tests/spec/arb_tessellation_shader/execution/sanity.shader_test
@@ -50,6 +50,8 @@ vertex/float/2
1.0 1.0
[test]
+clear color 0.1 0.1 0.1 0.1
+clear
patch parameter vertices 3
draw arrays GL_PATCHES 0 6
probe all rgba 0.0 1.0 0.0 1.0
diff --git a/tests/spec/arb_tessellation_shader/execution/tcs-tes-patch-array.shader_test b/tests/spec/arb_tessellation_shader/execution/tcs-tes-patch-array.shader_test
index ffe25aa9b..cfb66dbfb 100644
--- a/tests/spec/arb_tessellation_shader/execution/tcs-tes-patch-array.shader_test
+++ b/tests/spec/arb_tessellation_shader/execution/tcs-tes-patch-array.shader_test
@@ -54,6 +54,8 @@ piglit_vertex/float/2
1.0 1.0
[test]
+clear color 0.1 0.1 0.1 0.1
+clear
patch parameter vertices 3
draw arrays GL_PATCHES 0 6
probe all rgba 0.0 1.0 0.0 1.0
diff --git a/tests/spec/arb_tessellation_shader/execution/tcs-tes-patch.shader_test b/tests/spec/arb_tessellation_shader/execution/tcs-tes-patch.shader_test
index a902c005c..c60c42c8f 100644
--- a/tests/spec/arb_tessellation_shader/execution/tcs-tes-patch.shader_test
+++ b/tests/spec/arb_tessellation_shader/execution/tcs-tes-patch.shader_test
@@ -53,6 +53,8 @@ piglit_vertex/float/2
1.0 1.0
[test]
+clear color 0.1 0.1 0.1 0.1
+clear
patch parameter vertices 3
draw arrays GL_PATCHES 0 6
probe all rgba 0.0 1.0 0.0 1.0
diff --git a/tests/spec/arb_tessellation_shader/execution/tcs-tes-vertex.shader_test b/tests/spec/arb_tessellation_shader/execution/tcs-tes-vertex.shader_test
index a7dacba70..98d8bb71d 100644
--- a/tests/spec/arb_tessellation_shader/execution/tcs-tes-vertex.shader_test
+++ b/tests/spec/arb_tessellation_shader/execution/tcs-tes-vertex.shader_test
@@ -56,6 +56,8 @@ piglit_vertex/float/2
1.0 1.0
[test]
+clear color 0.1 0.1 0.1 0.1
+clear
patch parameter vertices 3
draw arrays GL_PATCHES 0 6
probe all rgba 0.0 1.0 0.0 1.0
diff --git a/tests/spec/arb_tessellation_shader/execution/tes-fs.shader_test b/tests/spec/arb_tessellation_shader/execution/tes-fs.shader_test
index 73632d126..992cfe287 100644
--- a/tests/spec/arb_tessellation_shader/execution/tes-fs.shader_test
+++ b/tests/spec/arb_tessellation_shader/execution/tes-fs.shader_test
@@ -49,6 +49,8 @@ piglit_vertex/float/2
1.0 1.0
[test]
+clear color 0.1 0.1 0.1 0.1
+clear
patch parameter vertices 3
draw arrays GL_PATCHES 0 6
probe all rgba 0.0 1.0 0.0 1.0
diff --git a/tests/spec/arb_tessellation_shader/execution/vs-tcs-tes-vertex.shader_test b/tests/spec/arb_tessellation_shader/execution/vs-tcs-tes-vertex.shader_test
index 550ff25e5..9e5aae661 100644
--- a/tests/spec/arb_tessellation_shader/execution/vs-tcs-tes-vertex.shader_test
+++ b/tests/spec/arb_tessellation_shader/execution/vs-tcs-tes-vertex.shader_test
@@ -65,6 +65,8 @@ vertex/float/2
1.0 1.0
[test]
+clear color 0.1 0.1 0.1 0.1
+clear
patch parameter vertices 3
draw arrays GL_PATCHES 0 6
probe all rgba 0.0 1.0 0.0 1.0
diff --git a/tests/spec/arb_tessellation_shader/execution/vs-tes-vertex.shader_test b/tests/spec/arb_tessellation_shader/execution/vs-tes-vertex.shader_test
index 9bf509881..807cd8508 100644
--- a/tests/spec/arb_tessellation_shader/execution/vs-tes-vertex.shader_test
+++ b/tests/spec/arb_tessellation_shader/execution/vs-tes-vertex.shader_test
@@ -50,6 +50,8 @@ vertex/float/2
1.0 1.0
[test]
+clear color 0.1 0.1 0.1 0.1
+clear
patch parameter vertices 3
draw arrays GL_PATCHES 0 6
probe all rgba 0.0 1.0 0.0 1.0