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
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
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
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
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
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
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
Alexander Galazin [Thu, 27 Aug 2020 07:54:45 +0000 (09:54 +0200)]
Update libpng
Components: Framework
Change-Id: I5f218837c8a58e35b2d37ca170a93eb01d6b0057
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
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
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
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
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
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
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
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
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
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
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
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
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)
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)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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)
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)
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)
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
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
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
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
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)
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)
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)
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
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
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
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
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
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
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
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
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
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
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)
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)
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
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
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)
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)
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.*
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Slawomir Cygan [Fri, 5 Jun 2020 14:34:07 +0000 (16:34 +0200)]
Fix image layouts in graphics spirv_assembly tests
This fixes regression from
789c733eef56b.
After above change, the command buffer recording and submission
is looped. However, image layouts are not properly handled at
the beginning and end of each loop
- transitioning image from UNDEFINED layout at the beginning
of each loop, corrupting the data from previous iterations.
- transitioning the image to TRANSFER_SRC layout at the end of
each loop, making it incompatible with render pass in next
iteration.
This change moves the barriers only to the first and last
iteration of the loop.
Components: Vulkan
VK-GL-CTS Issue: 2405
Affects: dEQP-VK.spirv_assembly.*
Change-Id: I7f5d8493f11b05eea8569090e6da2ff768579a09
(cherry picked from commit
17e9601b282c94f4cc5a9614a300f536684dc70f)
Mikel Garai [Wed, 3 Jun 2020 12:28:34 +0000 (14:28 +0200)]
Fix maxMipMap calculation for images
This change uses the floor of the log2 instead of the ceiling as
described in vulkan specification for normal images.
Vulkan spec section: 11.3.3. Image Miplevel Sizing
Components: Vulkan
Affects:
dEQP-VK.api.info.image_format_properties.*
VK-GL-CTS Issue: 2407
Change-Id: Ic5c7afe5890ebf1b5cc00abd1534a4a4d0c9c3c9
(cherry picked from commit
3d81feb1d686a02a92ad0d1e8bd519869c2d700a)
Slawomir Cygan [Fri, 5 Jun 2020 14:34:07 +0000 (16:34 +0200)]
Fix image layouts in graphics spirv_assembly tests
This fixes regression from
789c733eef56b.
After above change, the command buffer recording and submission
is looped. However, image layouts are not properly handled at
the beginning and end of each loop
- transitioning image from UNDEFINED layout at the beginning
of each loop, corrupting the data from previous iterations.
- transitioning the image to TRANSFER_SRC layout at the end of
each loop, making it incompatible with render pass in next
iteration.
This change moves the barriers only to the first and last
iteration of the loop.
Components: Vulkan
VK-GL-CTS Issue: 2405
Affects: dEQP-VK.spirv_assembly.*
Change-Id: I7f5d8493f11b05eea8569090e6da2ff768579a09
Arkadiusz Sarwa [Tue, 2 Jun 2020 11:43:46 +0000 (13:43 +0200)]
Fix descriptorCount for dEQP-VK.ycbcr.conversion
Affects:
dEQP-VK.ycbcr.conversion.*
Components: Vulkan
VK-GL-CTS Issue: 2386
Change-Id: I0302c559fa22f2e6f4b86721cfdc46f7f76d9270
Graeme Leese [Fri, 14 Jun 2019 17:01:34 +0000 (18:01 +0100)]
Use float16 precision for testing mediump
The precision requirements for mediump are not in the spec, they're just
for the conformance test, so it makes sense to use the simplest thing.
Allow the same error margins for mediump's 16-bit as for true 16-bit
floats. This slightly increases the precision requirements on mediump
exp but loosens them for atan.
Note, however, that the requirements for fp16 are still stricter than
for mediump because of the FloatFormat involved. fp16 requires support
for a wider exponent range than mediump.
Components: Vulkan
Affects: dEQP-VK.glsl.builtin.precision.exp*.mediump.*
dEQP-VK.glsl.builtin.precision.atan*.mediump.*
Change-Id: I600a53984ba6a4f624bbb1525636f392d74ae96f
(cherry picked from commit
b7dea11e6a395552a1423009c33d5518d9a0b2ec)
Ari Suonpaa [Wed, 3 Jun 2020 10:19:01 +0000 (13:19 +0300)]
Clear unused image aspects in buffer to depth/stencil copy tests
Some of the buffer to depth/stencil tests used a combined
depth/stencil format but copied only one of those aspects.
The result checking still always compared both aspects. Now
the aspects not being copied are cleared for both result
and reference images to ignore these values.
VK-GL-CTS Issue: 2394
Affects:
dEQP-VK.api.copy_and_blit.core.buffer_to_depthstencil.*
Components: Vulkan
Change-Id: Ie5eba010d4f5f6d484d4635e275492da197eef79
Spencer Fricke [Tue, 21 Apr 2020 15:57:59 +0000 (08:57 -0700)]
Add storageBuffer16BitAccess to mandatory features
If VK_KHR_16bit_storage is supported there needs to be support
for storageBuffer16BitAccess
https://gitlab.khronos.org/vulkan/vulkan/merge_requests/3709
This CL updates the test to align with the MR.
Components: Vulkan
Affects: dEQP-VK.info.device_mandatory_features
VK-GL-CTS issue: 2323
Change-Id: Ife41e6d69d1149fe01f4dcb570bf80c82d8f8dd3
(cherry picked from commit
123615f3e0520a65c70d7e8a82ad9b765dc389b2)
Ricardo Garcia [Tue, 12 May 2020 17:31:45 +0000 (19:31 +0200)]
VK_EXT_extended_dynamic_state tests
This commits updates the Vulkan framework to bring in changes related to
VK_EXT_extended_dynamic_state and creates a new set of tests for the
extension.
New tests:
dEQP-VK.pipeline.extended_dynamic_state.*
Components: Vulkan
VK-GL-CTS issue: 2311
Change-Id: I6294c675f206e47e5facc4d04295ddc8867bf51d
(cherry picked from commit
0c32b030a9ed67cd41dd2ef4586d465f0c708efa)
Mike Byrne [Mon, 18 Nov 2019 12:30:23 +0000 (12:30 +0000)]
Split spirv_assembly tests workload
The dEQP-VK.spirv_assembly.* tests should allow the render workload to
be split into multiple submissions if required to prevent GPU timeouts
encountered in some tests.
An additional flag is added to allow specific test groups to request
that the test workload is split.
Affects: dEQP-VK.spirv_assembly.*
VK-GL-CTS Issue: 2294
Components: Vulkan
Change-Id: I9295f675c06b3b966d89afae98334ebb5c9530c8
(cherry picked from commit
789c733eef56bd443692d751431177eb4fb2519f)
Alexander Galazin [Thu, 4 Jun 2020 19:24:21 +0000 (21:24 +0200)]
Update readme
Components: Vulkan
Change-Id: Ibbd328101912a570e64fca8cf9ac2b45e850eddf
Alexander Galazin [Thu, 4 Jun 2020 19:22:48 +0000 (21:22 +0200)]
Whitelist Vulkan CTS 1.2.3.0
Components: Vulkan
Affects: dEQP-VK.api.driver_properties.properties
Change-Id: I10fbe65642c401fd13810a57b5308070ffce0e59
Alexander Galazin [Thu, 4 Jun 2020 18:37:11 +0000 (20:37 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/master
Change-Id: I771d3fbd41c9cc92fbcf0fadc3bd1846ee50d568
Ari Suonpaa [Tue, 12 May 2020 06:53:41 +0000 (09:53 +0300)]
Test multiple fragment output locations
Added tests that write to multiple fragment output
locations. One test group uses an output array and
another shuffles the writes based on fragment
coordinates.
VK-GL-CTS Issue: 2179
New tests:
dEQP-VK.draw.output_location.*
Components: Vulkan
Change-Id: If3a5d49dd171874b6451581616ca67141124a283