platform/upstream/VK-GL-CTS.git
7 years agoFix - vktRobustnessBufferAccessTests.cpp does not compile on VS 2013
Marcin Kańtoch [Mon, 3 Apr 2017 12:28:29 +0000 (14:28 +0200)]
Fix - vktRobustnessBufferAccessTests.cpp does not compile on VS 2013

Changed declaration of IndicesBuffer struct from

struct IndicesBuffer
{
int32_t inIndex;
int32_t outIndex;
};

to

struct IndicesBuffer
{
deInt32 inIndex;
deInt32 outIndex;
};

Affected files: vktRobustnessVertexAccessTests.cpp
Affected tests: dEQP-VK.robustness.buffer_access.*

Change-Id: I9c0b9ca274548bad1d4572fdbc38c9b9cdc814c2

7 years agoCheck correct error for exceeding texture limit
James Helferty [Thu, 30 Mar 2017 19:15:59 +0000 (15:15 -0400)]
Check correct error for exceeding texture limit

This test should check for GL_INVALID_OPERATION instead of GL_INVALID_VALUE.

Affects:

dEQP-GLES31.functional.debug.negative_coverage.get_error.compute.exceed_texture_image_units_limit

Component: AOSP
VK-GL-CTS Issue: 340

Change-Id: I609f6fcb876978e715c52fd5b5c4144891dbaacf

7 years agoFix regression in setting dynamic states in dEQP-VK.tessellation
Slawomir Cygan [Thu, 23 Mar 2017 17:12:05 +0000 (18:12 +0100)]
Fix regression in setting dynamic states in dEQP-VK.tessellation

Do not set dynamic states in pipeline util, that are not set
later in command buffer in from test code.

This applies to to tests that do not have 'm_renderSize' set
in pipeline, because they disable rasterization. As these test
do no set any VP or Scissor in command buffer, they must not mark
these states as DYNAMIC.

Spec:
"
VK_DYNAMIC_STATE_VIEWPORT indicates that the pViewports state in
VkPipelineViewportStateCreateInfo will be ignored and must be set
dynamically with vkCmdSetViewport before any draw commands.

VK_DYNAMIC_STATE_SCISSOR indicates that the pScissors state in
VkPipelineViewportStateCreateInfo will be ignored and must be set
dynamically with vkCmdSetScissor before any draw commands.
"

After this fix the behavior falls into general spec language
not requiring static VP & Scissor when rasterization is disabled.

Components: Vulkan
VK-GL-CTS issue: 325

Affects test:
Some of dEQP-VK.tessellation.*

