Commit 6111bcca authored by Eric Anholt's avatar Eric Anholt

quad-invariance: Fix undefined ReadPixels behavior and make concurrent.

Reviewed-by: Kenneth Graunke (AFK until mid-April)'s avatarKenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
parent d06c7853
......@@ -330,7 +330,7 @@ add_single_param_test_set(
)
add_plain_test(general, 'provoking-vertex')
add_plain_test(general, 'oes-read-format')
add_plain_test(general, 'quad-invariance')
add_concurrent_test(general, 'quad-invariance')
add_plain_test(general, 'read-front')
add_concurrent_test(general, 'readpix-z')
add_plain_test(general, 'roundmode-getintegerv')
......
......@@ -102,8 +102,6 @@ piglit_display(void)
once = GL_FALSE;
}
glutSwapBuffers();
for (x = 0; x < piglit_width / 2; x++) {
for (y = 0; y < piglit_height; y++) {
float probed[4];
......@@ -116,6 +114,8 @@ piglit_display(void)
}
}
piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_WARN;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment