[Piglit] [PATCH 1/4] ARB_invalidate_subdata: set KHR_no_error status

Samuel Pitoiset samuel.pitoiset at gmail.com
Mon Jun 5 14:05:26 UTC 2017


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

On 06/05/2017 02:19 AM, Timothy Arceri wrote:
> ---
>   tests/spec/arb_invalidate_subdata/buffer.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/tests/spec/arb_invalidate_subdata/buffer.c b/tests/spec/arb_invalidate_subdata/buffer.c
> index 637596a..dedb937 100644
> --- a/tests/spec/arb_invalidate_subdata/buffer.c
> +++ b/tests/spec/arb_invalidate_subdata/buffer.c
> @@ -28,20 +28,21 @@
>    * No-op is a conforming implementation of glInvalidateBuffer(Sub)Data, so
>    * this test only checks error conditions.
>    */
>   
>   #include "piglit-util-gl.h"
>   
>   PIGLIT_GL_TEST_CONFIG_BEGIN
>   
>   	config.supports_gl_core_version = 31;
>   	config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE;
> +	config.khr_no_error_support = PIGLIT_HAS_ERRORS;
>   
>   PIGLIT_GL_TEST_CONFIG_END
>   
>   /*
>    * Section 6.5 (Invalidating Buffer Data) of the OpenGL 4.5 (Compatibility
>    * Profile) spec:
>    *
>    *     * An INVALID_VALUE error is generated if buffer is zero or is not the
>    *     name of an existing buffer object.
>    *     * An INVALID_VALUE error is generated if offset or length is negative,
> 


More information about the Piglit mailing list