Change-Id: I69f4200a8f5ac29774e25a50046f07c5a1ba960d

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Pyry Haulos [Mon, 3 Apr 2017 00:10:30 +0000 (17:10 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: I97a51b711e6d515c2f86c113ce8ad8ca45c37183

7 years agoRelax image verification in anisotropic filtering tests
Alexander Galazin [Wed, 29 Mar 2017 07:14:36 +0000 (09:14 +0200)]
Relax image verification in anisotropic filtering tests

Combining nearest texel selection with anisotropic filtering
is implementation dependent and may not be supported.
Do not expect differences between the rendered and the reference images
for such combination of parameters.

Affects:
dEQP-VK.texture.filtering_anisotropy.basic.anisotropy_2.mag_nearest_min_nearest
dEQP-VK.texture.filtering_anisotropy.basic.anisotropy_4.mag_nearest_min_nearest
dEQP-VK.texture.filtering_anisotropy.basic.anisotropy_8.mag_nearest_min_nearest
dEQP-VK.texture.filtering_anisotropy.basic.anisotropy_max.mag_nearest_min_nearest
dEQP-VK.texture.filtering_anisotropy.mipmap.anisotropy_2.mag_nearest_min_nearest_mipmap_nearest
dEQP-VK.texture.filtering_anisotropy.mipmap.anisotropy_2.mag_nearest_min_nearest_mipmap_linear
dEQP-VK.texture.filtering_anisotropy.mipmap.anisotropy_4.mag_nearest_min_nearest_mipmap_nearest
dEQP-VK.texture.filtering_anisotropy.mipmap.anisotropy_4.mag_nearest_min_nearest_mipmap_linear
dEQP-VK.texture.filtering_anisotropy.mipmap.anisotropy_8.mag_nearest_min_nearest_mipmap_nearest
dEQP-VK.texture.filtering_anisotropy.mipmap.anisotropy_8.mag_nearest_min_nearest_mipmap_linear
dEQP-VK.texture.filtering_anisotropy.mipmap.anisotropy_max.mag_nearest_min_nearest_mipmap_nearest
dEQP-VK.texture.filtering_anisotropy.mipmap.anisotropy_max.mag_nearest_min_nearest_mipmap_linear

Components: Vulkan

VL-GL-CTS issue: 267

Change-Id: I064c507aea0b8d72205f4399fcf4a91684536667

7 years agoRemove unused tes2CapabilityTests files
Michael Chock [Thu, 30 Mar 2017 20:53:21 +0000 (13:53 -0700)]
Remove unused tes2CapabilityTests files

external/openglcts/modules/gles2/tes2CapabilityTests.cpp and its
corresponding header are no longer used, though they still define
symbols that conflict with modules/gles2/tes2CapabiltyTests.cpp. Delete
the files and remove them from CMakeLists.txt.

Affects:

None (dead code)

Components: OpenGL

VK_GL_CTS issue: 338

Change-Id: Ie1359c56b1c5c2be514012ca5c017666d9090eb3

7 years agoUpdate KC CTS ref
Alexander Galazin [Fri, 31 Mar 2017 16:03:31 +0000 (18:03 +0200)]
Update KC CTS ref

Components: Framework, OpenGL
VK-GL-CTS issue: 337
Affects: GL45-CTS.gtf21.GL2FixedTests.clip.clip

Change-Id: Ibf09aca228e4f26efa4dcb81e17744c6b5dc5e1c

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Pyry Haulos [Fri, 31 Mar 2017 16:51:15 +0000 (09:51 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: Ia8c230b78ba4df255962fb447e989d190f636e67

7 years agoRespect maxColorAttachments in image tests
Steve Hill [Tue, 28 Mar 2017 12:40:59 +0000 (13:40 +0100)]
Respect maxColorAttachments in image tests

Tests in the image section were using up to 8 framebuffer
attachments.  The minumum required number is 4.

Affects:

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

Components: Vulkan

VK-GL-CTS issue: 192

Change-Id: I21d957f17ec5ef7f9efc8d49f91c7a6d521da053

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Pyry Haulos [Fri, 31 Mar 2017 16:38:21 +0000 (09:38 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

7 years agoFix SPIR-V generation in dEQP-VK.spirv_assembly
Andrey Tuganov [Fri, 3 Mar 2017 21:52:58 +0000 (16:52 -0500)]
Fix SPIR-V generation in dEQP-VK.spirv_assembly

SPIR-V code generated in vktSpvAsmInstructionTests.cpp violates
non-aggregate type declaration uniqueness rule of SPIR-V
specification.

Fixed some of the tests which don't require exstensive changes.

Affects: dEQP-VK.spirv_assembly.instruction.*
Components: Vulkan

VK-GL-CTS issue: 195

Change-Id: Ib352323b08e10f83a0f5371dbf2bbb8b6d1182dd

7 years agoFix - depth/stencil images mandatory only for VK_IMAGE_TYPE_2D
Marcin Kańtoch [Tue, 28 Mar 2017 13:06:59 +0000 (15:06 +0200)]
Fix - depth/stencil images mandatory only for VK_IMAGE_TYPE_2D

Vulkan spec change https://gitlab.khronos.org/vulkan/vulkan/issues/719
made it mandatory to support depth/stencil formats only for
image type VK_IMAGE_TYPE_2D. For VK_IMAGE_TYPE_1D and VK_IMAGE_TYPE_3D
this support is optional.

Made changes to isRequiredImageParameterCombination()

Tests affected: dEQP-VK.api.info.image_format_properties.*

Change-Id: I9df990ced2e0a735078897324211c6b2a3923f2e

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Pyry Haulos [Fri, 31 Mar 2017 15:58:48 +0000 (08:58 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: I84b32ac597bf6c24cfb1d6528ccdb4fb10030290

7 years agoFix a potential "hang" in ARB_sparse_buffer test
Nicolai Hähnle [Tue, 28 Mar 2017 07:53:58 +0000 (09:53 +0200)]
Fix a potential "hang" in ARB_sparse_buffer test

Reading indirect compute dispatch arguments from non-committed memory
is a bad idea because those reads are undefined. This can lead to
huge dispatches that cause the test to run for an excessively long
time and seem as if it hung the GPU.

Affects:
GL45-CTS.sparse_buffer_tests.BufferStorageTest

Components: OpenGL
VK-GL-CTS issue: 332

Change-Id: I25c707cdd26bcbb4ce02d8ffa77009f180a993eb

7 years agoFix the copy-ops part of the ARB_sparse_buffer tests
Nicolai Hähnle [Mon, 27 Mar 2017 20:16:04 +0000 (22:16 +0200)]
Fix the copy-ops part of the ARB_sparse_buffer tests

1. The generic BufferStorageTest framework will allocate a new sparse
   buffer object for each test case, so m_sparse_bos must be updated
   for each iteration.

   For the same reason, the m_sparse_bos array is not yet initialized
   when initTestCases is called. So instead of storing a BO ID in the
   test case description, we store an index into the m_sparse_bos array
   (and the index is only used when the dst/src bo is supposed to be
   sparse).

2. When the same sparse buffer object is used as both source and
   destination, both source and destination commit ranges must
   actually be committed.

Affects:
GL45-CTS.sparse_buffer_tests.BufferStorageTest

Components: OpenGL
VK-GL-CTS issue: 332

Change-Id: I8b92e716464d5f602e636480ea53648c216d1e7e

7 years agoFix various ARB_sparse_buffer test issues
Nicolai Hähnle [Mon, 27 Mar 2017 20:12:58 +0000 (22:12 +0200)]
Fix various ARB_sparse_buffer test issues

AtomicCounterBufferStorageTestCase: The non-sparse helper buffer was
too small because unlike the sparse storage buffer, its size was not
rounded up.

BufferTextureStorageTestCase: The buffer bindings must be established
during execution (or init of the individual test) instead of during
initTestCaseGlobal (otherwise, other tests will interfere).

PixelPackBufferStorageTestCase: The pixel pack buffer binding must be
cleared at the end of the test, or subsequent tests get broken.

PixelUnpackBufferStorageTestCase: As for PixelPackBufferStorageTestCase;
additionally, the pixel unpack buffer must be un-bound while
uploading data from client memory.

QueryBufferStorageTestCase: The helper buffer that is used to read
back the query result must be 8 bytes in size (to hold a 64-bit
number). It must be cleared *before* the query result is copied for
the 32-bit case.

TransformFeedbackBufferStorageTestCase: Map the entire helper buffer
where transform feedback data was written; this is important for the
separate-attribute sub-test, where results are spread across the
buffer. Also, perform the check whether a result lies within the
committed region *before* updating the pointers.

UniformBufferStorageTestCase: ARB_sparse_buffer is like the basic
ARB_sparse_texture in that reads from uncommitted memory regions
are *not* guaranteed to return 0. Furthermore, the transform
feedback buffer bindings must be established during execution instead
of during initTestCaseGlobal (otherwise, other tests will interfere).

Affects:
GL45-CTS.sparse_buffer_tests.BufferStorageTest

Components: OpenGL
VK-GL-CTS issue: 332

Change-Id: If11c617bf8a5a5a6cf402eb33d287a5b4b390485

7 years agoAdd missing barrier in ssbo layout tests
Iago Toral Quiroga [Fri, 24 Mar 2017 11:51:08 +0000 (12:51 +0100)]
Add missing barrier in ssbo layout tests

The tests map storage buffers written by compute shaders
to verify results. Add a barrier before host access to
these buffers.

Components: Vulkan
VK-GL-CTS issue: 326

Affected tests:
dEQP-VK.ssbo.layout.*

Change-Id: I760969e6a572c0f79a6ff2b41721445016a8bba4

7 years agoUpdate ES mustpass after aosp-deqp-dev merge
Alexander Galazin [Fri, 31 Mar 2017 07:31:58 +0000 (09:31 +0200)]
Update ES mustpass after aosp-deqp-dev merge

Component: OpenGL
Affects: master mustpass

Change-Id: I892c26f04d05e91d542c20953fd39f56a2bef339

7 years agoMerge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Pyry Haulos [Thu, 30 Mar 2017 18:06:43 +0000 (11:06 -0700)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master

Change-Id: I06ef8ca99aebb820b1b1123c66fbcafbd404e42c

7 years agoAdd new large constant array indexing tests
John Richardson [Tue, 28 Mar 2017 15:54:13 +0000 (16:54 +0100)]
Add new large constant array indexing tests

New shader library tests for indexing into large constant arrays with
varied sizes and data types (float, vec4).

New tests:
- dEQP-GLES3.functional.shaders.large_constant_arrays.indexing.*

Change-Id: I2d41cc35930969078737b3490c5a2377e7c65446

7 years agoFix for integer formats in framebuffer extension tests
John Richardson [Thu, 30 Mar 2017 09:53:48 +0000 (10:53 +0100)]
Fix for integer formats in framebuffer extension tests

Use UVec4 and IVec4 types when calculating composite color for
unsigned and signed integer formats respectively.

Affected tests:
- dEQP-GLES31.functional.shaders.framebuffer_fetch.framebuffer_format.*

Change-Id: I01cea4a6d99df51939740712b952b5e9191ed1f2

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/deqp-dev
Pyry Haulos [Thu, 30 Mar 2017 17:35:26 +0000 (10:35 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/deqp-dev

7 years agoCode clean up in swizzle math operations script
John Richardson [Wed, 29 Mar 2017 08:49:52 +0000 (09:49 +0100)]
Code clean up in swizzle math operations script

Remove redundant arguments in SwizzleCase constructor in gen swizzle
math operations script.

Change-Id: Ib1786db43682a6aa30b5d64ba770ad565ca23ea5

7 years agoFix constructors in GraphicsInterfaces
Lei Zhang [Tue, 28 Mar 2017 21:59:04 +0000 (17:59 -0400)]
Fix constructors in GraphicsInterfaces

Affects: dEQP-VK.spirv_assembly.*

Component: Vulkan

Change-Id: I651c7568b271647df8ccb31a1f530f6f9e97222e

7 years agoFall back to EGL_EXT_create_context_robustness
James Helferty [Mon, 27 Mar 2017 19:33:29 +0000 (15:33 -0400)]
Fall back to EGL_EXT_create_context_robustness

When creating an ES context with robustness attributes, if EGL 1.5 is
not available, fall back to using EGL_EXT_create_context_robustness.

Affects:

KHR-GLES32.robust.robustness.noResetNotification
KHR-GLES32.robust.robustness.loseContextOnReset
KHR-GLES32.robust.robustness.getnuniform
KHR-GLES32.robust.robustness.readnpixels
KHR-GLES32.robust.robust_buffer_access_behavior.vertex_buffer_objects
KHR-GLES32.robust.robust_buffer_access_behavior.texel_fetch
KHR-GLES32.robust.robust_buffer_access_behavior.image_load_store
KHR-GLES32.robust.robust_buffer_access_behavior.storage_buffer
KHR-GLES32.robust.robust_buffer_access_behavior.uniform_buffer

Components: Framework

VK-GL-CTS issue: 331

Change-Id: Ib83dd872150e26f27acf729889afe99eedd90872

7 years agoExtend SPIR-V assembly pipelines
Lei Zhang [Tue, 21 Mar 2017 14:20:39 +0000 (10:20 -0400)]
Extend SPIR-V assembly pipelines

* Add support for additional resources in graphics pipeline
* Add support for additional interfaces in graphics pipeline
* Add support for different resource types in compute pipeline
* Add support for push constants in both graphics and compute pipeline

Affects: dEQP-VK.spirv_assembly.*

Component: Vulkan

Change-Id: I5dff462936f66815e1d04c069462563877ecac78

7 years agoAdd robust buffer access tests
Dae Kim [Thu, 16 Feb 2017 16:58:00 +0000 (16:58 +0000)]
Add robust buffer access tests

Includes:
dEQP-VK.robustness.buffer_access.*
dEQP-VK.robustness.vertex_access.*

Change-Id: I74dbe73a6e7e86dd60d29727dd8338c2052719fe

7 years agoAdd new framebuffer fetch extension tests
John Richardson [Mon, 20 Mar 2017 17:29:54 +0000 (17:29 +0000)]
Add new framebuffer fetch extension tests

New tests for EXT_shader_framebuffer_buffer_fetch extension. Test cases
for accessing existing framebuffer data as input in the fragment shader.
Includes negative tests cases for invalid shader usage.

New tests:
- dEQP-GLES31.functional.shaders.framebuffer_fetch.basic.*
- dEQP-GLES31.functional.shaders.framebuffer_fetch.framebuffer_format.*
- dEQP-GLES31.functional.debug.negative_coverage.*.framebuffer_fetch.*

Change-Id: I8f8aa2312e26c2c709d3e2e2733c497e24669da8

7 years agoAdd new swizzle math operation tests
John Richardson [Thu, 23 Mar 2017 09:54:09 +0000 (09:54 +0000)]
Add new swizzle math operation tests

New tests for combined swizzle and math operations using various vector
types. Includes addition, subtraction, multiplication, and division
operations with repeated and non-repeated swizzles.

New tests:
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_add.*
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_subtract.*
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_multiply.*
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_divide.*

Change-Id: I4541a88057f70dd41f4f27b81313748094e76037

7 years agoUpdate gl.xml registry snapshot
Daniel Koch [Sat, 25 Mar 2017 15:19:06 +0000 (11:19 -0400)]
Update gl.xml registry snapshot

So that the entry points for ARB_parallel_shader_compile are loaded.

VK-GL-CTS issue: 329
Component: AOSP, Framework, OpenGL
Affects: KHR-GL45.parallel_shader_compile.*

Change-Id: I998a528285405d0fbb5badfdeba4a4672893137c

7 years agoMerge in/out tests for AoA.IInterfaceArrays*
Andres Gomez [Thu, 2 Feb 2017 15:10:14 +0000 (17:10 +0200)]
Merge in/out tests for AoA.IInterfaceArrays*

GL43-CTS.arrays_of_arrays_gl.InteractionInterfaceArrays2 and
GL43-CTS.arrays_of_arrays_gl.InteractionInterfaceArrays3 test for input
and output variables respectively.

GL43-CTS.arrays_of_arrays_gl.InteractionInterfaceArrays5 and
GL43-CTS.arrays_of_arrays_gl.InteractionInterfaceArrays6 test for input
and output blocks respectively.

While output tests can be tested isolatedly, input tests will fail at
linking stage if they are statically read and no matching output exists
in the previous shader stage. Therefore, we have to merge both tests
into a single one.

Affects:

GL43-CTS.arrays_of_arrays_gl.InteractionInterfaceArrays2
GL43-CTS.arrays_of_arrays_gl.InteractionInterfaceArrays3
GL43-CTS.arrays_of_arrays_gl.InteractionInterfaceArrays4
GL43-CTS.arrays_of_arrays_gl.InteractionInterfaceArrays5
GL43-CTS.arrays_of_arrays_gl.InteractionInterfaceArrays6

Components: OpenGL
VK-GL-CTS issue: 138

Change-Id: Iff3bae7d14f76999af8975d7d4733f79cb6e8691

7 years agoDirectStateAccessTexturesTests: fix for textures_subimage_errors
Alejandro Piñeiro [Thu, 23 Feb 2017 12:15:17 +0000 (13:15 +0100)]
DirectStateAccessTexturesTests: fix for textures_subimage_errors

One of the subtests for compressed textures 1D, 2D and 3D are
checking the following error from spec:

  "An INVALID_OPERATION error is generated if format does not match
   the internal format of the texture image being modified, since
   these commands do not provide for image format conversion."

In order to do that it used a not-matching format. But the problem is
that it didn't change the image size, so a different error (checked
later on the test) was generated.

This commit solves the problem by asking to the driver the size for
the not-matching format, in the same way that the size is asked for
the reference formats.

Affects:
GL45-CTS.direct_state_access.textures_subimage_errors

Components: OpenGL

VK-GL-CTS issue: 188

Change-Id: If0f17437dd8767d22389770068cde55dd36e2602

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 tests in dEQP-EGL.functional.robustness*
James Glanville [Fri, 24 Mar 2017 16:26:13 +0000 (16:26 +0000)]
Fix tests in dEQP-EGL.functional.robustness*
am: fd0b6eda1c

Change-Id: I1b527929643bb749984467467bb113ce39e13599

7 years agoFix GL entry point loading in robustness tests
Pyry Haulos [Fri, 24 Mar 2017 16:21:43 +0000 (16:21 +0000)]
Fix GL entry point loading in robustness tests
am: ee81fc2044

Change-Id: Ice17317a2b734ce56fc4c4404f57698809047e9e

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 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
Google bug: 36565815

Change-Id: I4fb807b49ab806c7de968b54b8e5fd5abfd87fcd
(cherry picked from commit a7a065346ffe38a895c461b638f2c6377cbd7bcf)

7 years agoFix GL entry point loading in robustness tests
Pyry Haulos [Thu, 23 Mar 2017 21:00:44 +0000 (14:00 -0700)]
Fix GL entry point loading in robustness tests

Tests were not loading robustness-related entry points if implementation
supported only GL_EXT_robustness and thus had EXT-suffixed entry points.

Bug: 36564789
Bug: 34887315
Change-Id: I70e610dd3083e7c09050e24ef829c71f950d82a1

7 years agoAdd tests for VK_KHR_incremental_present
Mika Isojärvi [Mon, 14 Nov 2016 20:47:29 +0000 (12:47 -0800)]
Add tests for VK_KHR_incremental_present

VK-GL-CTS issue: 228

Change-Id: Ib295de6e449fce56b1f94f2e80a9de52faa56a11
(cherry picked from commit 5319ab26dd8586121adfcc98bcd9f907a5a21aac)

7 years agoHandle VK_EXT_swapchain_colorspace in swapchain tests
Pyry Haulos [Wed, 15 Mar 2017 17:24:15 +0000 (10:24 -0700)]
Handle VK_EXT_swapchain_colorspace in swapchain tests

VK_EXT_swapchain_colorspace adds new surface formats. Driver can enumerate
the formats regardless of whether VK_EXT_swapchain_colorspace was enabled,
but using them without enabling the extension is not allowed. Thus we have
two options:

1) Filter out non-core formats to stay within valid usage.

2) Enable VK_EXT_swapchain colorspace if advertised by the driver.

We opt for (2) as it provides basic coverage for the extension as a bonus.

Affects: dEQP-VK.wsi.*.swapchain.*
Components: Vulkan
VK-GL-CTS issue: 237

Change-Id: I5f905e5fb7ceaf83dacca57ef60d65487ff96d5d
(cherry picked from commit 703e4baead3c08331ee7604539d7a68a8b960c84)

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 srgb_r8 internal format tests
Michael Hadley [Mon, 13 Feb 2017 16:53:38 +0000 (16:53 +0000)]
Add srgb_r8 internal format tests

Added srgb_r8 tests to the following:
- dEQP-GLES31.functional.texture.format.sized.cube_array
- dEQP-GLES31.functional.texture.filtering.cube_array.formats

Change-Id: Ib3f46ea66b1cef284a13205ee009470aa6e7337d

7 years agoAdd negative OES_sample_variables tests
Michael Hadley [Tue, 14 Mar 2017 15:42:34 +0000 (15:42 +0000)]
Add negative OES_sample_variables tests

New Tests:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.oes_sample_variables.*
- dEQP-GLES31.functional.debug.negative_coverage.log.oes_sample_variables.*
- dEQP-GLES31.functional.debug.negative_coverage.get_error.oes_sample_variables.*

Change-Id: I83bf9b48ca0ac7133419099b1a54ebc4d1cacf20

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 agoRemove retire event from eglGetFrameTimestamps
Brian Anderson [Mon, 20 Mar 2017 23:48:56 +0000 (23:48 +0000)]
Remove retire event from eglGetFrameTimestamps
am: 1c43c47725

Change-Id: I63159800f079e90d2191ec9435b0be6b4938f66a

7 years agoRemove retire event from eglGetFrameTimestamps
Brian Anderson [Fri, 17 Mar 2017 23:18:11 +0000 (16:18 -0700)]
Remove retire event from eglGetFrameTimestamps

This will be removed from the API and transparently
translated to the present event instead.

Test: --deqp-case=dEQP-EGL*get_frame_timestamps*

Change-Id: If33653efcaaca8a701008ccb0e6c9450e2c0e9dc

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