gallium/tests: fix the translate test
authorZack Rusin <zackr@vmware.com>
Fri, 28 Jun 2013 13:42:35 +0000 (09:42 -0400)
committerZack Rusin <zackr@vmware.com>
Fri, 28 Jun 2013 13:43:17 +0000 (09:43 -0400)
src/gallium/tests/unit/translate_test.c

index 60a0501559b92702cd8d5098e6b08d6c5caf79bb..fc49862c2caf390b95d97061a451b85cb87e68a8 100644 (file)
@@ -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)
          {