platform/upstream/VK-GL-CTS.git
7 years agoSplit AoA.InteractionInterfaceArrays
Andres Gomez [Tue, 13 Dec 2016 13:21:42 +0000 (15:21 +0200)]
Split AoA.InteractionInterfaceArrays

The GL43-CTS.arrays_of_arrays_gl.InteractionInterfaceArrays runs
several different checks. Currently, this is a problematic test so we
would rather have every check on its own test.

Affects:

GL43-CTS.arrays_of_arrays_gl.InteractionInterfaceArrays*

Components: OpenGL
VK-GL-CTS issue: 138

Change-Id: Ic4871d2b28e32d484f151b33fff38911f283f2bc

7 years agoFix race condition in shader_image_load_store.multiple-uniforms
Slawomir Cygan [Mon, 20 Mar 2017 17:28:03 +0000 (18:28 +0100)]
Fix race condition in shader_image_load_store.multiple-uniforms

There is a race condition in this tests, where 4 TCS invocation read-modify-write
same image load-store locations. This may lead to indeterminate results data.

As a fix a predicate is used in TCS, limiting image-load-store accessed to only one shader
invocation

Components: OpenGL
VK-GL-CTS issue: 262

Affects test:
GL44-CTS.shader_image_load_store.multiple-uniforms

Change-Id: I7b14ef4e291cf382c4d0c2766dea4b4955c76f5b

7 years agoFix unaligned XFB stores in GL44-CTS.vertex_attrib_64bit.vao test
Slawomir Cygan [Mon, 20 Mar 2017 19:03:56 +0000 (20:03 +0100)]
Fix unaligned XFB stores in GL44-CTS.vertex_attrib_64bit.vao test

This change aligns  result buffer passed through transform
feedback to 8 (required for storing fp64 vaules).

Spec:
"The results of appending a
    varying variable to a transform feedback buffer are undefined if any
    component of that variable would be written at an offset not aligned to
    the size of the component."

Components: OpenGL
VK-GL-CTS issue: 264

Affects test:
GL44-CTS.vertex_attrib_64bit.vao

Change-Id: I81f7b0e42a8ef0a0c282d63d255fbed265e81c7b

7 years agoExplicitly use std140 layout for uniform blocks
Nicolai Hähnle [Fri, 17 Feb 2017 16:32:25 +0000 (17:32 +0100)]
Explicitly use std140 layout for uniform blocks

The exact memory layout of an array of uints in a uniform block is
implementation-defined, unless a layout is explictly specified.
So the UniformBufferStorageTestCase would previously fail on an
implementation that uses std140 by default.

Use std140 explicitly -- which implies changing the stride of the
array to 16 bytes -- since std140 is the only layout supported for
uniform blocks in core OpenGL.

Modules: OpenGL
Affects:
GL45-CTS.sparse_buffer_tests.BufferStorageTest

VK-GL-CTS issue: 179

Change-Id: Ib5a996aa55a4c589625c575a1b4a3d252ca8e30c

7 years agoWrap gtf-master lists with defines
Alexander Galazin [Fri, 24 Mar 2017 13:50:05 +0000 (14:50 +0100)]
Wrap gtf-master lists with defines

Components: OpenGL
Affects: GLES conformance submission runs

