[Piglit] [PATCH 2/2] arb_compute_shader: fix too many arguments in call to 'confirm_size'

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Nov 17 07:25:54 PST 2015


'local_x', 'local_y' and 'local_z' are declared as globals, and 'confirm_size'
does not take any parameters. Spotted by Clang.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 tests/spec/arb_compute_shader/cs-ids-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/arb_compute_shader/cs-ids-common.c b/tests/spec/arb_compute_shader/cs-ids-common.c
index e05587f..9676c82 100644
--- a/tests/spec/arb_compute_shader/cs-ids-common.c
+++ b/tests/spec/arb_compute_shader/cs-ids-common.c
@@ -300,7 +300,7 @@ cs_ids_run_test()
 	}
 	glMemoryBarrier(GL_ALL_BARRIER_BITS);
 
-	result = confirm_size(local_x, local_y, local_z);
+	result = confirm_size();
 	if (result != PIGLIT_PASS)
 		piglit_report_result(result);
 
-- 
2.6.2



More information about the Piglit mailing list