From: Zack Rusin Date: Fri, 28 Jun 2013 13:42:35 +0000 (-0400) Subject: gallium/tests: fix the translate test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70bc43acdb487c7a38faab4f4aa864afe9cbfc84;p=mesa.git gallium/tests: fix the translate test --- diff --git a/src/gallium/tests/unit/translate_test.c b/src/gallium/tests/unit/translate_test.c index 60a0501559b..fc49862c2ca 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) {