Change-Id: I5bf125ea1d4e286ff198418572783ff120c20de8

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Pyry Haulos [Thu, 23 Mar 2017 16:55:11 +0000 (09:55 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: I125bd7ecab1b30dac632069655a0d84d2757295f

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Pyry Haulos [Thu, 23 Mar 2017 16:47:05 +0000 (09:47 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

Change-Id: I73deeb16880948addabb1d8755ee00084aa346cf

7 years agoImgtec Waiver for SNORM linear filtering
Pyry Haulos [Thu, 16 Mar 2017 21:50:40 +0000 (14:50 -0700)]
Imgtec Waiver for SNORM linear filtering

Due to an error in bit replication of the fixed point SNORM values,
linear filtered negative SNORM values will differ slightly from ideal
precision in the last bit, moving the values towards 0.

This occurs on all members of the PowerVR Rogue family of GPUs

Affected tests are changed to allow for larger error and issue
QualityWarning when inaccurate results are found.

Affects:

dEQP-VK.pipeline.sampler.view_type*format*_snorm*_filter.linear

Components: Vulkan

VK-GL-CTS issue: 229

Change-Id: I59fa0f7acdcaa49fc84f17b22be1cc805da593a2

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Pyry Haulos [Thu, 23 Mar 2017 16:28:55 +0000 (09:28 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: I713757dc320eb8c0d9fa941f0c286807d09924e9

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Pyry Haulos [Thu, 23 Mar 2017 16:28:51 +0000 (09:28 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

Change-Id: I3c3914cc9fe22c4815b3261c9b0fbcf1e184316b

7 years agoFix tests in dEQP-EGL.functional.robustness*
James Glanville [Wed, 22 Mar 2017 14:02:48 +0000 (14:02 +0000)]
Fix tests in dEQP-EGL.functional.robustness*

The shader storage buffer used for compute was not
correctly bound. This caused glDispatchCompute()
to return an error instead of submitting work, so
the context would never reset.

Affects:
dEQP-EGL.functional.robustness*compute
Components: AOSP

Change-Id: I4fb807b49ab806c7de968b54b8e5fd5abfd87fcd

7 years agoRemove few texture.mipmap tests from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 13:01:52 +0000 (14:01 +0100)]
Remove few texture.mipmap tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp
dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_clamp_non_square
dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat
dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_repeat_non_square
dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_mirror
dEQP-GLES2.functional.texture.mipmap.2d.basic.nearest_nearest_mirror_non_square
dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_clamp
dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_clamp_non_square
dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_repeat
dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_repeat_non_square
dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_mirror
dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_nearest_mirror_non_square
dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_linear_clamp
dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_linear_clamp_non_square
dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_linear_mirror
dEQP-GLES2.functional.texture.mipmap.2d.basic.linear_linear_mirror_non_square
dEQP-GLES2.functional.texture.mipmap.2d.affine.linear_linear_clamp
dEQP-GLES2.functional.texture.mipmap.2d.affine.linear_linear_mirror
dEQP-GLES2.functional.texture.mipmap.2d.projected.nearest_nearest_clamp
dEQP-GLES2.functional.texture.mipmap.2d.projected.nearest_nearest_repeat
dEQP-GLES2.functional.texture.mipmap.2d.projected.nearest_nearest_mirror
dEQP-GLES2.functional.texture.mipmap.2d.projected.linear_nearest_clamp
dEQP-GLES2.functional.texture.mipmap.2d.projected.linear_nearest_repeat
dEQP-GLES2.functional.texture.mipmap.2d.projected.linear_nearest_mirror
dEQP-GLES2.functional.texture.mipmap.2d.projected.linear_linear_clamp
dEQP-GLES2.functional.texture.mipmap.2d.projected.linear_linear_mirror
dEQP-GLES2.functional.texture.mipmap.2d.bias.nearest_nearest
dEQP-GLES2.functional.texture.mipmap.2d.bias.linear_nearest
dEQP-GLES2.functional.texture.mipmap.2d.bias.nearest_linear
dEQP-GLES2.functional.texture.mipmap.2d.bias.linear_linear
dEQP-GLES2.functional.texture.mipmap.cube.basic.nearest_nearest
dEQP-GLES2.functional.texture.mipmap.cube.basic.linear_nearest
dEQP-GLES2.functional.texture.mipmap.cube.basic.nearest_linear
dEQP-GLES2.functional.texture.mipmap.cube.basic.linear_linear
dEQP-GLES2.functional.texture.mipmap.cube.projected.nearest_nearest
dEQP-GLES2.functional.texture.mipmap.cube.projected.linear_nearest
dEQP-GLES2.functional.texture.mipmap.cube.projected.nearest_linear
dEQP-GLES2.functional.texture.mipmap.cube.projected.linear_linear
dEQP-GLES2.functional.texture.mipmap.cube.bias.nearest_nearest
dEQP-GLES2.functional.texture.mipmap.cube.bias.linear_nearest
dEQP-GLES2.functional.texture.mipmap.cube.bias.nearest_linear
dEQP-GLES2.functional.texture.mipmap.cube.bias.linear_linear

Components: OpenGL

VL-GL-CTS issue: 295

Change-Id: Ib16fee07f641e326efd6da62f0b92239f4dd0608

7 years agoRemove few preprocessor tests from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 12:49:31 +0000 (13:49 +0100)]
Remove few preprocessor tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.preprocessor.basic.identifier_with_double_underscore_vertex
dEQP-GLES2.functional.shaders.preprocessor.basic.identifier_with_double_underscore_fragment

Components: OpenGL

VL-GL-CTS issue: 294

Change-Id: I38be5c45805490a49fdf49977bc1d10c47644959

7 years agoRemove few texture.gather tests from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 12:35:00 +0000 (13:35 +0100)]
Remove few texture.gather tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_pot.compare_less.clamp_to_edge_repeat
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_pot.compare_less.repeat_mirrored_repeat
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_pot.compare_less.mirrored_repeat_clamp_to_edge
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_pot.compare_greater.clamp_to_edge_repeat
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_pot.compare_greater.repeat_mirrored_repeat
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_pot.compare_greater.mirrored_repeat_clamp_to_edge
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_npot.compare_less.clamp_to_edge_repeat
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_npot.compare_less.repeat_mirrored_repeat
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_npot.compare_less.mirrored_repeat_clamp_to_edge
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_npot.compare_greater.clamp_to_edge_repeat
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_npot.compare_greater.repeat_mirrored_repeat
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.size_npot.compare_greater.mirrored_repeat_clamp_to_edge
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.filter_mode.min_linear_mag_linear
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.filter_mode.min_nearest_mipmap_nearest_mag_linear
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.filter_mode.min_nearest_mipmap_linear_mag_linear
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.filter_mode.min_linear_mipmap_nearest_mag_linear
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.filter_mode.min_linear_mipmap_linear_mag_linear
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.base_level.level_1
dEQP-GLES31.functional.texture.gather.basic.cube.depth32f.base_level.level_2

Components: OpenGL

VL-GL-CTS issue: 312

Change-Id: I951f62f1ae7db37b56cdd319563e88c4c92515bb

7 years agoCheck DynamicIndexing in pipeline.image count tests
Alex Walters [Thu, 23 Mar 2017 11:42:50 +0000 (11:42 +0000)]
Check DynamicIndexing in pipeline.image count tests

The pipeline.image.sampling_type*count_* tests where the count of images
is greater than 1 use an array of images/samplers which requires the use
of shaderSampledImageArrayDynamicIndexing, which the test does not
currently check for.

Adds a check and throws NotSupportedError if the feature is not present.

Affects:

dEQP-VK.pipeline.image.sampling_type*count_*

Components: Vulkan

VK-GL-CTS issue: 296

Change-Id: I7b4244bcf4371e41c2121812362db166dc1d4c16

7 years agoRemove few mipmap.cube tests from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 11:14:20 +0000 (12:14 +0100)]
Remove few mipmap.cube tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest
dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear

Components: OpenGL

VL-GL-CTS issue: 310

Change-Id: I447ac317ed953b9b6f44b115d5502f6290f807da

7 years agoRemove few polygon_offset tests from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 11:11:33 +0000 (12:11 +0100)]
Remove few polygon_offset tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.polygon_offset.default_result_depth_clamp
dEQP-GLES2.functional.polygon_offset.default_factor_1_slope
dEQP-GLES2.functional.polygon_offset.fixed16_result_depth_clamp
dEQP-GLES2.functional.polygon_offset.fixed16_factor_1_slope

dEQP-GLES3.functional.polygon_offset.default_result_depth_clamp
dEQP-GLES3.functional.polygon_offset.default_factor_1_slope
dEQP-GLES3.functional.polygon_offset.fixed16_result_depth_clamp
dEQP-GLES3.functional.polygon_offset.fixed16_factor_1_slope
dEQP-GLES3.functional.polygon_offset.fixed24_result_depth_clamp
dEQP-GLES3.functional.polygon_offset.fixed24_factor_1_slope
dEQP-GLES3.functional.polygon_offset.float32_result_depth_clamp
dEQP-GLES3.functional.polygon_offset.float32_factor_1_slope
dEQP-GLES3.functional.polygon_offset.default_result_depth_clamp

Components: OpenGL

VL-GL-CTS issue: 309

Change-Id: I6099f3a5a6958d6b91351b5d48b4aae1402a994e

7 years agoRemove flush_finish.flush_wait test from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 10:33:37 +0000 (11:33 +0100)]
Remove flush_finish.flush_wait test from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.flush_finish.flush_wait

Components: OpenGL

VL-GL-CTS issue: 308

Change-Id: Id27e150f5669bbd360bcdd903ffdfa4915db5f9f

7 years agoRemove few builtin_functions.precision tests from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 10:30:48 +0000 (11:30 +0100)]
Remove few builtin_functions.precision tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES31.functional.shaders.builtin_functions.precision.min.highp_compute.scalar
dEQP-GLES31.functional.shaders.builtin_functions.precision.min.highp_compute.vec2
dEQP-GLES31.functional.shaders.builtin_functions.precision.min.highp_compute.vec3
dEQP-GLES31.functional.shaders.builtin_functions.precision.min.highp_compute.vec4
dEQP-GLES31.functional.shaders.builtin_functions.precision.max.highp_compute.scalar
dEQP-GLES31.functional.shaders.builtin_functions.precision.max.highp_compute.vec2
dEQP-GLES31.functional.shaders.builtin_functions.precision.max.highp_compute.vec3
dEQP-GLES31.functional.shaders.builtin_functions.precision.max.highp_compute.vec4
dEQP-GLES31.functional.shaders.builtin_functions.precision.clamp.highp_compute.scalar
dEQP-GLES31.functional.shaders.builtin_functions.precision.clamp.highp_compute.vec2
dEQP-GLES31.functional.shaders.builtin_functions.precision.clamp.highp_compute.vec3
dEQP-GLES31.functional.shaders.builtin_functions.precision.clamp.highp_compute.vec4

Components: OpenGL

VL-GL-CTS issue: 307

Change-Id: I99f7f3cbba7370e41357122e10c12eb0a6da98eb

7 years agoRemove few builtin_functions.precision tests from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 10:28:17 +0000 (11:28 +0100)]
Remove few builtin_functions.precision tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES3.functional.shaders.builtin_functions.precision.min.highp_vertex.scalar
dEQP-GLES3.functional.shaders.builtin_functions.precision.min.highp_vertex.vec2
dEQP-GLES3.functional.shaders.builtin_functions.precision.min.highp_vertex.vec3
dEQP-GLES3.functional.shaders.builtin_functions.precision.min.highp_vertex.vec4
dEQP-GLES3.functional.shaders.builtin_functions.precision.min.highp_fragment.scalar
dEQP-GLES3.functional.shaders.builtin_functions.precision.min.highp_fragment.vec2
dEQP-GLES3.functional.shaders.builtin_functions.precision.min.highp_fragment.vec3
dEQP-GLES3.functional.shaders.builtin_functions.precision.min.highp_fragment.vec4
dEQP-GLES3.functional.shaders.builtin_functions.precision.max.highp_vertex.scalar
dEQP-GLES3.functional.shaders.builtin_functions.precision.max.highp_vertex.vec2
dEQP-GLES3.functional.shaders.builtin_functions.precision.max.highp_vertex.vec3
dEQP-GLES3.functional.shaders.builtin_functions.precision.max.highp_vertex.vec4
dEQP-GLES3.functional.shaders.builtin_functions.precision.max.highp_fragment.scalar
dEQP-GLES3.functional.shaders.builtin_functions.precision.max.highp_fragment.vec2
dEQP-GLES3.functional.shaders.builtin_functions.precision.max.highp_fragment.vec3
dEQP-GLES3.functional.shaders.builtin_functions.precision.max.highp_fragment.vec4
dEQP-GLES3.functional.shaders.builtin_functions.precision.clamp.highp_vertex.scalar
dEQP-GLES3.functional.shaders.builtin_functions.precision.clamp.highp_vertex.vec2
dEQP-GLES3.functional.shaders.builtin_functions.precision.clamp.highp_vertex.vec3
dEQP-GLES3.functional.shaders.builtin_functions.precision.clamp.highp_vertex.vec4
dEQP-GLES3.functional.shaders.builtin_functions.precision.clamp.highp_fragment.scalar
dEQP-GLES3.functional.shaders.builtin_functions.precision.clamp.highp_fragment.vec2
dEQP-GLES3.functional.shaders.builtin_functions.precision.clamp.highp_fragment.vec3
dEQP-GLES3.functional.shaders.builtin_functions.precision.clamp.highp_fragment.vec4
dEQP-GLES3.functional.shaders.builtin_functions.precision.smoothstep.mediump_vertex.scalar
dEQP-GLES3.functional.shaders.builtin_functions.precision.smoothstep.mediump_vertex.vec2
dEQP-GLES3.functional.shaders.builtin_functions.precision.smoothstep.mediump_vertex.vec3
dEQP-GLES3.functional.shaders.builtin_functions.precision.smoothstep.mediump_vertex.vec4
dEQP-GLES3.functional.shaders.builtin_functions.precision.smoothstep.mediump_fragment.scalar
dEQP-GLES3.functional.shaders.builtin_functions.precision.smoothstep.mediump_fragment.vec2
dEQP-GLES3.functional.shaders.builtin_functions.precision.smoothstep.mediump_fragment.vec3
dEQP-GLES3.functional.shaders.builtin_functions.precision.smoothstep.mediump_fragment.vec4

