platform/upstream/VK-GL-CTS.git
4 years agoFixes cubic filter copy and blt tests
Matthew Netsch [Wed, 14 Oct 2020 20:51:51 +0000 (16:51 -0400)]
Fixes cubic filter copy and blt tests

Only 2D is supported per spec

Components: Vulkan
VK-GL-CTS Issue: 2600

Affects:
dEQP-VK.api.copy_and_blit.*3d*

Change-Id: I145ec2bf638c497e08f85b328c3e39bf6ee5c636

4 years agoAllow Vulkan CTS 1.2.4.1
Alexander Galazin [Fri, 9 Oct 2020 10:17:53 +0000 (12:17 +0200)]
Allow Vulkan CTS 1.2.4.1

Components: Vulkan

Affects: dEQP-VK.api.driver_properties.properties

Change-Id: I2bef3f7c8fb106ce98d450383d3f9cec7facd800

4 years agoFix result checking of output location tests
Ari Suonpaa [Tue, 18 Aug 2020 12:45:29 +0000 (15:45 +0300)]
Fix result checking of output location tests

Output location tests were expecting bit accurate results
when comparing to reference values. However some of the
tests use lowp or mediump precision.  This change adds
some tolerance for the result checking. Also lowp variants
are removed as they acted identically to mediump ones.

VK-GL-CTS Issue: 2513
VK-GL-CTS Issue: 2510
VK-GL-CTS Issue: 2550

Affects:

dEQP-VK.draw.output_location.*

