summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-04-07 13:16:39 +1000
committerDave Airlie <airlied@redhat.com>2015-04-08 10:53:56 +1000
commit0fc98e327f869a9b46dbfc5792c0ccbc858f1158 (patch)
treef67b6a130dc78bb10c26ed0e9c0fef11b9dbc1f2
parent39fcd55e90eac755420debfb673895e557e994ef (diff)
all.py: add ARB_texture_stencil8 tests to all.pyarb_texture_stencil8
This adds the tests so far to all.py. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rwxr-xr-xtests/all.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/all.py b/tests/all.py
index 8f5d11728..06eacfc72 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'))