Components: OpenGL

VL-GL-CTS issue: 306

Change-Id: I3036f110ec01c8a1cf73a92636210cd5d8317311

7 years agoRemove few negative_api tests from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 10:25:23 +0000 (11:25 +0100)]
Remove few negative_api tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.negative_api.buffer.framebuffer_texture2d
dEQP-GLES2.functional.negative_api.shader.shader_binary
dEQP-GLES2.functional.negative_api.texture.generatemipmap_zero_level_array_compressed

Components: OpenGL

VL-GL-CTS issue: 305

Change-Id: I1030ee80fd4852b2fab666b14bf2e831be175b86

7 years agoRemove few completeness.renderable tests from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 10:22:26 +0000 (11:22 +0100)]
Remove few completeness.renderable tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.fbo.completeness.renderable.renderbuffer.color0.srgb8_alpha8
dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.srgb8_alpha8

Components: OpenGL

VL-GL-CTS issue: 302

Change-Id: Id0e886beb91f5aaaf65c6a66d839c8bee9d782fb

7 years agoRemove few fbo.api tests from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 10:20:25 +0000 (11:20 +0100)]
Remove few fbo.api tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.fbo.api.texture_levels

Components: OpenGL

VL-GL-CTS issue: 301

Change-Id: I878d7185c6db3c34e48c80fa208ae0ce43bb020e

