From 70bc43acdb487c7a38faab4f4aa864afe9cbfc84 Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Fri, 28 Jun 2013 09:42:35 -0400 Subject: [PATCH] gallium/tests: fix the translate test --- src/gallium/tests/unit/translate_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/tests/unit/translate_test.c b/src/gallium/tests/unit/translate_test.c index 60a0501..fc49862 100644 --- a/src/gallium/tests/unit/translate_test.c +++ b/src/gallium/tests/unit/translate_test.c @@ -260,13 +260,13 @@ int main(int argc, char** argv) buffer[0] = byte_buffer; translate[0]->set_buffer(translate[0], 0, buffer[0], input_format_size, count - 1); - translate[0]->run_elts(translate[0], elts, count, 0, buffer[1]); + translate[0]->run_elts(translate[0], elts, count, 0, 0, buffer[1]); translate[1]->set_buffer(translate[1], 0, buffer[1], output_format_size, count - 1); - translate[1]->run_elts(translate[1], elts, count, 0, buffer[2]); + translate[1]->run_elts(translate[1], elts, count, 0, 0, buffer[2]); translate[0]->set_buffer(translate[0], 0, buffer[2], input_format_size, count - 1); - translate[0]->run_elts(translate[0], elts, count, 0, buffer[3]); + translate[0]->run_elts(translate[0], elts, count, 0, 0, buffer[3]); translate[1]->set_buffer(translate[1], 0, buffer[3], output_format_size, count - 1); - translate[1]->run_elts(translate[1], elts, count, 0, buffer[4]); + translate[1]->run_elts(translate[1], elts, count, 0, 0, buffer[4]); for (i = 0; i < count; ++i) { -- 2.7.4