Components: Vulkan
Change-Id: Ic7b96a5b5be441cd78a0e50be5fcf86308c80652

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Alexander Galazin [Fri, 2 Oct 2020 15:13:01 +0000 (17:13 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4

Change-Id: I0260b62c60b55364b6b0777c70ce605d36bda861

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Fri, 2 Oct 2020 11:29:44 +0000 (13:29 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: Ie884684e771f567171331f327cd6fa13f15c1fb3

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Fri, 2 Oct 2020 10:35:42 +0000 (12:35 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: I2104e27164b15d2f66896b1c1c4f188fe8df83e4

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 2 Oct 2020 09:58:50 +0000 (11:58 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: Ia15f227ae78f00e0d142f0b2ce3d966d10a09cab

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 2 Oct 2020 09:15:55 +0000 (11:15 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I4c86e4fe92acca4c4260ab43a492ace9f527f986

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Thu, 1 Oct 2020 11:24:44 +0000 (13:24 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Id37d7b8198e8d5867e4b802e638eb1e0010c2351

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Thu, 1 Oct 2020 10:02:06 +0000 (12:02 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I840b7caa71134a32ba49b484b716b97c31ace9ee

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Thu, 1 Oct 2020 08:57:05 +0000 (10:57 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I04485faa2b85d5af689da6143b130e3c92bd9253

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Thu, 1 Oct 2020 07:43:39 +0000 (09:43 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: Ic81486b5b158f0edf964d29a6e084a9c6e2dee00

4 years agoFixes multisample resolve sRGB cases
Matthew Netsch [Wed, 30 Sep 2020 16:27:25 +0000 (12:27 -0400)]
Fixes multisample resolve sRGB cases

CTS expects downsampling in linear space,
where spec says implementation dependent

Components: Vulkan
VK-GL-CTS Issue: 2584

Affects:
dEQP-VK.renderpass.suballocation.multisample_resolve.*_srgb*

Change-Id: I8512ef058b03fe55c5429d3add5d2f4dc890c663

4 years agoFix validation errors in subgroups tests
Graeme Leese [Thu, 10 Jan 2019 11:20:02 +0000 (11:20 +0000)]
Fix validation errors in subgroups tests

Some subgroups tests were attempting to create a descriptor pool of size
0, which is invalid. Instead, skip the whole construction of descriptor
sets since they aren't needed.

Components: Vulkan
Affects: dEQP-VK.subgroups.*.graphics.*

Change-Id: I5abedcc2360a0336c521aea855a9725b127c9a0f
(cherry picked from commit a887be07dd7b63ce89794af9f70f893dc2de5955)

4 years agoFixes multisample resolve sRGB cases
Matthew Netsch [Thu, 17 Sep 2020 14:09:52 +0000 (10:09 -0400)]
Fixes multisample resolve sRGB cases

CTS expects downsampling in linear space,
where spec says implementation dependent

Components: Vulkan
VK-GL-CTS Issue: 2584

Affects:
dEQP-VK.renderpass.suballocation.multisample_resolve.*_srgb*

Change-Id: I9ab4ebf54e38c5c2cd1cc626dcf77f904d0e1e4d

4 years agoCoverage not correct for pixels on shared edges
Marcin Kańtoch [Tue, 15 Sep 2020 11:35:35 +0000 (13:35 +0200)]
Coverage not correct for pixels on shared edges

Added coverage check for the second "friend" triangle.

Components: Vulkan
VK-GL-CTS Issue: 2580

Affects:
dEQP-VK.rasterization.*

Change-Id: If30814ed81fb9b91ace4655c0ba50dfbcff7b37b

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Alexander Galazin [Thu, 10 Sep 2020 17:30:44 +0000 (19:30 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4

Change-Id: Ia92c224783e27c579310fe051b7acfd6967a37aa

4 years agoAllow Vulkan CTS 1.2.3.3
Alexander Galazin [Thu, 10 Sep 2020 13:19:02 +0000 (15:19 +0200)]
Allow Vulkan CTS 1.2.3.3

Components: Vulkan

Change-Id: Ie6292bd41374cddf73fe295a75c11640740d03d5

4 years agoAdd Imagination waiver #229
James Fitzpatrick [Wed, 17 Jun 2020 08:48:27 +0000 (09:48 +0100)]
Add Imagination waiver #229

Add the existing waiver on PowerVR cores related to snorm filtering to
the new waiver list.

This adds both of the existing test groups to the waiver along with the
newly introduced tests which hit this bug in the affected GPUs.

Components: Vulkan
VK-GL-CTS issue: 229
VK-GL-CTS issue: 2418
VK-GL-CTS issue: 2189

Change-Id: I15b5d5121fc0a4026944bc73d772c4d9cddc9031

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Thu, 10 Sep 2020 16:25:52 +0000 (18:25 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I65c0b8f7c257881f2d559c91b4944fafa7664f99

4 years agoAllow Vulkan CTS 1.2.2.2
Alexander Galazin [Thu, 10 Sep 2020 13:09:33 +0000 (15:09 +0200)]
Allow Vulkan CTS 1.2.2.2

Components: Vulkan

Change-Id: Id7cef07b4e41eecbc3eeb6478199d49a18f5bef5

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

Change-Id: Ibd506d17881b6ba41439f44bb314e68b27c20637

4 years agoAllow Vulkan CTS 1.2.1.2
Alexander Galazin [Thu, 10 Sep 2020 13:07:34 +0000 (15:07 +0200)]
Allow Vulkan CTS 1.2.1.2

Components: Vulkan

Change-Id: Ibc9f72ef89e85469c2e54a74b5cf80367ad5deed

4 years agoFix regression in diff_attachments test
Slawomir Cygan [Fri, 28 Aug 2020 19:39:14 +0000 (21:39 +0200)]
Fix regression in diff_attachments test

Fix issue introduced in ce82fe2a: use same image layout for
barrier newLayout and subsequent renderpass initialLayout.

Components: Vulkan

VK-GL_CTS Issue: 2568

Change-Id: I3118a7a2b1c7548fe669484f24414648b4cd246c
Affects: dEQP-VK.pipeline.framebuffer_attachment.diff_attachments_*

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Alexander Galazin [Thu, 3 Sep 2020 17:42:12 +0000 (19:42 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4

Change-Id: I90dc6c20253f621e43270d147c0b76dbbef5677d

4 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

4 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

4 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

4 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

4 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

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

Change-Id: Ided9a1e3f0c6a6bd61b493748608a9fa0b04d955

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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)

4 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)

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

Change-Id: I67f0624c98b8e04d313db207d3174cfd1f9bd2c4

4 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

4 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

4 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

4 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

4 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

4 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

4 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

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

Components: Framework

Change-Id: I5f218837c8a58e35b2d37ca170a93eb01d6b0057

4 years agoIgnore helper pixel invocations with atomic operations tests
Piers Daniell [Wed, 26 Aug 2020 22:36:10 +0000 (16:36 -0600)]
Ignore helper pixel invocations with atomic operations tests

The extra helper pixel invocations caused the test to access array
elements that were out of bounds. The fix is to just ignore
those invocations since they aren't part of the expected test
results anyway.

Affects:

dEQP-VK.glsl.atomic_operations.*

Components: Vulkan

VK-GL-CTS issue: 2563

Change-Id: I1b700c007489dbe72db8bbeda0ca327aac3d055f

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Alexander Galazin [Fri, 28 Aug 2020 07:11:57 +0000 (09:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4

Change-Id: Ia00788fea8a18be8138c2dc0fd66db6263c9966d

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 years agoSet dEQP process to be high-dpi aware on Windows
Slawomir Cygan [Mon, 24 Aug 2020 15:01:15 +0000 (17:01 +0200)]
Set dEQP process to be high-dpi aware on Windows

On systems with DPI scaling enabled the thread should
be high-DPI aware to create windows, that could be used for
exlusive full-screen swapchains with application control.

Components: Vulkan, Framework

VK-GL-CTS Issue: 2558

Affects: dEQP-VK.wsi.win32.full_screen_exclusive.application_controlled

Change-Id: Ibfedb804d902ef41eafcb10cde0d3c2d8e281797

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Alexander Galazin [Fri, 21 Aug 2020 16:11:28 +0000 (18:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4

Change-Id: I6f40552d082f7b9e9ad367c4777a1e5474abf8ae

4 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

4 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

4 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)

4 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)

4 years agoAllow Vulkan CTS 1.2.4.0
Alexander Galazin [Thu, 20 Aug 2020 19:22:23 +0000 (21:22 +0200)]
Allow Vulkan CTS 1.2.4.0

Compnonents: Vulkan

Affects: dEQP-VK.api.driver_properties.properties

Change-Id: Id5254e56ffb7b41e6c30288b5b4bd41bbf7a3be1

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

Change-Id: I460f8c8008bf2fa6a19d319035ff67eda902be2b

4 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

4 years agoFix Image layout transitions for diff_attachments_*
Tony Zlatinski [Thu, 13 Aug 2020 16:26:45 +0000 (11:26 -0500)]
Fix Image layout transitions for diff_attachments_*

Fix an incorrect image layout transition before
using images as COLOR ATTACHMENT in a render pass
for the dEQP-VK.pipeline.framebuffer_attachment.diff_attachments_*
tests.
After the clear operation, the test under question,
should have transitioned the images to
COLOR_ATTACHMENT_OPTIMAL with ACCESS_COLOR_ATTACHMENT_WRITE.
Instead, the layout was incorrectly transitioned to
VK_ACCESS_COLOR_ATTACHMENT_READ_BIT / VK_IMAGE_LAYOUT_GENERAL.

Affects:
dEQP-VK.pipeline.framebuffer_attachment.diff_attachments_*

Components: Vulkan

VK-GL-CTS issue: 2545

Change-Id: I815b1cf459b033f02871eebff5b71cb1a45b9d1c

4 years agoFix creation of signaled fences in swapchain tests
Vihanakangas [Tue, 11 Aug 2020 11:48:19 +0000 (14:48 +0300)]
Fix creation of signaled fences in swapchain tests

According to the vkAcquireNextImageKHR spec,
if fence is not VK_NULL_HANDLE it must be unsignaled.
Some parts of swapchain tests created signaled
fences and immediately called vkAcquireNextImageKHR using those fences.

Affects:
dEQP-VK.wsi.*.swapchain.acquire.*

Components: Vulkan

VK-GL-CTS issue: 2505

Change-Id: I001896f885240d20d2c3fda9458d0c9c0bd743eb

4 years agoDisable interval watchdog during long shader compiles
Peter Quayle [Mon, 3 Aug 2020 10:17:57 +0000 (11:17 +0100)]
Disable interval watchdog during long shader compiles

On some platforms some shaders take sufficiently long to
compile that the interval watchdog times out. This change
disables the interval watchdog during pipeline creation
in some tests but leaves in place the total time limit,
and re-enables the interval timer after pipeline creation.

Affects:

dEQP-VK.ssbo.phys.layout.*
dEQP-VK.binding_model.buffer_device_address.*

Components: Framework, Vulkan

VK-GL-CTS issue: 2499

Change-Id: Ifb2fad14c8275162414b96f3e823f5544c7b04ec

4 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

4 years agogles2: Add temporary constant-data shader indexing tests.
Eric Anholt [Tue, 4 Aug 2020 20:13:50 +0000 (13:13 -0700)]
gles2: Add temporary constant-data shader indexing tests.

Drivers often have a path for taking shader temps that are initialized
with constant data and uploading them through the UBO path instead of
as shader immediates (particularly for dynamic indexing).  Add some
shader indexing tests that try to hit that path.

Components: GLES2
Affects: dEQP-GLES2.functional.shaders.indexing.tmp_array.*

Change-Id: I3b06e89eb14120d536ca9ffe97a0300a8e6435a3

4 years agoAdd tests for floating-point atomic operations
Vikram Kushwaha [Tue, 19 May 2020 04:20:23 +0000 (21:20 -0700)]
Add tests for floating-point atomic operations

This commit adds a new set of tests that verify atomic operations
on floating point (32 bit and 64 bit numbers). The operations are atomic
add, exchange, load and store on images, buffers and shared memory

New tests:
dEQP-VK.glsl.atomic_operations.add_float*
dEQP-VK.glsl.atomic_operations.exchange_float*
dEQP-VK.image.atomic_operations.add*r32f*
dEQP-VK.image.atomic_operations.exchange*r32f*
dEQP-VK.memory_model.message_passing.ext.f32.*
dEQP-VK.memory_model.message_passing.ext.f64.*
dEQP-VK.memory_model.write_after_read.ext.f32.*
dEQP-VK.memory_model.write_after_read.ext.f64.*

Components: Vulkan

VK-GL-CTS issue: 2371

Change-Id: I0eceae717352e7dea979fe54e406d6f946db016b

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Alexander Galazin [Thu, 13 Aug 2020 14:06:56 +0000 (16:06 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master

Change-Id: I5bf5ef9bbcebdfbb464229c4884a1cc002ec62d6

4 years agoTry alternative DS formats in extended dynamic state tests
Ricardo Garcia [Thu, 30 Jul 2020 08:11:58 +0000 (10:11 +0200)]
Try alternative DS formats in extended dynamic state tests

Try both D24_UNORM_S8_UINT and D32_SFLOAT_S8_UINT due to depth/stencil
support only being mandatory for either one.

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

VK-GL-CTS issue: 2507
Components: Vulkan

Change-Id: I48c203c9cef22c77513d8f472d16963e66471322

4 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

4 years agoRevert workaround for SNORM linear filtering
Piotr Byszewski [Mon, 15 Jun 2020 07:59:59 +0000 (09:59 +0200)]
Revert workaround for SNORM linear filtering

CL776 for issue 229 introduced changes that relaxed precision for
SNORM formats verification. This change reverts that since
the new waiver mechanism can now be used to disable tests for
specific device id.

VK-GL-CTS issue: 229

Components: Vulkan

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

Change-Id: I593b077a3e9e4e65e0773923e61cc5ef558d6d35

4 years agoMore extended dynamic state variants
Ricardo Garcia [Fri, 17 Jul 2020 08:44:11 +0000 (10:44 +0200)]
More extended dynamic state variants

This commits adds new extended dynamic state variants for some command
sequences that were not tested initially. In particular:

1. Binding a dynamic state pipeline with wrong dynamic values followed
   by a static state one with good values before drawing.
2. Binding static pipeline, drawing, binding dynamic one, drawing.
3. Binding dynamic pipeline, drawing, binding static one, drawing.

New tests:
dEQP-VK.pipeline.extended_dynamic_state.before_good_static.*
dEQP-VK.pipeline.extended_dynamic_state.two_draws_dynamic.*
dEQP-VK.pipeline.extended_dynamic_state.two_draws_static.*

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

Components: Framework, Vulkan
VK-GL-CTS issue: 2459

Change-Id: I5d75854e2417b1ecc291b4ecf2108dab6c09dec2

4 years agoAdd tests for VK_EXT_full_screen_exclusive extension
Pawel Ksiezopolski [Thu, 4 Jun 2020 14:20:21 +0000 (16:20 +0200)]
Add tests for VK_EXT_full_screen_exclusive extension

New tests:
dEQP-VK.wsi.*.full_screen_exclusive.*

Components: Vulkan

VK-GL-CTS issue: 1685

Change-Id: Ife5394dcb2f207eedd8ac55da6a06d1fb31202f8

4 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

4 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

4 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

4 years agoMerge "Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master"
Alexander Galazin [Thu, 6 Aug 2020 16:03:17 +0000 (12:03 -0400)]
Merge "Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master"

4 years agoAdd tests for VK_EXT_global_priority
Karolina Palka [Tue, 14 Jul 2020 11:16:42 +0000 (13:16 +0200)]
Add tests for VK_EXT_global_priority

New tests:
dEQP-VK.api.device_init.create_device_global_priority

Components: Vulkan

VK-GL-CTS issue: 1686

Change-Id: I06bd3f24580009b5c038144e98aa4525c803a8e9

4 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

4 years agoMerge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Alexander Galazin [Thu, 6 Aug 2020 13:03:48 +0000 (15:03 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master

Change-Id: Ib15fc404b544f741f4279f63188f8fea26a5526d

4 years agoMerge "Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master"
Alexander Galazin [Thu, 6 Aug 2020 13:00:02 +0000 (09:00 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master"

4 years agoCheck per-sample copy results in multisample copy tests
Ricardo Garcia [Fri, 17 Jul 2020 09:29:42 +0000 (11:29 +0200)]
Check per-sample copy results in multisample copy tests

This commit adds an intermediate verification step in multisample copy
tests to make sure multisample copy operations are correct on a
per-sample basis.

Affected tests:
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_copy_before_resolving.*
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_array_image.*
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_array_image_one_region.*

Components: Vulkan
VK-GL-CTS issue: 2448

Change-Id: I140ec0e9d6f34ca9954aa1e519e2e5dd384f264f

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Alexander Galazin [Thu, 6 Aug 2020 11:30:32 +0000 (13:30 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master

Change-Id: Ie9007d2b00108f8ed1dabf99830a7cb7011198c3

4 years agoAdd a batch of GraphicsFuzz tests
Toni Salmivalli [Thu, 16 Jul 2020 10:34:06 +0000 (13:34 +0300)]
Add a batch of GraphicsFuzz tests

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-injected-conditional-true
dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-true-conditional-simple-loop
dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-vec3-values-from-matrix

Change-Id: I1ce7de9fcd4dc9afb414d99230316e22b3191371

4 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

4 years agoUpdate KC CTS
Alexander Galazin [Thu, 6 Aug 2020 08:16:08 +0000 (10:16 +0200)]
Update KC CTS

Components: Framework

Change-Id: Ib90a1476659063d4475cd88c8ec8fbf755d042db

4 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

4 years agoFix pixel pack/unpack in nearest edge tests
Dave Airlie [Mon, 1 Jun 2020 21:32:17 +0000 (07:32 +1000)]
Fix pixel pack/unpack in nearest edge tests

With certain fbconfigs and width/height combos, this would
corrupt memory due to overwriting too many bytes by 1.

Components: OpenGL

VK-GL-CTS Issue: 2496

Affects: KHR-GL46.nearest_edge.offset_*

Change-Id: I2b31c8791337555b0bb154cea1f676f0daf43c7e

4 years agofix 1d depth component 16 sizing in layout locations tests.
Dave Airlie [Fri, 24 Jul 2020 00:44:54 +0000 (10:44 +1000)]
fix 1d depth component 16 sizing in layout locations tests.

VK-GL-CTS Issue: 2497

Components: OpenGL

Affects:
KHR-GL45.layout_location.*
KHR-GLES31.shaders.layout_location.*

Change-Id: I47534a0c5b66fadc847e8aeca4c5600cdb7fef8c

4 years agoFix more expected errors for some DSA functions
Dave Airlie [Thu, 23 Jul 2020 04:14:18 +0000 (14:14 +1000)]
Fix more expected errors for some DSA functions

In commit 03c16305943cf98bbe1d55aaca7666d796c1398c
Piers fixed most of these but he missed two.

Affects:

Components: OpenGL

VK-GL-CTS Issue: 2275

KHR-GL46.direct_state_access.textures_parameter_setup_errors

Change-Id: Ia469aef4c7ad65a63ef6bc2f659c135776efdc2c

4 years agoglspirv: don't cause aborted test runs.
Karol Herbst [Mon, 27 Apr 2020 11:07:17 +0000 (13:07 +0200)]
glspirv: don't cause aborted test runs.

These test also need checks in their deinit, and one missing init function.

Components: OpenGL

VK-GL-CTS Issue: 2498

Affects: KHR-GL45.gl_spirv.spirv_glsl_to_spirv*

Change-Id: I374c0980f68daf418c15b03625e12d4e78271076