[Piglit] [PATCH 4/4] TexSubImage1D tests: set KHR_no_error status

Samuel Pitoiset samuel.pitoiset at gmail.com
Mon Jun 5 14:31:46 UTC 2017


Thanks for this patchset Tim.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

On 06/05/2017 02:19 AM, Timothy Arceri wrote:
> ---
>   tests/fbo/fbo-generatemipmap-1d.c              | 1 +
>   tests/spec/arb_texture_view/lifetime_format.c  | 1 +
>   tests/spec/arb_texture_view/rendering_target.c | 1 +
>   tests/texturing/max-texture-size.c             | 1 +
>   tests/texturing/teximage-errors.c              | 1 +
>   5 files changed, 5 insertions(+)
> 
> diff --git a/tests/fbo/fbo-generatemipmap-1d.c b/tests/fbo/fbo-generatemipmap-1d.c
> index 8561bb1..8aab390 100644
> --- a/tests/fbo/fbo-generatemipmap-1d.c
> +++ b/tests/fbo/fbo-generatemipmap-1d.c
> @@ -31,20 +31,21 @@
>   #include "piglit-util-gl.h"
>   
>   #define TEX_SIZE 128
>   #define TEX_LEVELS 8
>   
>   PIGLIT_GL_TEST_CONFIG_BEGIN
>   
>   	config.supports_gl_compat_version = 20;
>   
>   	config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB;
> +	config.khr_no_error_support = PIGLIT_NO_ERRORS;
>   
>   PIGLIT_GL_TEST_CONFIG_END
>   
>   static const char *fs_1d =
>      "uniform sampler1D tex; \n"
>      "void main() \n"
>      "{ \n"
>      "   gl_FragColor = texture1D(tex, gl_TexCoord[0].x); \n"
>      "} \n";
>   
> diff --git a/tests/spec/arb_texture_view/lifetime_format.c b/tests/spec/arb_texture_view/lifetime_format.c
> index 2879c03..62f3dd0 100644
> --- a/tests/spec/arb_texture_view/lifetime_format.c
> +++ b/tests/spec/arb_texture_view/lifetime_format.c
> @@ -31,20 +31,21 @@
>   
>   #include "piglit-util-gl.h"
>   #include "common.h"
>   
>   PIGLIT_GL_TEST_CONFIG_BEGIN
>   
>   	config.supports_gl_compat_version = 15;
>   	config.supports_gl_core_version = 31;
>   
>   	config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE;
> +	config.khr_no_error_support = PIGLIT_NO_ERRORS;
>   
>   PIGLIT_GL_TEST_CONFIG_END
>   
>   /* Texture formats. The format_list variable has these fields: */
>   struct format_desc {
>   	const char  *name;
>   	GLenum      internalfmt;
>   	GLenum      storagefmt;
>   	GLenum      imagefmt;
>   	GLenum      imagetype;
> diff --git a/tests/spec/arb_texture_view/rendering_target.c b/tests/spec/arb_texture_view/rendering_target.c
> index af050b2..44a6a3f 100644
> --- a/tests/spec/arb_texture_view/rendering_target.c
> +++ b/tests/spec/arb_texture_view/rendering_target.c
> @@ -31,20 +31,21 @@
>   
>   #include "piglit-util-gl.h"
>   #include "common.h"
>   
>   PIGLIT_GL_TEST_CONFIG_BEGIN
>   
>   	config.supports_gl_compat_version = 30;
>   	config.supports_gl_es_version = 31;
>   
>   	config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE;
> +	config.khr_no_error_support = PIGLIT_NO_ERRORS;
>   
>   PIGLIT_GL_TEST_CONFIG_END
>   
>   static const char *TestName = "arb_texture_view-rendering-target";
>   static int prog3D, prog2Darray, prog2D, prog1D;
>   
>   /**
>    * Simple views  of textures; test rendering with various texture view targets
>    */
>   static bool
> diff --git a/tests/texturing/max-texture-size.c b/tests/texturing/max-texture-size.c
> index e9f5c6b..4dc97f2 100644
> --- a/tests/texturing/max-texture-size.c
> +++ b/tests/texturing/max-texture-size.c
> @@ -42,20 +42,21 @@
>    */
>   
>   #include "piglit-util-gl.h"
>   #define COLOR_COMPONENTS 4 /*GL_RGBA*/
>   
>   PIGLIT_GL_TEST_CONFIG_BEGIN
>   
>   	config.supports_gl_compat_version = 10;
>   
>   	config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
> +	config.khr_no_error_support = PIGLIT_NO_ERRORS;
>   
>   PIGLIT_GL_TEST_CONFIG_END
>   
>   static const GLenum target[] = {
>   	GL_TEXTURE_1D,
>   	GL_TEXTURE_2D,
>   	GL_TEXTURE_RECTANGLE,
>   	GL_TEXTURE_CUBE_MAP,
>   	GL_TEXTURE_3D,
>   };
> diff --git a/tests/texturing/teximage-errors.c b/tests/texturing/teximage-errors.c
> index fe95c82..444ef34 100644
> --- a/tests/texturing/teximage-errors.c
> +++ b/tests/texturing/teximage-errors.c
> @@ -27,20 +27,21 @@
>    * Tests glTexImage functions for invalid values, error reporting.
>    */
>   
>   #include "piglit-util-gl.h"
>   
>   PIGLIT_GL_TEST_CONFIG_BEGIN
>   
>   	config.supports_gl_compat_version = 10;
>   	config.supports_gl_core_version = 31;
>   	config.window_visual = PIGLIT_GL_VISUAL_RGB;
> +	config.khr_no_error_support = PIGLIT_HAS_ERRORS;
>   
>   PIGLIT_GL_TEST_CONFIG_END
>   
>   struct format_desc {
>      GLenum internalformat;
>      GLenum format;
>      GLenum type;
>   };
>   
>   static const struct format_desc formats_allowed[] = {
> 


More information about the Piglit mailing list