7 years agoRemove few functions.invalid tests from GLES CTS 3.2.3.x
Alexander Galazin [Thu, 23 Mar 2017 10:17:20 +0000 (11:17 +0100)]
Remove few functions.invalid tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.functions.invalid.return_array_in_struct_vertex
dEQP-GLES2.functional.shaders.functions.invalid.return_array_in_struct_fragment

Components: OpenGL

VL-GL-CTS issue: 300

Change-Id: I1d6db93b54eef37e5f2aac8031e1c7d9c5bcc0d1

7 years agoFix tests in KHR-GLES32.robust.*
James Glanville [Wed, 22 Mar 2017 10:54:00 +0000 (10:54 +0000)]
Fix tests in KHR-GLES32.robust.*

Fix for undefined results when using texelFetch()
with LOD > 0 and no minification filter. Removed
tests using multisampled images, which are not
supported in ES.

Affects:
KHR-GLES32.robust.robust_buffer_access_behavior.texel_fetch
KHR-GLES32.robust.robust_buffer_access_behavior.image_load_store

Components: OpenGL

VK-GL-CTS issue: 21

Change-Id: I603fb39089669265065741ba77dbba2e5afff396

7 years agoAdd 32 to 16 bit float conversion w.r.t rounding mode
Lei Zhang [Mon, 20 Mar 2017 19:40:54 +0000 (15:40 -0400)]
Add 32 to 16 bit float conversion w.r.t rounding mode

Component: Framework

Change-Id: I9428f0dc725484b8a2f213157100326a69754cd8

7 years agoRemove few android_extension_pack.shaders tests from GLES CTS 3.2.3.x
Alexander Galazin [Wed, 22 Mar 2017 10:12:46 +0000 (11:12 +0100)]
Remove few android_extension_pack.shaders tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES31.functional.android_extension_pack.shaders.es32.extension_directive.ext_primitive_bounding_box

Components: OpenGL

VL-GL-CTS issue: 256

Change-Id: I6bb01a94b3eec576f601e1a3f7618007ae9b10f0

7 years agoRemove few tessellation.user_defined_io tests from GLES CTS 3.2.3.x
Alexander Galazin [Wed, 22 Mar 2017 10:09:08 +0000 (11:09 +0100)]
Remove few tessellation.user_defined_io tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES31.functional.tessellation.user_defined_io.negative.es32.per_vertex_incorrect_control_explicit_output_array_size_1

Components: OpenGL

VL-GL-CTS issue: 255

Change-Id: Ie0014995b85de3748106baa92d1a12e3aedfdc23

7 years agoRemove few compute_interop tests from GLES CTS 3.2.3.x
Alexander Galazin [Wed, 22 Mar 2017 10:00:11 +0000 (11:00 +0100)]
Remove few compute_interop tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES31.functional.draw_indirect.compute_interop.large.*grid_1000x1000_drawcount_5000

Components: OpenGL

VL-GL-CTS issue: 293

Change-Id: Ib76b3fa577bf672b512ec3b01968538bc3c4be81

7 years agoRemove few EGL robustness tests from GLES CTS 3.2.3.x
Alexander Galazin [Wed, 22 Mar 2017 10:16:26 +0000 (11:16 +0100)]
Remove few EGL robustness tests from GLES CTS 3.2.3.x

Affects:
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.reset_status.vertex
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.reset_status.fragment
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.reset_status.vertex_and_fragment
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.reset_status.compute
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.sync_status.vertex
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.sync_status.fragment
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.sync_status.vertex_and_fragment
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.sync_status.compute
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.query_status.vertex
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.query_status.fragment
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.query_status.vertex_and_fragment
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.query_status.compute

Components: OpenGL

VL-GL-CTS issue: 257

Change-Id: Iee9f299f28bcff42f40b003fa12087d8579d62ff

7 years agoUpdate KC reference
Alexander Galazin [Wed, 22 Mar 2017 08:53:17 +0000 (09:53 +0100)]
Update KC reference

Bring in fixes that remove and delete
GL/* and GLES*/* headers now that they aren't needed
any longer in GTF

VK-GL-CTS issue: 196

Change-Id: I9a42104a5e93b287355db17bcb1120e102827c76
Components: Framework

7 years agoAdd GL/ES VERSION defines
Daniel Koch [Tue, 21 Mar 2017 19:55:54 +0000 (15:55 -0400)]
Add GL/ES VERSION defines

The dEQP does not use the standard GL or GLES headers, but instead
provides it's own type and enum definitions via glw.h.
However this was missing the GL_VERSION_* and GL_ES_VERSION_* defines
that are defined in the standard headers when the types are defined.
This change adds a new inlined include file 'glwVersions.inl' that
defines the GL_*VERSION* for the API versions that are currently
enabled.

VK-GL-CTS issue: 196
Components: OpenGL, Framework

Change-Id: Ie3f9a8e3958aee2cfdee4a4bc6de392bfeb13f1d

7 years agoEnable additional extensions in generation scripts
Daniel Koch [Tue, 21 Mar 2017 19:52:53 +0000 (15:52 -0400)]
Enable additional extensions in generation scripts

- enable the ARB_texture_gather, GL_OES_EGL_image_external, and
  GL_OES_surfaceless_context extensions

VK-GL-CTS issue: 196
Components: Framework

Change-Id: I3dca9477a8f8fd90bf28dc72dc8d61a7f25e182f

7 years agoInfrastructure to remove EGL/GLES31 tests from mustpass
Alexander Galazin [Mon, 20 Mar 2017 13:53:43 +0000 (14:53 +0100)]
Infrastructure to remove EGL/GLES31 tests from mustpass

Components: OpenGL
Affects: 3.2.3.x mustpass generation

Change-Id: I8ffa72d198d351bcde67ca2293779dd93db5d5a0

7 years agoRemove few shaders.fragdata tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 13:44:22 +0000 (14:44 +0100)]
Remove few shaders.fragdata tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES3.functional.shaders.fragdata.draw_buffers

Components: OpenGL

VL-GL-CTS issue: 254

Change-Id: Ic88e2ed0a4a09c05ad61e7a5aa2086669fd59fa8

7 years agoRemove few flush_finish.finish tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 13:37:50 +0000 (14:37 +0100)]
Remove few flush_finish.finish tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.flush_finish.finish

Components: OpenGL

VL-GL-CTS issue: 253

Change-Id: I95f7414d76b23e14a61587ac84a9ecf1a7876e95

7 years agoRemove few negative_api.texture tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 13:35:11 +0000 (14:35 +0100)]
Remove few negative_api.texture tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.negative_api.texture.*

