[Piglit] [PATCH 9/9] all.py: add ARB_texture_stencil8 tests to all.py
Anuj Phogat
anuj.phogat at gmail.com
Fri Apr 10 09:57:31 PDT 2015
On Mon, Apr 6, 2015 at 8:39 PM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This adds the tests so far to all.py.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
> tests/all.py | 15 ++++++++++++++-
> 1 file changed, 14 insertions(+), 1 deletion(-)
>
> diff --git a/tests/all.py b/tests/all.py
> index 8f5d117..06eacfc 100755
> --- a/tests/all.py
> +++ b/tests/all.py
> @@ -128,7 +128,7 @@ def add_fbo_formats_tests(adder, extension, suffix=''):
> 'fbo-clear-formats{}'.format(suffix))
> adder(['get-renderbuffer-internalformat', extension],
> 'get-renderbuffer-internalformat{}'.format(suffix))
> - if 'depth' not in extension:
> + if 'depth' not in extension and 'stencil' not in extension:
> adder(['fbo-blending-formats', extension],
> 'fbo-blending-formats{}'.format(suffix))
> adder(['fbo-alphatest-formats', extension],
> @@ -3635,6 +3635,7 @@ with profile.group_manager(
> g(['arb_clear_texture-rg'])
> g(['arb_clear_texture-depth-stencil'])
> g(['arb_clear_texture-srgb'])
> + g(['arb_clear_texture-stencil'])
>
> with profile.group_manager(
> PiglitGLTest,
> @@ -4313,5 +4314,17 @@ with profile.group_manager(
> g(['arb_shader_image_load_store-state'], 'state')
> g(['arb_shader_image_load_store-unused'], 'unused')
>
> +with profile.group_manager(
> + PiglitGLTest,
> + grouptools.join('spec', 'arb_texture_stencil8')) as g:
> + g(['arb_texture_stencil8-draw'], 'draw')
> + g(['arb_texture_stencil8-getteximage'], 'getteximage')
> + g(['arb_texture_stencil8-stencil-texture'], 'stencil-texture')
> + g(['arb_texture_stencil8-fbo-stencil8', 'clear',
> 'GL_STENCIL_INDEX8'], 'fbo-stencil-clear')
> + g(['arb_texture_stencil8-fbo-stencil8', 'blit', 'GL_STENCIL_INDEX8'],
> 'fbo-stencil-blit')
> + g(['arb_texture_stencil8-fbo-stencil8', 'readpixels',
> 'GL_STENCIL_INDEX8'], 'fbo-stencil-readpixels')
> + add_fbo_formats_tests(g, 'GL_ARB_texture_stencil8')
> + add_texwrap_format_tests(g, 'GL_ARB_texture_stencil8')
> +
> if platform.system() is 'Windows':
> profile.filter_tests(lambda p, _: not p.startswith('glx'))
> --
> 2.1.0
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>
Patches 7-9 are:
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150410/0574f36f/attachment.html>
More information about the Piglit
mailing list