platform/upstream/VK-GL-CTS.git
3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Thu, 3 Sep 2020 16:26:57 +0000 (18:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I90728376b5de3d1b84a0138a3fa3d68628ca19f3

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Thu, 3 Sep 2020 14:59:11 +0000 (16:59 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: Ia8c5685499d3f1357117f15b14f92e93b4bca866

3 years agoFixes missing timeline semaphore checks
Matthew Netsch [Wed, 2 Sep 2020 17:17:16 +0000 (13:17 -0400)]
Fixes missing timeline semaphore checks

Components: Vulkan
VK-GL-CTS Issue: 2572

Affects:
dEQP-VK.synchronization.op.multi_queue.*
dEQP-VK.synchronization.smoke.timeline_semaphores

Change-Id: I9829ae9f09ca3a45c6ce7a6aad5ad21c6caad3cd

3 years agoFixes sparse snorm tests
Matthew Netsch [Wed, 2 Sep 2020 17:37:50 +0000 (13:37 -0400)]
Fixes sparse snorm tests

Test using values outside of defined
snorm range.

Components: Vulkan
VK-GL-CTS Issue: 2573

Affects:
dEQP-VK.sparse_resources.mipmap_sparse_residency.*snorm*

Change-Id: Id0027c252ea348dd4756809b280d92072219975c

3 years agoFixes timeline sempahore queue flags
Matthew Netsch [Wed, 2 Sep 2020 17:09:15 +0000 (13:09 -0400)]
Fixes timeline sempahore queue flags

Components: Vulkan
VK-GL-CTS Issue: 2571

Affects:
dEQP-VK.synchronization.signal_order.timeline_semaphore.*

Change-Id: Ibba5d7ac7279cb87a53433ef4c04b57050629efb

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Wed, 2 Sep 2020 14:52:01 +0000 (16:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I6e366f7bdde3333aea7f130a4d4d918fe2b48187

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Wed, 2 Sep 2020 14:51:58 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: Iab4d5330b41e5d237cae5eb572cdc18035f20280

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Wed, 2 Sep 2020 14:51:55 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I96350d6395f5f21a2d33e74ecd153eac1b420bc9

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Wed, 2 Sep 2020 14:51:55 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: Ia8467b7749d07e2f73b8aaef4c9a51a8b7789495

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Wed, 2 Sep 2020 14:51:52 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I19b5ee4378122e348e1d1fa427e0322c0900a94b

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Wed, 2 Sep 2020 14:51:50 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Ib36fe69650d2c93592c3d1ea48d5871326871bae

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Wed, 2 Sep 2020 14:51:49 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: Iea4251d6635a9fa68f0426714641acd50f87e166

3 years agoRevert back to libpng 1.6.27
Alexander Galazin [Wed, 2 Sep 2020 10:33:43 +0000 (12:33 +0200)]
Revert back to libpng 1.6.27

Components: Framework

Change-Id: I6576aeff8d0a1c9375f829518cb4035c53af5e82
(cherry picked from commit f3b873529b8f1b62e8a79055045c1a368ce21ea4)

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Fri, 28 Aug 2020 19:47:51 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: Ic59337f761fdea080f215f93a9f773b1ec0fac19

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Fri, 28 Aug 2020 19:47:49 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: I60e4e39fe689917fbd262c3d3502c08577b7cd75

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 28 Aug 2020 19:47:47 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I7819afa5a0f79fa9859828376c59273bee3ab120

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 28 Aug 2020 19:47:47 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I79af85ae37015656853e9f12f9b1beefe0a1df8f

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Fri, 28 Aug 2020 19:47:43 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I39a6bf72421c7adc0e28469622fe6880d8b54c48

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Fri, 28 Aug 2020 19:47:42 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Ib748d52d82158a63ba3b79a528bcb54276e1df57

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Fri, 28 Aug 2020 09:27:36 +0000 (11:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I32ee9cf4f1a17df56e76e36d57490aa66a20e972

3 years agoUpdate libpng
Alexander Galazin [Thu, 27 Aug 2020 07:54:45 +0000 (09:54 +0200)]
Update libpng

Components: Framework

Change-Id: I5f218837c8a58e35b2d37ca170a93eb01d6b0057

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Fri, 28 Aug 2020 07:10:59 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I5fc3faf6a3bb46fe0daa59c2e911ac94ad1561b1

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Fri, 28 Aug 2020 07:10:57 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: Ief445c43092cdf2d1c7e432ba72cfffb185de59c

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 28 Aug 2020 07:10:55 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: Ie4f286836d822239983ba886eee14cd991676afe

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 28 Aug 2020 07:10:54 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I6bb8696c337a0cef0501cf6879a43bc4f95bdfcd

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Fri, 28 Aug 2020 07:10:53 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I4801810e09dab1c07ec862b7a3add86291408a22

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Fri, 28 Aug 2020 07:10:51 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I0c4266d49b22f1d2f4f02d5c3a02c12665be38ec

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Fri, 28 Aug 2020 05:34:21 +0000 (07:34 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I08d446d669112864315659de6c9443e176e9f575

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Thu, 27 Aug 2020 15:10:41 +0000 (17:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: I8dd42b54d5d9b559f86affd2518cce0ea13f4b33

3 years agoFix renderdoc library name on android
Matthew Netsch [Wed, 26 Aug 2020 19:52:46 +0000 (15:52 -0400)]
Fix renderdoc library name on android

Components: Framework, Vulkan
VK-GL-CTS Issue: 2562

Change-Id: I05657bd83f7bc97107792dd4d742c346883f589b

3 years agoFixes descriptor indexing tests
Matthew Netsch [Wed, 26 Aug 2020 02:41:11 +0000 (19:41 -0700)]
Fixes descriptor indexing tests

Tests were exceeding the max number of input
attachments

Components: Vulkan
VK-GL-CTS Issue: 2561

Affects:
dEQP-VK.descriptor_indexing.*

Change-Id: If135ecee8aca6480d28f2e66ca574a5a9fbbc201

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Fri, 21 Aug 2020 14:19:50 +0000 (16:19 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: Ide95e912e13d3a98a8f967bbe9233a2585aee268

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Fri, 21 Aug 2020 10:57:07 +0000 (12:57 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: Ib0765cdf1f4a2666eee555d00999b68f8e316905

3 years agoFix shaderCullDistance limit checks
Iago Toral Quiroga [Mon, 27 Jul 2020 08:07:22 +0000 (10:07 +0200)]
Fix shaderCullDistance limit checks

The maxCullDistances limit is related to the
shaderCullDistance feature, not shaderClipDistance.

VK-GL-CTS issue: 2504
Components: Vulkan
Affects: dEQP-VK.info.device_properties
Change-Id: I705c430912b1c5e162b96f57af7a7ddbec82d973
(cherry picked from commit cc9c836e2e9e64c1e4bfe0ce687ed4f4236a3450)

3 years agoFix incorrect buffer type in some protected memory tests
Christopher Gautier [Wed, 19 Aug 2020 12:18:19 +0000 (14:18 +0200)]
Fix incorrect buffer type in some protected memory tests

Certain Vulkan tests, such as
dEQP-VK.protected_memory.buffer.fill.<type>_buffer.*, create a BufferView with
a format that is always set to VK_FORMAT_R32G32B32A32_UINT, independently of
the actual test type (float_buffer, integer_buffer, unsigned_buffer). Reading
floats from an integer BufferView may return incorrect values on some
implementations.

This patch propagates a VkFormat parameter so that each test can create a
BufferView with the appropriate format.

Components: Vulkan

Affects:
 - dEQP-VK.protected_memory.buffer.copy.*
 - dEQP-VK.protected_memory.buffer.fill.*
 - dEQP-VK.protected_memory.buffer.update.*

VK-GL-CTS Issue: 2551

Change-Id: I1e79ae2761a028025148c3a63775a0d464278285
(cherry picked from commit 8d42d5d9c0e48ea76fad2cb4e232334b4a849d0f)

3 years agoFix firstInstance for vkCmdDraw call
Alejandro Piñeiro [Sun, 16 Aug 2020 22:07:23 +0000 (00:07 +0200)]
Fix firstInstance for vkCmdDraw call

At vktShaderRender. The tests using that common code doesn't seems to
be setting several instances, but the call to cmddraw is setting first
instance to 1. Note that CmdDraw is called on an else path. The if
codepath is already calling CmdDrawIndexed with firstInstance to 0.

Affects:

dEQP-VK.glsl.builtin_var.simple.pointcoord
dEQP-VK.glsl.builtin_var.simple.pointcoord_uniform_vert
dEQP-VK.glsl.builtin_var.simple.pointcoord_uniform_frag

Components: Vulkan

VK-GL-CTS issue: 2546

Change-Id: Ia608f75e5dbf3879cecf20fd8e0a3a4605c2d2e8

3 years agoDon't crash when there are zero displays
Piers Daniell [Mon, 10 Aug 2020 19:45:57 +0000 (13:45 -0600)]
Don't crash when there are zero displays

Resizing a vector to zero size and then attempting to dereference
the first element cause STL to throw an exceptoin or other
undesirable behavior.

Instead just throw NotSupportedError when there are zero displays.

Affects:

dEQP-VK.wsi.display.*

Components: Vulkan

VK-GL-CTS issue: 2534

Change-Id: Ifd097d8043e8bcb9c20809873d146a7fa4263b4a

3 years agoAllow Vulkan CTS 1.2.3.2
Alexander Galazin [Thu, 6 Aug 2020 11:32:55 +0000 (13:32 +0200)]
Allow Vulkan CTS 1.2.3.2

Components: Vulkan

Affects: dEQP-VK.api.driver_properties.properties

Change-Id: Ibbb510402049a36cf28b3852f4fc93f7c028b704

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into into/vulkan-cts-1.2.3
Alexander Galazin [Thu, 6 Aug 2020 18:52:31 +0000 (20:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into into/vulkan-cts-1.2.3

Change-Id: I3acf8badddc40281feed39932dd297859705dfc7

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Thu, 6 Aug 2020 18:21:54 +0000 (20:21 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: Ied950b7f9720bb0d6539fa08a0f0123b68554dd0

3 years agoFix support check for sparse input attachment test
Matthew Netsch [Wed, 5 Aug 2020 16:33:35 +0000 (09:33 -0700)]
Fix support check for sparse input attachment test

Components: Vulkan
VK-GL-CTS Issue: 2528

Affects:
dEQP-VK.renderpass.suballocation.attachment_sparse_filling.*

Change-Id: I4c143273e9f337f7d5dcfc0230c800955304633b

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Thu, 6 Aug 2020 10:20:26 +0000 (12:20 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I9b3cd47707fa2f7d56cc3fc1037c3fb556c20f90

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Thu, 6 Aug 2020 08:11:00 +0000 (10:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: I7f2c0916bffde736bf0e47a306249e0f78a47193

3 years agoFixes capability checks in subgroup tests
Matthew Netsch [Wed, 29 Jul 2020 22:12:52 +0000 (18:12 -0400)]
Fixes capability checks in subgroup tests

Components: Vulkan
VK-GL-CTS Issue: 2517

Affects:
dEQP-VK.subgroups.vote.*
dEQP-VK.subgroups.vote.frag_helper.*

Change-Id: I49832e7fe34eddbc655ca4d5d7e155d311685c8a

3 years agoSplits protected memory test shaders
Matthew Netsch [Wed, 29 Jul 2020 22:03:46 +0000 (18:03 -0400)]
Splits protected memory test shaders

Components: Vulkan
VK-GL-CTS Issue: 2516

Affects:
dEQP-VK.protected_memory.stack.stacksize_*

Change-Id: I5ac52229cd59e9b4b92914a60b0ffa37cdff70c7

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Wed, 5 Aug 2020 08:10:42 +0000 (10:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: If6ab8dd1d8164a6977a8af611ac20283f89fb86c

3 years agoFix for dEQP-VK.subgroups.*_requiredsubgroupsize
Charles Johnston [Wed, 22 Jul 2020 16:54:13 +0000 (12:54 -0400)]
Fix for dEQP-VK.subgroups.*_requiredsubgroupsize

The tests in the group dEQP-VK.subgroups.*_requiredsubgroupsize do
not check if requiredSubgroupSizeStages from the structure
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT contain the
shader stage the tests are using.

Affected tests:
dEQP-VK.subgroups.*_requiredsubgroupsize

Components: Vulkan
VK-GL-CTS issue: 2494

Change-Id: I2a932248698658a75364b9adc907f5454ff1d969

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Thu, 30 Jul 2020 07:27:30 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: Ib6ad16a84861396d4216b00bdbdf55fcd82fbd77

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Thu, 30 Jul 2020 07:27:28 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: I85270b15bd84ce01ee927c5bd4687a4d2196e1fe

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Thu, 30 Jul 2020 07:27:27 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: Ife743420baa1f4998a8d0f1b9ee32dd93a5a74f4

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Thu, 30 Jul 2020 07:27:27 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I7bac3dcb8580348fe7aa1238145c55640a3f75da

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Thu, 30 Jul 2020 07:27:25 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Ic03b0ca5deecc32b574df399b12314d16150574f

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Wed, 29 Jul 2020 10:41:15 +0000 (12:41 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I9257feb431f2edf54f39f0912df10c115115f75a

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Wed, 29 Jul 2020 09:39:53 +0000 (11:39 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I9a0205ade4419a8e0260ac487fa3e443e93609cc

3 years agoStop 10bit formats requiring GL_SRGB encoding
James Glanville [Thu, 2 Jul 2020 16:02:25 +0000 (17:02 +0100)]
Stop 10bit formats requiring GL_SRGB encoding

The EGL_KHR_gl_colorspace spec does not require formats that
are not SRGB8 to respect the given EGL_GL_COLORSPACE_KHR.

Components: EGL

VK-GL-CTS issue: 2288

Affects:

dEQP-EGL.functional.wide_color.window_1010102_colorspace_srgb
dEQP-EGL.functional.wide_color.pbuffer_1010102_colorspace_srgb

Change-Id: I1d9c502ef2f7068cf13d13564abdfe2d3c75b93b

4 years agoRelaxes tolerance for arithmetic subgroup tests
Matthew Netsch [Mon, 20 Jul 2020 16:03:17 +0000 (12:03 -0400)]
Relaxes tolerance for arithmetic subgroup tests

Components: Vulkan
VK-GL-CTS Issue: 2460

Affects:
dEQP-VK.subgroups.arithmetic.compute.*

Change-Id: I1bc97414d1a18b41f05e110c7f525a222f6c7f8f

4 years agoVK_EXT_image_robustness tests
Gary Sweet [Thu, 28 May 2020 13:18:17 +0000 (14:18 +0100)]
VK_EXT_image_robustness tests

Re-uses much of the robustness2 test code.
Parameterizes the code to test just the subset
of robustness2 relevant to image_robustness
with the appropriate relaxations.

New tests: dEQP-VK.robustness.image_robustness.*

Affects: dEQP-VK.robustness.robustness2.*

Components: Vulkan

Change-Id: Ifaf4ffe4e4718cc7e80afc305ab73e8c9ea1ff4a
(cherry picked from commit ab2b0eb2921b649bee5f0c81f6cd42c1aad471a5)

4 years agoVK_EXT_robustness2 tests
Jeff Bolz [Wed, 8 Jan 2020 02:52:31 +0000 (20:52 -0600)]
VK_EXT_robustness2 tests

New tests: dEQP-VK.robustness.robustness2.*

Components: Vulkan

Change-Id: I93e6970ab8662b7041f258065116a924ccd7d1e4
(cherry picked from commit a0673086d0f9beea895dd529c59415a0c7389f71)

4 years agoUpdate Vulkan headers
Alexander Galazin [Mon, 20 Jul 2020 08:25:15 +0000 (10:25 +0200)]
Update Vulkan headers

Components: Vulkan

Change-Id: I8c6dd047b6308cb9e4d67b98d8487e704e3151ac
(cherry picked from commit 06b6d666795b6c7a5132ee368a9ee074f548da79)

4 years agoWhitelist Vulkan CTS 1.2.3.1
Alexander Galazin [Thu, 9 Jul 2020 14:05:07 +0000 (16:05 +0200)]
Whitelist Vulkan CTS 1.2.3.1

Affects: dEQP-VK.api.driver_properties.properties

Components: Vulkan

Change-Id: Ia56f34c1fa98dcd55f28572731a232fdd16bd072

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Thu, 9 Jul 2020 17:17:09 +0000 (19:17 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I39fda12511570ac092cc8c8759797d7c32c08bf6

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Thu, 9 Jul 2020 15:25:52 +0000 (17:25 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: I4b1a75f774b599659cec5a866f74d4406ae3fd5b

4 years agoAdd calls to touchWatchdog()
Paul Thomson [Fri, 26 Jun 2020 16:03:59 +0000 (17:03 +0100)]
Add calls to touchWatchdog()

...to prevent a timeout when creating eight pipelines with large compute
shaders.

Components: Vulkan

Affects:

dEQP-VK.subgroups.*

Change-Id: Icab408e382a5c4d582786128bb88188c657dd9da

4 years agoUpdate Vulkan headers
Alexander Galazin [Sat, 4 Jul 2020 10:21:58 +0000 (12:21 +0200)]
Update Vulkan headers

Components: Vulkan

Change-Id: Ie919aa4569a396524aac48dc39c94ac64382a5ae
(cherry picked from commit 7bfbb9f81d994c093d5cd3f5a9674a808acb6b14)

4 years agoAdd tests for VK_EXT_fragment_density_map2
Piotr Byszewski [Tue, 14 Apr 2020 13:23:43 +0000 (15:23 +0200)]
Add tests for VK_EXT_fragment_density_map2

Components: Vulkan

VK-GL-CTS issue: 2301

Affects:
dEQP-VK.renderpass2.fragment_density_map.*
dEQP-VK.api.info.get_physical_device_properties2.features

Change-Id: I5d60f93a362766763ab83e972627af70bfb65c2a
(cherry picked from commit 3ad26e0475fbd15f5212aa1cba0dbe810c6ff719)

4 years agoAdd tests for VK_EXT_private_data
Jeff Bolz [Sun, 5 Apr 2020 07:02:52 +0000 (02:02 -0500)]
Add tests for VK_EXT_private_data

Component: Vulkan
New Tests: dEQP-VK.api.object_management.private_data.*
New Tests: dEQP-VK.wsi.*.private_data.*

Change-Id: I465e0969cc5f1e82dc2e1face019412ecfb44e27
(cherry picked from commit 44ef9e08c4592207c0f3d81ed385bac078f1925a)

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Fri, 3 Jul 2020 14:02:14 +0000 (16:02 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: If495b585821336aa0bb44bc8a5b0f96b598208dc

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Fri, 3 Jul 2020 13:08:20 +0000 (15:08 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: I909eb1b0ad19d236b3cc70ea9bd9e99480977711

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 3 Jul 2020 12:07:27 +0000 (14:07 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: Ie62afeb1af0f212d51ae8ad9999078068587e19c

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Fri, 3 Jul 2020 11:11:32 +0000 (13:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Iab64c9ee8090eadf98c8383996d53ff8c9f488f1

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 3 Jul 2020 11:10:27 +0000 (13:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I14c19183e4f63e28bcb091aaef1073009355909d

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Fri, 3 Jul 2020 10:20:06 +0000 (12:20 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: Iaf4e658989b8e022896e313159dc14fe59e25b3d

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Fri, 3 Jul 2020 08:58:15 +0000 (10:58 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: Ifb9683901fedc005a2b4e0d4173b402747dad99c

4 years agoAvoid need for shaderOutputViewportIndex
Ricardo Garcia [Fri, 26 Jun 2020 06:47:55 +0000 (08:47 +0200)]
Avoid need for shaderOutputViewportIndex

Extended dynamic state tests require shaderOutputViewportIndex to write to
gl_ViewportIndex from the vertex shader. This commit removes that requirement
by writing to gl_ViewportIndex from the geometry shader stage and only when
there are multiple viewports.

Affected tests:
dEQP-VK.pipeline.extended_dynamic_state.*

Components: Vulkan
VK-GL-CTS issue: 2435

Change-Id: Ied28244937e5799191a49d5e79056ad7dd4913db

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Fri, 3 Jul 2020 08:17:15 +0000 (10:17 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: Ie4f2ff790ce6428d29182a61c44ef3706291d9df

4 years agoEnable unused AllocationCallbackRecorder
Mika Väinölä [Thu, 25 Jun 2020 13:26:19 +0000 (16:26 +0300)]
Enable unused AllocationCallbackRecorder

computeDeviceMemorySystemMemFootprint used in Vulkan memory mapping and
allocation tests creates an AllocationCallbackRecorder but didn't pass
the callbacks to allocateMemory, passing zero records to
validateAllocationCallbacks.

Affects:
dEQP-VK.memory.mapping.suballocation.random.*
dEQP-VK.memory.allocation.random.*

Components: Vulkan

VK-GL-CTS issue: 2434

Change-Id: I208ea3e5a449c9a69b2981067ad38ea3e54699c2

4 years agoRobustness2 features are enabled by default
Marcin Kańtoch [Wed, 17 Jun 2020 12:55:42 +0000 (14:55 +0200)]
Robustness2 features are enabled by default

Robustness2 features are enabled by default for the Default Device,
but robustBufferAccess is disabled. The correct behaviour is to not
enable robustness2 features for this device and allow robustness2
tests to create a separate device with the features turned on.

Components: Framework

VK-GL-CTS issue: 2408

Change-Id: I5b5afd24d497340bd48d97c86b5cb17c509f1d72
(cherry picked from commit a20baf416c7dd115bdf3307fb9363bdabbb821ce)

4 years agoMove texture parameter checking to checkSupport()
Pawel Ksiezopolski [Tue, 16 Jun 2020 15:18:43 +0000 (17:18 +0200)]
Move texture parameter checking to checkSupport()

Some of the texture tests use iterate() method to check
if proper extensions are supported.
These checks have been moved to checkSupport() method.

Affects tests:
dEQP-VK.texture.filtering.*
dEQP-VK.texture.compressed.*
dEQP-VK.texture.mipmap.*
dEQP-VK.texture.shadow.*

Components: Vulkan

Change-Id: I21d41c52809e26860c8c39a98aa66817f335feca
(cherry picked from commit d73452cb16fb476040eb9b5ea59005f6b52b7980)

4 years agoFix minor VU issue with VK_EXT_extended_dynamic_state
Piers Daniell [Wed, 17 Jun 2020 17:40:15 +0000 (19:40 +0200)]
Fix minor VU issue with VK_EXT_extended_dynamic_state

The VUs for vkCreateGraphicsPipeline when
VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT is enabled state
that the viewportCount must be specified as zero.

Similarily with VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT
enabled scissorCount must be specified as zero in the
pipeline.

Affects:
dEQP-VK.pipeline.extended_dynamic_state.*

Components: Vulkan
VK-GL-CTS issue: 2424

Change-Id: I7f4aca4e02b82389fa8bacbb915ac3ed625c49b0

4 years agoFix multiview dependency access mask for depth stencil attachments
Varvara Poskonina [Fri, 19 Jun 2020 09:02:50 +0000 (11:02 +0200)]
Fix multiview dependency access mask for depth stencil attachments

Vulkan spec states that in case if depth stencil attachment storeOp
and/or stencilStoreOp is set to VK_ATTACHMENT_STORE_OP_STORE in its
description, corresponding access type should be write permissive.

This change sets subpass depencency source access mask to
VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT in case if DS
attachment is present.

Components: Vulkan

Affects: dEQP-VK.multiview.*

VK-GL-CTS Issue: 2428

Change-Id: Ie34a6d93a8bdfad163150483b2fb8feb780ce0db

4 years agoAlways dynamically lookup egl functions
Courtney Goeltzenleuchter [Wed, 10 Apr 2019 21:25:16 +0000 (15:25 -0600)]
Always dynamically lookup egl functions

Android's latest NDK includes support for EGL 1.5 functions.
However, only for API level 29. But due to unified headers
folks building for older API levels will also see the new
functions but won't be able to link. Making the egl functions
dynamic avoids build time issues.

Change-Id: I718e28c7422faf3c7b964ca70b86a1711a08ae54
Affects: EGL
Bug: 1873
(cherry picked from commit 9af8b5c1ad98342a634b79a1f9c1213632248c64)

4 years agoAdd missing writes to PointSize in subgroups tests
James Fitzpatrick [Thu, 14 May 2020 15:51:14 +0000 (16:51 +0100)]
Add missing writes to PointSize in subgroups tests

When shaderTessellationAndGeometryPointSize is enabled the PointSize
builtin is undefined unless it is written to in the last vertex
processing phase so propagate the write through all vertex stages.

Affects:
dEQP-VK.subgroups.*

Components: Vulkan

VK-GL-CTS issue: 2404

Change-Id: Id8ffe8401c0a69d1e13847d168bafcec7e3c7a52
(cherry picked from commit 75f9abc189d4bef82d9496f55284c382b3b7a43f)

4 years agoAdd missing barriers from device to host read access
Slawomir Cygan [Mon, 22 Jun 2020 15:48:13 +0000 (17:48 +0200)]
Add missing barriers from device  to host read access

Add barriers from various device write accesses to
host read access just before validating device written-data
on host.

Additionally correct one host memory op before validating data:
invalidate should be used instead of flush.

Components: Vulkan

VK-GL-CTS Issue: 2429

Change-Id: I09c845e7f306eadb012bf33cf49e1a9cfa8e2e0c
Affects: dEQP-VK.conditional_rendering.*

4 years agoLinux WSI checks the WS availability on create
Tony Zlatinski [Tue, 16 Jun 2020 13:04:08 +0000 (08:04 -0500)]
Linux WSI checks the WS availability on create

Before creating a display of a specific WSI type,
check for the server availability, first. If the display server of
the requested WSI type (XLIB/XCB/WAYLAND) is not present/running,
then when throw an exception of type NotSupportedError
rather than one of type ResourceError.

This would allow for the tests to be marked as unsupported,
rather than causing the CTS to crash/exit.

Affects: dEQP-VK.wsi.wayland.*
         dEQP-VK.wsi.xcb.*
         dEQP-VK.wsi.xlib.*
         dEQP-VK.image.swapchain*

Components: Vulkan, WSI, Linux platform

VK-GL-CTS issue: 2422

Change-Id: I7538be79e528ed9cde38cff3404b5f3603bdf5c1

4 years agoRequire VK_EXT_filter_cubic for cubic filtering
James Fitzpatrick [Fri, 12 Jun 2020 10:12:28 +0000 (11:12 +0100)]
Require VK_EXT_filter_cubic for cubic filtering

Make the copy and blit tests for cubic filtering depend on
VK_EXT_filter_cubic to stop them being run on drivers supporting
VK_IMG_filter_cubic.

Affects:
dEQP-VK.api.copy_and_blit.core.blit_image.all_formats.color.*
dEQP-VK.api.copy_and_blit.core.blit_image.all_formats.generate_mipmaps.*
dEQP-VK.api.copy_and_blit.dedicated_allocation.blit_image.all_formats.color.*
dEQP-VK.api.copy_and_blit.dedicated_allocation.blit_image.all_formats.generate_mipmaps.*

Components: Vulkan

VK-GL-CTS issue: 2417

Change-Id: I3b2b689410603d639837bed48fa8f7e924da577c

4 years agoFixes execServer with target API 28
Matthew Netsch [Thu, 11 Jun 2020 22:34:39 +0000 (18:34 -0400)]
Fixes execServer with target API 28

Components: Framework
VK-GL-CTS Issue: 2419

Affects:
com.drawelements.deqp.execserver

Change-Id: I37aa175e4c782c1213b65be58a32c4c41aabe4b9

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Wed, 17 Jun 2020 07:57:27 +0000 (09:57 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I034dee35378c6ab9da08c5904a7c1773ef36585f

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Wed, 17 Jun 2020 06:26:32 +0000 (08:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: I2c03ffa5a1aa72be33ffbb223156c1b199ce0175

4 years agoFixes advanced blending tests support check
Matthew Netsch [Mon, 15 Jun 2020 22:04:42 +0000 (18:04 -0400)]
Fixes advanced blending tests support check

Tests were only running with
advancedBlendAllOperations supported

Components: Vulkan
VK-GL-CTS Issue: 2406

Affects:
dEQP-VK.pipeline.blend_operation_advanced.*

Change-Id: I387f1fd724bb14f6a34e784e663680abc178d5bb

4 years agoDon't request DebugReportRecorder with no layers
Tony Zlatinski [Wed, 10 Jun 2020 03:11:50 +0000 (22:11 -0500)]
Don't request DebugReportRecorder with no layers

Don't request the creation of DebugReportRecorder
when there are no layers installed.

When creating a custom instance with createCustomInstance(),
one can not expect the vkCreateDebugReportCallbackEXT to be
available when the layers are not enabled(installed) and the
VK_EXT_debug_report is not requested.

Affects: dEQP-VK.api.tooling_info.*

Components: Vulkan

VK-GL-CTS issue: 2411

Change-Id: Ib19a8b12a0562f7588b23338cb7ff4abea3da9d9

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Fri, 12 Jun 2020 12:48:42 +0000 (14:48 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I853402128f2a9d4340a7d4a852803fbeb5931bc6

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Fri, 12 Jun 2020 11:16:47 +0000 (13:16 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: Iea70c56e33f9ff0916b9b7536112ac21a71f7ffc

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 12 Jun 2020 10:26:44 +0000 (12:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I90e38666d58a9b1e0af157dc5dbaa0516c681b56

4 years agoAdd missing writes to PointSize in subgroups tests
James Fitzpatrick [Thu, 14 May 2020 15:51:14 +0000 (16:51 +0100)]
Add missing writes to PointSize in subgroups tests

When shaderTessellationAndGeometryPointSize is enabled the PointSize
builtin is undefined unless it is written to in the last vertex
processing phase so propagate the write through all vertex stages.

Affects:
dEQP-VK.subgroups.*

Components: Vulkan

VK-GL-CTS issue: 2404

Change-Id: Icc1bc30a46d8787f116f9f916c98aa8778226dd3

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 12 Jun 2020 09:17:14 +0000 (11:17 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I04bbf72e6cc5268c82d352aa2ba638d66445457c

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Fri, 12 Jun 2020 08:35:57 +0000 (10:35 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: Ie554eb9583f468a3bd85375fefd8549da51b9389

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Fri, 12 Jun 2020 08:35:14 +0000 (10:35 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Iddeb0a37d7c73f0539c4723040b59d22418f8f05

4 years agoFixes timeline semaphore test queues
Matthew Netsch [Thu, 11 Jun 2020 05:04:56 +0000 (01:04 -0400)]
Fixes timeline semaphore test queues

Components: Vulkan
VK-GL-CTS Issue: 2416

Affects:
dEQP-VK.synchronization.timeline_semaphore

Change-Id: I3c101c869267c7bb747c53193195108df5996e70

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Thu, 11 Jun 2020 20:23:29 +0000 (22:23 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I997b74efec17bfa3b4f70e7c3cd99e34ca726d30

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Thu, 11 Jun 2020 16:40:24 +0000 (18:40 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: I19c871d2823652543622ebe6d11cf1da6b72fb76