Components: OpenGL

VL-GL-CTS issue: 252

Change-Id: I59f5177b874f68541e7e791ab3b4038cb240951c

7 years agoRemove few fbo.completeness tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 13:14:32 +0000 (14:14 +0100)]
Remove few fbo.completeness tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.fbo.completeness.*

Components: OpenGL

VL-GL-CTS issue: 251

Change-Id: Iec37eb043255d729627c7a68e19cc3349f2f9677

7 years agoRemove few fbo.api tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 13:12:01 +0000 (14:12 +0100)]
Remove few fbo.api tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.fbo.api.*

Components: OpenGL

VL-GL-CTS issue: 250

Change-Id: Iab0263702c782fcc4d081fc52cb38adde850d918

7 years agoRemove few fragment_ops.interaction tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 13:00:49 +0000 (14:00 +0100)]
Remove few fragment_ops.interaction tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.fragment_ops.interaction.*

Components: OpenGL

VL-GL-CTS issue: 249

Change-Id: Ie2606fd09a05f4e0241b3e0a64065569fce99bb2

7 years agoRemove few texture.vertex tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:58:04 +0000 (13:58 +0100)]
Remove few texture.vertex tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.texture.vertex.*

Components: OpenGL

VL-GL-CTS issue: 248

Change-Id: I0fe15c18602b6b0ca00d85d2a8e1bfeef75339fa

7 years agoRemove few texture.mipmap tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:56:01 +0000 (13:56 +0100)]
Remove few texture.mipmap tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.texture.mipmap.*

Components: OpenGL

VL-GL-CTS issue: 247

Change-Id: Ia6da867afb66e11c2c9abafb1728dca7c93c3063

7 years agoRemove few shaders.random tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:53:58 +0000 (13:53 +0100)]
Remove few shaders.random tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.random.*

Components: OpenGL

VL-GL-CTS issue: 245

Change-Id: Ibbab4fe40851c47364a2aeb8887f57d31218fd32

7 years agoRemove few fragdata tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:43:22 +0000 (13:43 +0100)]
Remove few fragdata tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.fragdata.invalid_assign_to_1
dEQP-GLES3.functional.shaders.fragdata.invalid_assign_to_1

Components: OpenGL

VL-GL-CTS issue: 244

Change-Id: Ie3bd609a26ccb525186615248e7689cbb47fb458

7 years agoRemove few texture_functions.invalid tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:40:29 +0000 (13:40 +0100)]
Remove few texture_functions.invalid tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.texture_functions.invalid.*

Components: OpenGL

VL-GL-CTS issue: 243

Change-Id: I817a3d6b33d89212c51ac171884aa9ffbb28d897

7 years agoRemove few texture_functions tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:32:30 +0000 (13:32 +0100)]
Remove few texture_functions tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.texture_functions.*

Components: OpenGL

VL-GL-CTS issue: 242

Change-Id: I00a6698278176260069c949df7924e5889026082

7 years agoRemove few builtin_variable tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:30:16 +0000 (13:30 +0100)]
Remove few builtin_variable tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.builtin_variable.*

Components: OpenGL

VL-GL-CTS issue: 241

Change-Id: I75761eb4b2f993f4eb27f25380b2000f7f366bc9

7 years agoRemove few reserved_operators tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:28:20 +0000 (13:28 +0100)]
Remove few reserved_operators tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.reserved_operators.*

Components: OpenGL

VL-GL-CTS issue: 240

Change-Id: Id6d6c985654560812a3390e63f075ee03d47fa2e

7 years agoRemove few scoping tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:18:27 +0000 (13:18 +0100)]
Remove few scoping tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.scoping.*

Components: OpenGL

VL-GL-CTS issue: 239

Change-Id: Ie23b0eb50acfadef9624aadae90f3006327ef41d

7 years agoRemove few keywords tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:05:41 +0000 (13:05 +0100)]
Remove few keywords tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.keywords.*

Components: OpenGL

VL-GL-CTS issue: 236

Change-Id: I0ee6ab8b935403265b3d1615cef910ca7f3c4387

7 years agoRemove few functions tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:03:10 +0000 (13:03 +0100)]
Remove few functions tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.functions.*

Components: OpenGL

VL-GL-CTS issue: 235

Change-Id: Iba4dff02119bafedfa091b4b6239096f2e0c6881

7 years agoRemove few declarations tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 12:01:00 +0000 (13:01 +0100)]
Remove few declarations tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.declarations.*

Components: OpenGL

VL-GL-CTS issue: 234

Change-Id: I178b7940666434ec71675e3b526cded643bf9be2

7 years agoRemove few linkage tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 11:58:32 +0000 (12:58 +0100)]
Remove few linkage tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.linkage.*

Components: OpenGL

VL-GL-CTS issue: 233

Change-Id: Ifccd8e6e9686bb959285517559f4f5111c51b1a5

7 years agoRemove few constants tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 11:55:08 +0000 (12:55 +0100)]
Remove few constants tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.constants.*

Components: OpenGL

VL-GL-CTS issue: 232

Change-Id: Iaead0520f4addb89bce8fa5111c91e38050e3df8

7 years agoRemove few preprocessor tests from GLES CTS 3.2.3.x
Alexander Galazin [Mon, 20 Mar 2017 11:49:50 +0000 (12:49 +0100)]
Remove few preprocessor tests from GLES CTS 3.2.3.x

Affects:
dEQP-GLES2.functional.shaders.preprocessor.*
dEQP-GLES3.functional.shaders.preprocessor.*

Components: OpenGL

VL-GL-CTS issue: 231

Change-Id: I1a48da1e6443c2dff49c51cb6bce6883076c702d

7 years agoAdd missing barrier in synchronization tests
Iago Toral Quiroga [Tue, 21 Mar 2017 11:34:07 +0000 (12:34 +0100)]
Add missing barrier in synchronization tests

The *read_vertex_input* tests write to a storage
buffer in the vertex stage, which will later
be mapped by the host to read and verify the
results. Add a barrier before attemptig to read
the data from the host.

Components: Vulkan
Vk-GL-CTS issue: 266

Affected tests:
dEQP-VK.synchronization.op.single_queue.semaphore.*read_vertex_input*

