[Piglit] [PATCH 2/2] unittests: fix tests that check for tesselation

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Feb 24 15:18:39 UTC 2017


Thanks!

I see an additional one in tests/spec/arb_internalformat_query2/common.c :)

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 24/02/17 01:52, Dylan Baker wrote:
> This is a test fix for the practical fix in
> e8fbd270b35b1bb927acc34383cbf9db95863a26.
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>   unittests/generators/test_glsl.py | 16 ++++++++--------
>   1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/unittests/generators/test_glsl.py b/unittests/generators/test_glsl.py
> index 66e3f66e1..5eec79484 100644
> --- a/unittests/generators/test_glsl.py
> +++ b/unittests/generators/test_glsl.py
> @@ -300,18 +300,18 @@ class TestMinVersion_for_stage_with_ext(object):
>           TCS (OpenGL)"""
>           self._test('tesc', glsl.Version('410'), (glsl.Version('410'), None))
>           self._test('tesc', glsl.Version('140'),
> -                   (glsl.Version('140'), 'GL_ARB_tesselation_shader'))
> +                   (glsl.Version('140'), 'GL_ARB_tessellation_shader'))
>           self._test('tesc', glsl.Version('110'),
> -                   (glsl.Version('140'), 'GL_ARB_tesselation_shader'))
> +                   (glsl.Version('140'), 'GL_ARB_tessellation_shader'))
>   
>       def test_opengl_tese(self):
>           """generated_tests.modules.glsl.MinVersion.for_stage_with_ext:
>           TES (OpenGL)"""
>           self._test('tese', glsl.Version('410'), (glsl.Version('410'), None))
>           self._test('tese', glsl.Version('140'),
> -                   (glsl.Version('140'), 'GL_ARB_tesselation_shader'))
> +                   (glsl.Version('140'), 'GL_ARB_tessellation_shader'))
>           self._test('tese', glsl.Version('110'),
> -                   (glsl.Version('140'), 'GL_ARB_tesselation_shader'))
> +                   (glsl.Version('140'), 'GL_ARB_tessellation_shader'))
>   
>       def test_opengl_comp(self):
>           """generated_tests.modules.glsl.MinVersion.for_stage_with_ext:
> @@ -352,9 +352,9 @@ class TestMinVersion_for_stage_with_ext(object):
>           self._test('tesc', glsl.Version('320 es'),
>                      (glsl.Version('320 es'), None))
>           self._test('tesc', glsl.Version('310 es'),
> -                   (glsl.Version('310 es'), 'GL_OES_tesselation_shader'))
> +                   (glsl.Version('310 es'), 'GL_OES_tessellation_shader'))
>           self._test('tesc', glsl.Version('100'),
> -                   (glsl.Version('310 es'), 'GL_OES_tesselation_shader'))
> +                   (glsl.Version('310 es'), 'GL_OES_tessellation_shader'))
>   
>       def test_opengles_tese(self):
>           """generated_tests.modules.glsl.MinVersion.for_stage_with_ext:
> @@ -362,9 +362,9 @@ class TestMinVersion_for_stage_with_ext(object):
>           self._test('tese', glsl.Version('320 es'),
>                      (glsl.Version('320 es'), None))
>           self._test('tese', glsl.Version('310 es'),
> -                   (glsl.Version('310 es'), 'GL_OES_tesselation_shader'))
> +                   (glsl.Version('310 es'), 'GL_OES_tessellation_shader'))
>           self._test('tese', glsl.Version('100'),
> -                   (glsl.Version('310 es'), 'GL_OES_tesselation_shader'))
> +                   (glsl.Version('310 es'), 'GL_OES_tessellation_shader'))
>   
>       def test_opengles_comp(self):
>           """generated_tests.modules.glsl.MinVersion.for_stage_with_ext:




More information about the Piglit mailing list