[Piglit] [PATCH 5/5] ssbo/linking: add check for vertex ssbo support.

Timothy Arceri tarceri at itsqueeze.com
Fri Nov 17 08:50:32 UTC 2017


Series:

Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>

On 17/11/17 12:53, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> skip if we don't support and vertex ssbos
> ---
>   ...stance-matching-shader-storage-blocks-array-size-mismatch.shader_test | 1 +
>   ...matching-shader-storage-blocks-binding-qualifier-mismatch.shader_test | 1 +
>   ...ance-matching-shader-storage-blocks-member-count-mismatch.shader_test | 1 +
>   ...tance-matching-shader-storage-blocks-member-name-mismatch.shader_test | 1 +
>   ...ance-matching-shader-storage-blocks-member-order-mismatch.shader_test | 1 +
>   ...-matching-shader-storage-blocks-member-qualifier-mismatch.shader_test | 1 +
>   ...tance-matching-shader-storage-blocks-member-type-mismatch.shader_test | 1 +
>   ...-matching-shader-storage-blocks-memory-qualifier-mismatch.shader_test | 1 +
>   ...tching-shader-storage-blocks-packaging-qualifier-mismatch.shader_test | 1 +
>   9 files changed, 9 insertions(+)
> 
> diff --git a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-array-size-mismatch.shader_test b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-array-size-mismatch.shader_test
> index 2a0da9e..7e57135 100644
> --- a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-array-size-mismatch.shader_test
> +++ b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-array-size-mismatch.shader_test
> @@ -18,6 +18,7 @@
>   [require]
>   GLSL >= 1.50
>   GL_ARB_shader_storage_buffer_object
> +INT GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS >= 1
>   
>   [vertex shader]
>   #version 150
> diff --git a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-binding-qualifier-mismatch.shader_test b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-binding-qualifier-mismatch.shader_test
> index 48bba07..8498c06 100644
> --- a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-binding-qualifier-mismatch.shader_test
> +++ b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-binding-qualifier-mismatch.shader_test
> @@ -19,6 +19,7 @@
>   GLSL >= 1.50
>   GL_ARB_shading_language_420pack
>   GL_ARB_shader_storage_buffer_object
> +INT GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS >= 1
>   
>   [vertex shader]
>   #version 150
> diff --git a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-count-mismatch.shader_test b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-count-mismatch.shader_test
> index 29ba5ec..2f71f5b 100644
> --- a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-count-mismatch.shader_test
> +++ b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-count-mismatch.shader_test
> @@ -18,6 +18,7 @@
>   [require]
>   GLSL >= 1.50
>   GL_ARB_shader_storage_buffer_object
> +INT GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS >= 1
>   
>   [vertex shader]
>   #version 150
> diff --git a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-name-mismatch.shader_test b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-name-mismatch.shader_test
> index 972cda6..993f531 100644
> --- a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-name-mismatch.shader_test
> +++ b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-name-mismatch.shader_test
> @@ -18,6 +18,7 @@
>   [require]
>   GLSL >= 1.50
>   GL_ARB_shader_storage_buffer_object
> +INT GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS >= 1
>   
>   [vertex shader]
>   #version 150
> diff --git a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-order-mismatch.shader_test b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-order-mismatch.shader_test
> index 3de14d8..0afffdb 100644
> --- a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-order-mismatch.shader_test
> +++ b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-order-mismatch.shader_test
> @@ -18,6 +18,7 @@
>   [require]
>   GLSL >= 1.50
>   GL_ARB_shader_storage_buffer_object
> +INT GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS >= 1
>   
>   [vertex shader]
>   #version 150
> diff --git a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-qualifier-mismatch.shader_test b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-qualifier-mismatch.shader_test
> index b1c0377..f6b010c 100644
> --- a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-qualifier-mismatch.shader_test
> +++ b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-qualifier-mismatch.shader_test
> @@ -18,6 +18,7 @@
>   [require]
>   GLSL >= 1.50
>   GL_ARB_shader_storage_buffer_object
> +INT GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS >= 1
>   
>   [vertex shader]
>   #version 150
> diff --git a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-type-mismatch.shader_test b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-type-mismatch.shader_test
> index 80bea24..7675fdc 100644
> --- a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-type-mismatch.shader_test
> +++ b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-type-mismatch.shader_test
> @@ -18,6 +18,7 @@
>   [require]
>   GLSL >= 1.50
>   GL_ARB_shader_storage_buffer_object
> +INT GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS >= 1
>   
>   [vertex shader]
>   #version 150
> diff --git a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-memory-qualifier-mismatch.shader_test b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-memory-qualifier-mismatch.shader_test
> index 1ff0f38..eb67821 100644
> --- a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-memory-qualifier-mismatch.shader_test
> +++ b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-memory-qualifier-mismatch.shader_test
> @@ -18,6 +18,7 @@
>   [require]
>   GLSL >= 1.50
>   GL_ARB_shader_storage_buffer_object
> +INT GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS >= 1
>   
>   [vertex shader]
>   #version 150
> diff --git a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-packaging-qualifier-mismatch.shader_test b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-packaging-qualifier-mismatch.shader_test
> index b9c3e52..593ec67 100644
> --- a/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-packaging-qualifier-mismatch.shader_test
> +++ b/tests/spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-packaging-qualifier-mismatch.shader_test
> @@ -18,6 +18,7 @@
>   [require]
>   GLSL >= 1.50
>   GL_ARB_shader_storage_buffer_object
> +INT GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS >= 1
>   
>   [vertex shader]
>   #version 150
> 


More information about the Piglit mailing list