Change-Id: Ibda3c54aaa0ba82bdb29422aadcf5df90101411d

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Pyry Haulos [Mon, 20 Mar 2017 16:35:52 +0000 (09:35 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: I3c458c498282b8e354af029c0dd06914558e970f

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Pyry Haulos [Mon, 20 Mar 2017 16:35:30 +0000 (09:35 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

Change-Id: I9f1ac0266e8b5f869e70ef3d8eaec9a7481fdef9

7 years agoFix invalid SPIR-V in dEQP-VK.sparse_resources
Andrey Tuganov [Thu, 2 Mar 2017 20:23:02 +0000 (15:23 -0500)]
Fix invalid SPIR-V in dEQP-VK.sparse_resources

Fixed issue:
SPIR-V code generated in
 - vktSparseResourcesShaderIntrinsicsStorage.cpp
 - vktSparseResourcesShaderIntrinsicsSampled.cpp
violates non-aggregate type declaration uniqueness rule of SPIR-V
specification.

Affects: dEQP-VK.sparse_resources.shader_intrinsics.*
Components: Vulkan

VK-GL-CTS issue: 230

Change-Id: Id39663a17684923f37924559917af524cf68f6c0

7 years agoRun GTF EGL tests only in 'window' configs
Alexander Galazin [Mon, 20 Mar 2017 14:03:17 +0000 (15:03 +0100)]
Run GTF EGL tests only in 'window' configs

Affects:
GTF-GLES2.gtf.GL2ExtensionTests.egl*

Components: OpenGL

VL-GL-CTS issue: 258

Change-Id: I2d0c71e41b52965d5b41c7148dea94bb0bbd69e3

7 years agoInfrastructure to remove GLES2/3 tests from mustpass
Alexander Galazin [Mon, 20 Mar 2017 11:37:39 +0000 (12:37 +0100)]
Infrastructure to remove GLES2/3 tests from mustpass

Components: OpenGL
Affects: 3.2.3.x mustpass generation

Change-Id: I753883a765254551317fe0ef9aa46be1dad9e062

7 years agoIntroduce master mustpass, fix 3.2.3.x mustpass
Alexander Galazin [Mon, 20 Mar 2017 10:14:15 +0000 (11:14 +0100)]
Introduce master mustpass, fix 3.2.3.x mustpass

Affects: OpenGL CTS mustpass generation
Components: OpenGL

Change-Id: Id4a1fd54e1312c608cac254dba7727c2c7d1aba1

7 years agoMerge deqp-dev into vk-gl-cts/master
Pyry Haulos [Fri, 17 Mar 2017 21:56:45 +0000 (14:56 -0700)]
Merge deqp-dev into vk-gl-cts/master

Change-Id: I8b14ed1eff819165824b6737c11128ae7f12cd5c

7 years agoAdd new compute negative coverage tests
John Richardson [Mon, 6 Feb 2017 11:28:21 +0000 (11:28 +0000)]
Add new compute negative coverage tests

Test groups added to:
- dEQP-GLES31.functional.debug.negative_coverage.*.compute (new)

New tests:
- program_not_active

- invalid_program_query
- invalid_dispatch_compute_indirect
- invalid_maximum_work_group_counts
- invalid_maximum_work_group_sizes
- invalid_layout_qualifiers
- invalid_write_built_in_constants

- exceed_uniform_block_limit
- exceed_shader_storage_block_limit
- exceed_texture_image_units_limit
- exceed_image_uniforms_limit
- exceed_shared_memory_size_limit
- exceed_uniform_components_limit
- exceed_atomic_counter_buffer_limit
- exceed_atomic_counters_limit

Change-Id: Ifd798652df3b138e174c1d9408b6ecdb003ce7f9

7 years agoAdd new draw elements base vertex tests
John Richardson [Tue, 14 Feb 2017 09:27:14 +0000 (09:27 +0000)]
Add new draw elements base vertex tests

New tests for EXT_draw_elements_base_vertex extension
exercising the following draw calls

- DrawElementsBaseVertex()
- DrawRangeElementsBaseVertex()
- DrawElementsInstancedBaserVertex()

New test groups:
- dEQP-GLES31.functional.draw_elements_base_vertex.*

New tests:
- indices.*
- base_vertex.*
- builtin_variable.*
- points.*
- triangles.*
- triangle_fan.*
- triangle_strip.*
- lines.*
- line_strip.*
- line_loop.*

Extend dEQP-GLES31.functional.debug.negative_coverage.callbacks.vertex_array.*
tests to include additional mapping and mismatched primitive mode
errors for base vertex draw calls.

New tests:
- *.primitive_mode_mismatch
- *.invalid_map

Change-Id: Iefc9bcddd3fe8831d2bb20f2e46d06f92daa6d6b

7 years agoAdd negative sRGB texture/sampler API tests
Michael Hadley [Wed, 7 Dec 2016 16:11:05 +0000 (16:11 +0000)]
Add negative sRGB texture/sampler API tests

Added sRGB tests to the following:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.texture.*
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader.*

Change-Id: I1ebd5a95c8605a39e4bbb5b4516d0f7b8c11898e

7 years agoAdd shaderStorageImage{Read|Write}WithoutFormat tests
Iago Toral Quiroga [Wed, 1 Mar 2017 11:09:54 +0000 (12:09 +0100)]
Add shaderStorageImage{Read|Write}WithoutFormat tests

This adds new store tests that remove the format layout qualifier
from the writeonly image and new load_store tests that remove
the format layout qualifier from the readonly image.

Since we don't have access to the physical device properties
during shader program compilation, we follow the same approach
of other tests and write two variants of the shader, one that
declares the format qualifier and one that doesn't. We use a
test flag to track if a specific test case is intended to check
behavior with or without image format layout qualifiers declared,
and use that to decide the shader variant to use at run-time.

The original tests now live under
dEQP-VK.image.{load_}store.with_format.* and the new tests
are added under dEQP-VK.image.{load_}store.without_format.*

Components: Vulkan
VK-GL-CTS issue: 164

New tests:
dEQP-VK.image.store.without_format.*
dEQP-VK.image.load_store.without_format.*

Change-Id: I15d7b7e8dafd4e229ff23f61700580b60cb29cb0

7 years agoUpdate fetch_sources.py to get glslang with shader_image_load_formatted
Iago Toral Quiroga [Mon, 6 Mar 2017 08:35:34 +0000 (09:35 +0100)]
Update fetch_sources.py to get glslang with shader_image_load_formatted

This is needed for the
shaderStorageImage{Read|Write}WithoutFormat tests.

Components: Framework

Change-Id: I0edb92489f73db04779b93a21537d758757ddd2f

7 years agodEQP-VK: Add 64-bit versions of the SPIR-V SMod and SRem tests
Jason Ekstrand [Thu, 2 Mar 2017 00:48:20 +0000 (16:48 -0800)]
dEQP-VK: Add 64-bit versions of the SPIR-V SMod and SRem tests

This adds the following tests:

dEQP-VK.spirv_assembly.instruction.compute.opsrem64.positive
dEQP-VK.spirv_assembly.instruction.compute.opsrem64.all
dEQP-VK.spirv_assembly.instruction.compute.opsmod64.positive
dEQP-VK.spirv_assembly.instruction.compute.opsmod64.all

Components: Vulkan

Change-Id: Id2c78e94632637f110726c805fd287b63adbde68

7 years agoFix warning introduced in 2c9e3ec9 am: 521361d83d
Pyry Haulos [Fri, 17 Mar 2017 12:13:38 +0000 (12:13 +0000)]
Fix warning introduced in 2c9e3ec9 am: 521361d83d
am: 19bf995047

Change-Id: I15737bc9d84ca0c75026de084d77dbfe833d6539

7 years agoFix warning introduced in 2c9e3ec9
Pyry Haulos [Fri, 17 Mar 2017 12:09:41 +0000 (12:09 +0000)]
Fix warning introduced in 2c9e3ec9
am: 521361d83d

Change-Id: I82a9917cb875a166583a41e3d1bb7702ae2d3db8

7 years agodEQP-VK: Merge ConvertTestCase with SpvAsmComputeShaderCase
Jason Ekstrand [Tue, 14 Mar 2017 21:40:58 +0000 (14:40 -0700)]
dEQP-VK: Merge ConvertTestCase with SpvAsmComputeShaderCase

The only thing ConvertTestCase was providing over SpvAsmComputeShaderCase
was the ability to specify a set of features required by the test case.
However, this is something that's useful in general if we want to be
able to use int16, int64, or float64 in any of the other compute tests.

Change-Id: I870b8245de94afdb1067d2e538621d1b2230fc51

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Pyry Haulos [Thu, 16 Mar 2017 20:38:50 +0000 (13:38 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: Ie076d86b595698bdb431fa45536a72fa02cac333

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Pyry Haulos [Thu, 16 Mar 2017 20:26:40 +0000 (13:26 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

7 years agoAdd missing flushes for basic draws
Gary Sweet [Thu, 16 Mar 2017 13:17:39 +0000 (13:17 +0000)]
Add missing flushes for basic draws

Buffers were being mapped and written, but not flushed
before use. This affected the basic draw tests when running
with a non-coherent heap.

Affects:

dEQP-VK.draw.basic_draw.*

Components: Vulkan

VK-GL-CTS issue: 210

Change-Id: Ib0f9b77a3b0cd4488b9dc4cee6ebd6de4840262c

7 years agoEnable use of std::string in TCU_FAIL macro
Boris Zanin [Thu, 16 Mar 2017 12:08:20 +0000 (13:08 +0100)]
Enable use of std::string in TCU_FAIL macro

Extend TestError class with a constructor that accepts
std:string as a first parameter in 4-parameter constructor.
This enables to use statements like TCU_FAIL(std::string).

Components: Framework

VK-GL-CTS issue: 260

Change-Id: Ib7cf3eedd8eb22f3cdf9603e56e3fbcc69644d64

7 years agoAdd missing flushes for indirect draws
Gary Sweet [Thu, 16 Mar 2017 13:26:53 +0000 (13:26 +0000)]
Add missing flushes for indirect draws

Buffers were being mapped and written, but not flushed
before use. This affected the indirect draw tests when running
with a non-coherent heap.

Affects:

dEQP-VK.draw.indirect_draw.*

Components: Vulkan

VK-GL-CTS issue: 210

Change-Id: Ie8920bea727419a1da22b8e2d9babcca2c6593fe

7 years agoFix warning introduced in 2c9e3ec9
Pyry Haulos [Wed, 15 Mar 2017 19:23:06 +0000 (12:23 -0700)]
Fix warning introduced in 2c9e3ec9

Change-Id: I42bef21b2cc7274f107e5455dea1e382d8a419f4
(cherry picked from commit d8b452a7533c195b1328918bb696a819542ff044)

7 years agoProperly initialize minFilter/magFilter when setting up test cases
Jorg Wagner [Mon, 13 Feb 2017 06:49:27 +0000 (07:49 +0100)]
Properly initialize minFilter/magFilter when setting up test cases

Modified tests:

dEQP-VK.texture.compressed.*

Components: Vulkan
Vulkan CTS issue: 162

Change-Id: I5fde347c1ab24e01e1ac238fac82ec4071166993

7 years agoFix dynamicStateCount = 0 in tessellation tests
Pyry Haulos [Wed, 15 Mar 2017 19:48:21 +0000 (12:48 -0700)]
Fix dynamicStateCount = 0 in tessellation tests

Change-Id: Ic90bbcda9342e4b9dcbe8f254e855de4f4032d68

7 years agoFix warning introduced in 2c9e3ec9
Pyry Haulos [Wed, 15 Mar 2017 19:23:06 +0000 (12:23 -0700)]
Fix warning introduced in 2c9e3ec9

Change-Id: I42bef21b2cc7274f107e5455dea1e382d8a419f4

7 years agoMerge "Further relax line verification in primitive bbox tests" into nougat-cts-dev...
Alexander Galazin [Wed, 15 Mar 2017 18:40:38 +0000 (18:40 +0000)]
Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev am: 0532365740
am: 468843cf08

Change-Id: I9122ba56c736bdbb628dff8b5b8cc28c9979801f

7 years agoMerge "Further relax line verification in primitive bbox tests" into nougat-cts-dev
Alexander Galazin [Wed, 15 Mar 2017 18:35:35 +0000 (18:35 +0000)]
Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev
am: 0532365740

Change-Id: I12be73b76f9ae43955fbca0071f36b897e82f0d9

7 years agoMerge "Further relax line verification in primitive bbox tests" into nougat-cts-dev
Treehugger Robot [Wed, 15 Mar 2017 18:30:21 +0000 (18:30 +0000)]
Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev

7 years agoFix warnings in glcViewportArrayTests.cpp
Pyry Haulos [Wed, 15 Mar 2017 17:02:47 +0000 (10:02 -0700)]
Fix warnings in glcViewportArrayTests.cpp

Components: OpenGL
Change-Id: I62f951cb8056e7c9d00f5ddd3c110ccd302ac252

7 years agoFix warnings in new EGL tests
Pyry Haulos [Wed, 15 Mar 2017 17:06:30 +0000 (10:06 -0700)]
Fix warnings in new EGL tests

Change-Id: I6d87c0bf5a61dcbb0f292dd7efa6fcb101b7442d

7 years agoUse glReadnPixels only if KHR_robustness is supported am: d99ba132d9
Alexander Galazin [Wed, 15 Mar 2017 15:27:25 +0000 (15:27 +0000)]
Use glReadnPixels only if KHR_robustness is supported am: d99ba132d9
am: d01980d03d

Change-Id: If10695499f41c716416cb4277170529a1f325596

7 years agoUse glReadnPixels only if KHR_robustness is supported
Alexander Galazin [Wed, 15 Mar 2017 15:22:52 +0000 (15:22 +0000)]
Use glReadnPixels only if KHR_robustness is supported
am: d99ba132d9

Change-Id: Icd032ba51a9c2c6141b21083b300e8709ecd7b45

7 years agoChange extern globals into functions for SPIR-V assembly tests
Lei Zhang [Fri, 10 Mar 2017 17:19:01 +0000 (12:19 -0500)]
Change extern globals into functions for SPIR-V assembly tests

This is just refactoring work. No logic change.

Affects:

dEQP-VK.spirv_assembly.*

Component: Vulkan

Change-Id: Ia321f44ffbdb3deb2e9610a7c1d3acdded328a41
(cherry picked from commit ae6a57bec471534780f6a6d117fe77d0bfaf4340)

7 years agoMove graphics pipeline related code to their own files
Lei Zhang [Thu, 9 Mar 2017 14:59:22 +0000 (09:59 -0500)]
Move graphics pipeline related code to their own files

This is just refactoring work. No logic change.

Affects:

dEQP-VK.spirv_assembly.*

Component: Vulkan

Change-Id: If0585dc6e62c415fd04e3bd39f5e0ca9659a267d
(cherry picked from commit f7c283abbd4c94260bbeb2dfed0f709a0b48a509)

7 years agoAdd tests for VK_GOOGLE_display_timing
Ian Elliott [Sun, 15 Jan 2017 22:28:01 +0000 (14:28 -0800)]
Add tests for VK_GOOGLE_display_timing

New tests:

dEQP-VK.wsi.*.display_timing.*

Changed tests:

dEQP-VK.api.info.android.no_unknown_extensions

VK-GL-CTS issue: 227

Change-Id: I50ae75ee0301668e4ad255625f7098387365def8
(cherry picked from commit 4ca1b5ba618a69f9ab748417c9ac5247d182dff4)

7 years agoMerge "Fix stencil bits when creating reference image in depth stencil tests"
Treehugger Robot [Mon, 13 Mar 2017 19:56:27 +0000 (19:56 +0000)]
Merge "Fix stencil bits when creating reference image in depth stencil tests"

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Pyry Haulos [Mon, 13 Mar 2017 19:21:55 +0000 (12:21 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: I7d3af09e44cdeeb4d625a48d40699bbb04fc6157

7 years agoFix precision mismatch issues in dEQP-VK.glsl
Pyry Haulos [Thu, 9 Mar 2017 18:55:20 +0000 (10:55 -0800)]
Fix precision mismatch issues in dEQP-VK.glsl

Changed tests:

dEQP-VK.glsl.functions.*
dEQP-VK.glsl.linkage.*
dEQP-VK.glsl.scoping.*
dEQP-VK.glsl.swizzles.*

Removed tests:

dEQP-VK.glsl.linkage.varying.rules.differing_precision_1
dEQP-VK.glsl.linkage.varying.rules.differing_precision_2
dEQP-VK.glsl.linkage.varying.rules.differing_precision_3

VK-GL-CTS issue: 214
Components: Vulkan

Change-Id: I48c7a5573b485340daa5be9db6aab1fbc70a6fc5

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Pyry Haulos [Mon, 13 Mar 2017 19:20:50 +0000 (12:20 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: Idb98f6470101e761d8f35dfabdb9ca569fbe2975

7 years agoFix validation errors in dEQP-VK.tessellation
Pyry Haulos [Thu, 9 Mar 2017 21:39:17 +0000 (13:39 -0800)]
Fix validation errors in dEQP-VK.tessellation

This fixes several invalid VkExtent3D::depth values for 2D image
operations as well as couple of interface mismatches.

Changed tests: dEQP-VK.tessellation.*

VK-GL-CTS issue: 222
Components: Vulkan

Change-Id: I3da2de6fdf5df7cb89717e35bade73b43e9d3a7d

7 years agoFix precision mismatch in dEQP-VK.binding_model
Pyry Haulos [Thu, 9 Mar 2017 20:44:57 +0000 (12:44 -0800)]
Fix precision mismatch in dEQP-VK.binding_model

Changed tests:

dEQP-VK.binding_model.shader_access.*vertex*

VK-GL-CTS issue: 212
Components: Vulkan

Change-Id: I34b565329c6261f7a12d19f67451c13537dfd914

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Pyry Haulos [Mon, 13 Mar 2017 19:17:25 +0000 (12:17 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: Ibb96d8f1511a5e152b0460208f64c6610ba55e57

7 years agoFix stencil bits when creating reference image in depth stencil tests
Kenneth Graunke [Sat, 11 Mar 2017 17:26:19 +0000 (09:26 -0800)]
Fix stencil bits when creating reference image in depth stencil tests

renderReference expects the number of stencil bits, but we were passing
the number of depth bits.

Affects:
- dEQP-GLES2.functional.fragment_ops.depth_stencil.*
- dEQP-GLES3.functional.fragment_ops.depth_stencil.*

Patch authored by Iago Toral.  See also:
https://bugs.freedesktop.org/show_bug.cgi?id=94455

Change-Id: Id20a4a976c11d5dbe099e0acacc2f7c38dddeb17

7 years agoFix depth stencil aspect flag in render pass input tests
Mika Isojärvi [Thu, 9 Mar 2017 20:33:48 +0000 (12:33 -0800)]
Fix depth stencil aspect flag in render pass input tests

Affected tests:
dEQP-VK.renderpass.* -groups depth and stencil tests

VK-GL-CTS issue: 216
Components: Vulkan

Change-Id: Ib84e42d09e5fea9fbe2f1270c5369b14eb9d688b