[Piglit] [PATCH] drawpix-z: test glDrawPixels(GL_DEPTH_COMPONENT)
Eric Anholt
eric at anholt.net
Tue Jun 12 08:59:39 PDT 2012
On Mon, 11 Jun 2012 14:07:37 -0600, Brian Paul <brianp at vmware.com> wrote:
> v2: simplify the Z coord code: use [0,1] range for Z for all drawing.
> ---
> tests/all.tests | 1 +
> tests/general/CMakeLists.gl.txt | 1 +
> tests/general/drawpix-z.c | 136 +++++++++++++++++++++++++++++++++++++++
> 3 files changed, 138 insertions(+), 0 deletions(-)
> create mode 100644 tests/general/drawpix-z.c
>
> diff --git a/tests/all.tests b/tests/all.tests
> index 68270f4..87863a9 100644
> --- a/tests/all.tests
> +++ b/tests/all.tests
> @@ -277,6 +277,7 @@ add_plain_test(general, 'draw-vertices')
> general['draw-vertices-user'] = PlainExecTest(['draw-vertices', '-auto', 'user'])
> add_plain_test(general, 'draw-vertices-half-float')
> general['draw-vertices-half-float-user'] = PlainExecTest(['draw-vertices-half-float', '-auto', 'user'])
> +add_plain_test(general, 'drawpix-z')
You're already using piglit_present_results(), so i think you can just
make this concurrent.
Other than that,
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20120612/a1d9f9a3/attachment.pgp>
More information about the Piglit
mailing list