summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-06-28 09:42:35 -0400
committerZack Rusin <[email protected]>2013-06-28 09:43:17 -0400
commit70bc43acdb487c7a38faab4f4aa864afe9cbfc84 (patch)
tree261a4bab0b3213904e715c9824040794e5a227f9 /src/gallium
parent722721d718ffe989426279ff06c21e58be287333 (diff)
gallium/tests: fix the translate test
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/tests/unit/translate_test.c8
1 files changed, 4 insertions, 4 deletions
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)
{