platform/upstream/VK-GL-CTS.git
4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 31 Oct 2019 12:33:47 +0000 (13:33 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: If4a2d3c335d7e3c0e23997dae6cab6ace7a7c447

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Thu, 31 Oct 2019 10:46:57 +0000 (11:46 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I17c7f6b8e25ecbcc9c93d5c47b70b5192ecdafd1

4 years agoAdd missing write to PointSize
Dae Kim [Wed, 30 Oct 2019 12:32:17 +0000 (12:32 +0000)]
Add missing write to PointSize

The primitive topology is POINT_LIST for test cases covering the vertex
stage, but the vertex shader in these cases isn't supplying a value for
PontSize.

Affects:

dEQP-VK.binding_model.buffer_device_address.*.vert

Components: Vulkan

VK-GL-CTS issue: 2080

Change-Id: Ibbbeb143bf957f9494b1df84e69bc4a01c891c6a

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Tue, 29 Oct 2019 15:56:47 +0000 (16:56 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I30cf22db0584cfe9d21cb6d295bc85c6145c8217

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Alexander Galazin [Tue, 29 Oct 2019 14:48:06 +0000 (15:48 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master

Change-Id: Ic181ad20201d78dc31564319ab56cbb4323de1c9

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Tue, 29 Oct 2019 13:43:52 +0000 (14:43 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I053a04d34445296aa09f4e74b9e2471db6c0e987

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Tue, 29 Oct 2019 13:13:41 +0000 (14:13 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I34ada51e1b9c00280fb9f9d60463989e05f11953

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Tue, 29 Oct 2019 13:08:53 +0000 (14:08 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Ifab5c9546e3716fb1a8ccf00481e035da38aece9

4 years agoWhitelist Vulkan CTS 1.2.0.2
Alexander Galazin [Fri, 25 Oct 2019 15:32:20 +0000 (17:32 +0200)]
Whitelist Vulkan CTS 1.2.0.2

Components: Vulkan

Affects: dEQP-VK.api.driver_properties.properties

Change-Id: I27af5ff562778d819542369d688ec081a76ab4aa

4 years agoAdd timelineSempahore to mandatory ext features
Alexander Galazin [Mon, 28 Oct 2019 15:18:03 +0000 (16:18 +0100)]
Add timelineSempahore to mandatory ext features

https://gitlab.khronos.org/vulkan/vulkan/merge_requests/3421
clarifies that timelineSemaphore is mandatory for
implementations exposing VK_KHR_timeline_semaphore

This CL updates the test to align with the MR.

Components: Vulkan

Affects: dEQP-VK.api.info.device.mandatory_features

Change-Id: I12f9c9e6b05a77109cb0207b748cc9ccfa872d9b

4 years agoUpdate README to allow parallel execution
Alexander Galazin [Mon, 16 Sep 2019 13:05:09 +0000 (15:05 +0200)]
Update README to allow parallel execution

This change updates Vulkan CTS README to allow
parallel CTS execution and also outlines new
requirements for Conformance Submission Packages
collected from parallel runs.

Components: Vulkan

VK-GL-CTS issue: 1897

Change-Id: Iafe92c384bb5dbf79ccc0d3b3040c15dd6a25be8
(cherry picked from commit 9ce6b1eef0e87bbea4212b1c45d7686cd9fc5790)

4 years agoFixed mandatory caselist for parallel CTS run
Pawel Ksiezopolski [Tue, 15 Oct 2019 10:09:27 +0000 (12:09 +0200)]
Fixed mandatory caselist for parallel CTS run

Duplicate tests listed in deqp-fraction-mandatory-caselist-file
command line option are now skipped during test tree parsing,
when parallel CTS run is configured.

Components: Framework

VK-GL-CTS issue: 2053

Change-Id: I4ce2b6f33fd22c7ddc3aba0adbe9f7e761237e51

4 years agoAdd list of tests for each fraction of CTS parallel run
Pawel Ksiezopolski [Thu, 12 Sep 2019 07:25:57 +0000 (09:25 +0200)]
Add list of tests for each fraction of CTS parallel run

The tests may be split in groups for parallel execution
using commandline deqp-fraction parameter.
This commit adds possibility to perform a list of tests
for each such fraction.
To achieve this - user must use parameter
deqp-fraction-mandatory-caselist-file defining a file with
a list of tests. File vk-fraction-mandatory-tests.txt
defines a list of mandatory tests when parallel execution
is applied.

Components: Vulkan Framework

VK-GL-CTS issue: 1897

Change-Id: I684eb07c24bbf3aeaf3386f205658dfe07b9fe25
(cherry picked from commit e93d85372840151db6833bfdebed30d4eca98d8d)

4 years agoMove part of the dEQP-VK.api.info.* tests into new place
Pawel Ksiezopolski [Fri, 6 Sep 2019 11:55:26 +0000 (13:55 +0200)]
Move part of the dEQP-VK.api.info.* tests into new place

Moving dEQP-VK.api.info.device.* and
dEQP-VK.api.info.instance.* tests to dEQP-VK.info.*.

Affects tests:
dEQP-VK.api.info.*
dEQP-VK.info.*

Components: Vulkan

VK-GL-CTS issue: 1897

Change-Id: I89d61bf320e39ed4660f6ac3073a8c7372bd8b56
(cherry picked from commit 52a0c36de9780d2df046442bffeab876745d8de3)

4 years agoAdd timelineSempahore to mandatory ext features
Alexander Galazin [Mon, 28 Oct 2019 15:18:03 +0000 (16:18 +0100)]
Add timelineSempahore to mandatory ext features

https://gitlab.khronos.org/vulkan/vulkan/merge_requests/3421
clarifies that timelineSemaphore is mandatory for
implementations exposing VK_KHR_timeline_semaphore

This CL updates the test to align with the MR.

Components: Vulkan

Affects: dEQP-VK.api.info.device.mandatory_features

Change-Id: I12f9c9e6b05a77109cb0207b748cc9ccfa872d9b
(cherry picked from commit 33cc61974078e64d66e64ccf67ecc906f7a7f3fb)

4 years agoRemove redundant vk12 check in DrawIndirectTests
Piotr Byszewski [Mon, 28 Oct 2019 13:48:55 +0000 (14:48 +0100)]
Remove redundant vk12 check in DrawIndirectTests

Components: Vulkan

Affects:
dEQP-VK.draw.indirect_draw.*

Change-Id: I87f40a8ef735a9423d5ba4799747985c6991a50b

4 years agoUpdate VK_KHR_performance_query enumerate
Lionel Landwerlin [Tue, 15 Oct 2019 15:22:38 +0000 (18:22 +0300)]
Update VK_KHR_performance_query enumerate

Components: Vulkan
Affects: dEQP-VK.query_pool.performance_query.enumerate*

Change-Id: I443c1c9b7a1903063b27b77fc47cbb88259aa407

4 years agoClean VK_KHR_timeline_semaphore checks
Piotr Byszewski [Wed, 16 Oct 2019 15:46:27 +0000 (17:46 +0200)]
Clean VK_KHR_timeline_semaphore checks

Components: Vulkan

VK-GL-CTS issue: 2051

Affects:
dEQP-VK.synchronization.cross_instance.*
dEQP-VK.synchronization.op.multi_queue.*
dEQP-VK.synchronization.timeline_semaphore.*

Change-Id: I5b8802187b8a2ee7b6251da55b6ac77dc3c43383

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Alexander Galazin [Mon, 28 Oct 2019 20:36:18 +0000 (21:36 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master

Change-Id: I67e8f8fc2b64060fca9e5a8016cf7d5b53ec5477

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 28 Oct 2019 20:19:08 +0000 (21:19 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I8b6db3b1f2d8c9330e5390cc00c3661442253b84

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Mon, 28 Oct 2019 18:51:20 +0000 (19:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I3fd2e50726e016645834052ba95fa761f84c5686

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Mon, 28 Oct 2019 18:50:41 +0000 (19:50 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I3dfd380679fa66f75d82d6fab18fa7d5e9305127

4 years agoFix check in testMandatoryExtensions
Piotr Byszewski [Mon, 28 Oct 2019 15:09:36 +0000 (16:09 +0100)]
Fix check in testMandatoryExtensions

Affects:
dEQP-VK.api.info.android.mandatory_extensions

Change-Id: Iec3b405cb168daa7dd7fc2183963778ef7d6eb0b
Components: Vulkan

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 28 Oct 2019 13:52:20 +0000 (14:52 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ifca686b3e3eb561a923bbc74f29de536d2f9f945

4 years agoRemove deprecated std::bind2nd() call
Pawel Ksiezopolski [Mon, 28 Oct 2019 14:03:51 +0000 (15:03 +0100)]
Remove deprecated std::bind2nd() call

std::bind2nd() was deprecated in C++11 and removed in C++17.

Affects:
dEQP-VK.descriptor_indexing.*

Components: Vulkan

VK-GL-CTS issue: 2074

Change-Id: I408a39ce9f1632515e3ff6bcfb95966e19aa4b22

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 28 Oct 2019 12:22:14 +0000 (13:22 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: If4ddb798ac04db4529e1b150b037b610914a0b0a

4 years agoTest multiple overlapping cube maps
Boris Zanin [Mon, 30 Sep 2019 12:22:24 +0000 (14:22 +0200)]
Test multiple overlapping cube maps

Test cube map images containing multiple overlapping cube maps.

Add tests:
 * dEQP-VK.image.misaligned_cube.*

Components: vulkan

VK-GL-CTS issue: 1889

Change-Id: I24eeba1eea1513e51cc3c4cd0b23d18e3ce8234d

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 28 Oct 2019 10:41:57 +0000 (11:41 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I36779b517d338b55ea3adab1d377711b21f90d90

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 28 Oct 2019 09:38:20 +0000 (10:38 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I0cd293e2cb716e77870aa6b43d86125050ff1482

4 years agoSpecial-case RenderbufferStorageMultisampleEXT in codegen
Chris Forbes [Wed, 9 Oct 2019 23:27:01 +0000 (16:27 -0700)]
Special-case RenderbufferStorageMultisampleEXT in codegen

Android has additional tests for this ES extension, which we had
observed was shipping broken on various Android devices. Unfortunately,
the ES extension which introduces this function specifies very different
semantics from the same-named function in desktop GL. In desktop GL,
this function is also defined to alias the core
RenderbufferStorageMultisample, and is assigned the same GLX opcode.

We had previously tried to unalias the function in the registry, but
that proved unworkable due to the GLX opcode aliasing.

Instead, add a special case in the CTS code generation.

Change-Id: Id62394cae2b2f01e0a91fdc4d9d357b634a26cf1
Components: Framework

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Sun, 27 Oct 2019 18:13:30 +0000 (19:13 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ia2c5b71c6849b5306169097223726e8afd37223f

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Sun, 27 Oct 2019 18:28:49 +0000 (19:28 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I21178b89019aad73d0b1862e10d5590361fcdcc8

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Sun, 27 Oct 2019 18:28:05 +0000 (19:28 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I1e9a1cb376ca0af986cd448d369fdc4c0be32209

4 years agoFix the advancedBlendMaxColorAttachments limit check
Piers Daniell [Thu, 24 Oct 2019 14:47:48 +0000 (08:47 -0600)]
Fix the advancedBlendMaxColorAttachments limit check

According to the latest Vulkan 1.1 spec revision 126 the
minimum implementation required limit for
advancedBlendMaxColorAttachments is "1" and not the "4"
the test expects.

Affects:

dEQP-VK.api.info.vulkan1p2_limits_validation.ext_blend_operation_advanced

Components: Vulkan

VK-GL-CTS issue: 2070

Change-Id: Icd4bafedc9c36e9a7907d40507a56479fb65a085

4 years agoAdjust required limits for max*UpdateAfterBindInputAttachments
John Anthony [Wed, 23 Oct 2019 15:48:19 +0000 (17:48 +0200)]
Adjust required limits for max*UpdateAfterBindInputAttachments

Affects: dEQP-VK.api.info.vulkan1p2_limits_validation.ext_descriptor_indexing

Components: Vulkan

VK-GL-CTS issue: 2020

Change-Id: I4379affa44bee33061ac2bb777e95f5bc6586458

4 years agoAdd scissor matching renderArea to descriptor indexing tests
Slawomir Cygan [Thu, 24 Oct 2019 15:45:28 +0000 (17:45 +0200)]
Add scissor matching renderArea to descriptor indexing tests

This fixes rendering outside of render area, what
is forbidden by spec.

This also fixes regression from 7b7ba4e0, where
looping the RenderPass caused workload execution time
to increase and trigger OS-specific device timeout.

Components: Vulkan

VK-GL-CTS Issue: 2069

Affects: dEQP-VK.descriptor_indexing.*

Change-Id: I40f665ff892d03004860583029eb393e09c1ae95

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Sat, 26 Oct 2019 07:15:50 +0000 (09:15 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ic06c88a4f8c25b5664a1c1fb87df125694e5b11f

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Alexander Galazin [Fri, 25 Oct 2019 19:01:47 +0000 (21:01 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master

Change-Id: I563fc81549024a61aadc779285e8d4686c9c931a

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Fri, 25 Oct 2019 16:08:28 +0000 (18:08 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I29e9c508144c70edd96aec27c6fde1e32f1c4149

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Fri, 25 Oct 2019 16:07:46 +0000 (18:07 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I365220265de5dd5b239cca76b1ffcd0221404824

4 years agoRemove 16-bit storage from float16 vector tests
Alan Baker [Sun, 25 Aug 2019 18:32:09 +0000 (14:32 -0400)]
Remove 16-bit storage from float16 vector tests

Replace loads and stores of float16s with specialized function to
reinterpret as appropriate uints for vector extract dynamic, vector
insert dynamic and vector shuffle tests.

Component: Vulkan

VK-GL-CTS Issue: 1931

Affects:
dEQP-VK.spirv_assembly.instruction.*.float16.opvectorextractdynamic*
dEQP-VK.spirv_assembly.instruction.*.float16.opvectorinsertdynamic*
dEQP-VK.spirv_assembly.instruction.*.float16.opvectorshuffle*

Change-Id: I1757d2dc3dd8a45098b79ce519d26b351f298a00

4 years agodEQP-VK.graphicsfuzz.loop-dead-if-loop
Paul Thomson [Tue, 8 Oct 2019 15:24:24 +0000 (16:24 +0100)]
dEQP-VK.graphicsfuzz.loop-dead-if-loop

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.loop-dead-if-loop

Change-Id: Ib621527105a57eabea346f7184d210ec8d66c5c1

4 years agodEQP-VK.graphicsfuzz.complex-nested-loops-and-call
Paul Thomson [Mon, 9 Sep 2019 16:13:49 +0000 (17:13 +0100)]
dEQP-VK.graphicsfuzz.complex-nested-loops-and-call

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.complex-nested-loops-and-call

Change-Id: Idc47ce81d4bc24c8c09b9b9a4b0ebff2f86aabcd

4 years agoAdd tests for formats with mandatory feature bits
Venni Ihanakangas [Tue, 10 Sep 2019 07:22:56 +0000 (10:22 +0300)]
Add tests for formats with mandatory feature bits

Some formats were missing from color attachment and blend tests.

New tests:

dEQP-VK.pipeline.blend.format.a2b10g10r10_unorm_pack32.*
dEQP-VK.pipeline.blend.format.a1r5g5b5_unorm_pack16.*
dEQP-VK.pipeline.image.suballocation.sampling_type.*.format.a2b10g10r10_unorm_pack32.*
dEQP-VK.pipeline.render_to_image.*.a1r5g5b5_unorm_pack16*
dEQP-VK.pipeline.render_to_image.*.r5g6b5_unorm_pack16*
dEQP-VK.pipeline.render_to_image.*.a2b10g10r10_uint_pack32*
dEQP-VK.pipeline.render_to_image.*.a2b10g10r10_unorm_pack32*

Components: Vulkan

VK-GL-CTS issue: 1921

Change-Id: Id300e3946f4e8753d29b405cee36039884ba062b

4 years agodEQP-VK.graphicsfuzz.discard-in-array-manipulating-loop
Alastair Donaldson [Thu, 19 Sep 2019 11:31:41 +0000 (12:31 +0100)]
dEQP-VK.graphicsfuzz.discard-in-array-manipulating-loop

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.discard-in-array-manipulating-loop

Change-Id: I40c19f241955caa3b2168218a400f766bb2d4a82

4 years agodEQP-VK.graphicsfuzz.two-for-loops-with-barrier-function
Venni Ihanakangas [Thu, 19 Sep 2019 13:19:36 +0000 (16:19 +0300)]
dEQP-VK.graphicsfuzz.two-for-loops-with-barrier-function

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.two-for-loops-with-barrier-function

Change-Id: Ie5de54846997779caac7db94f9eddf5be77404c0

4 years agodEQP-VK.graphicsfuzz.loops-breaks-returns
Venni Ihanakangas [Wed, 25 Sep 2019 06:05:20 +0000 (09:05 +0300)]
dEQP-VK.graphicsfuzz.loops-breaks-returns

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.loops-breaks-returns

Change-Id: Ie6f3b52f4466245981e46bf6448959c5e4e2f140

4 years agodEQP-VK.graphicsfuzz.do-while-with-always-true-if
Venni Ihanakangas [Thu, 26 Sep 2019 12:25:45 +0000 (15:25 +0300)]
dEQP-VK.graphicsfuzz.do-while-with-always-true-if

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.do-while-with-always-true-if

Change-Id: Ibb8f3aeac2ca2bb328ad406bbe4cea7c67aee065

4 years agodEQP-VK.graphicsfuzz.unreachable-discard-statement
Venni Ihanakangas [Wed, 2 Oct 2019 06:58:18 +0000 (09:58 +0300)]
dEQP-VK.graphicsfuzz.unreachable-discard-statement

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.unreachable-discard-statement

Change-Id: If693c48dbeee308c613c110bab93ed22c8282d8f

4 years agodEQP-VK.graphicsfuzz.two-nested-do-whiles
Venni Ihanakangas [Wed, 9 Oct 2019 06:24:38 +0000 (09:24 +0300)]
dEQP-VK.graphicsfuzz.two-nested-do-whiles

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.two-nested-do-whiles

Change-Id: Ib3c16de65acb79e1764b815edd8d016907635ae8

4 years agodEQP-VK.graphicsfuzz.return-before-writing-wrong-color
Venni Ihanakangas [Wed, 9 Oct 2019 06:51:49 +0000 (09:51 +0300)]
dEQP-VK.graphicsfuzz.return-before-writing-wrong-color

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.return-before-writing-wrong-color

Change-Id: Id37174663e6573c0c17c9b2141570cacff52bff9

4 years agodEQP-VK.graphicsfuzz.wrong-color-in-always-false-if
Venni Ihanakangas [Mon, 14 Oct 2019 12:29:31 +0000 (15:29 +0300)]
dEQP-VK.graphicsfuzz.wrong-color-in-always-false-if

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.wrong-color-in-always-false-if

Change-Id: I157cca21c7083238826c5bf7837386d657c1f29d

4 years agoImprove image atomic tests
Piotr Byszewski [Tue, 15 Oct 2019 15:12:54 +0000 (17:12 +0200)]
Improve image atomic tests

Image atomic tests were operating only on positive numbers which
potentially could hide issues related to min/max operations
on negative numbers. This change makes half of input data for
min/max negative and properly performs verification depending on
tested format (whether its signed format or unsigned).

Components: Vulkan

VK-GL-CTS issue: 1940

Affects:
dEQP-VK.image.atomic_operations.*

Change-Id: I8c6ad882cab330a1b1d17921fd2fca097e24721c

4 years agoAdd OpFConvert precision tests
Ricardo Garcia [Fri, 11 Oct 2019 12:28:30 +0000 (14:28 +0200)]
Add OpFConvert precision tests

This commit adds tests to verify OpFConvert works as expected to convert
to and from 16, 32 and 64-bit wide floats in scalar and vector forms.

It does not use the existing precision tests framework due to the strict
precision requirements of OpFConvert, which require knowing the original
number exactly and are not suited for working with intervals.

New tests:
dEQP-VK.glsl.builtin.precision_fconvert.*

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

Change-Id: I4161dae9d9f2c494cc873d5d11b40286bdfb6466

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Fri, 25 Oct 2019 14:29:30 +0000 (16:29 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: Id21fae15bb0fad00a22e2d5798f958e6640804e2

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Fri, 25 Oct 2019 11:58:22 +0000 (13:58 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: I58c329c990cacdb992c4c9be0b95cb65aa469a80

4 years agoRemove magic numbers from subgroupElect tests
Graeme Leese [Tue, 1 Oct 2019 17:05:18 +0000 (18:05 +0100)]
Remove magic numbers from subgroupElect tests

Most of these tests use defined constants for the elected and unelected
values for the tess_e version of the tests mysteriously used hardcoded
values. Obviously any attempt to change the constants would have been
broken.

Also, only keep one copy of the loop over stages in the framebuffer
tests. Two was extravagant.

Components: OpenGL, Vulkan
Affects: KHR-Single-*.subgroups.basic.framebuffer.subgroupelect_tess_eval

Change-Id: I6f9c7e02d04c75c5dcfee290a21a85bb97124be6

4 years agoFix EGL config incompatibility in negative_partial_update tests
Tomek Bury [Mon, 7 Oct 2019 11:37:48 +0000 (12:37 +0100)]
Fix EGL config incompatibility in negative_partial_update tests

Choosing 2 separate EGL configs, one for a window and a different one for
a pbuffer surface doesn't guarantee that those configs are compatible.
The dummyPbuffer surface may use different bit depths than the window
surface. This causes an unintended failure in eglMakeCurrent().

Choose a single EGL config suitable for both: the window and the pbuffer,
if both are being used.

Components: EGL
VK-GL-CTS issue: 2037
Affects: dEQP-EGL.functional.negative_partial_update.*

Change-Id: I676f760cbe2df3c906c376304efefa3170760438
Signed-off-by: Tomek Bury <tomek.bury@broadcom.com>
4 years agoRemove use of ANDROID_NDK_HOST_OS
Alexander Galazin [Fri, 18 Oct 2019 08:36:23 +0000 (10:36 +0200)]
Remove use of ANDROID_NDK_HOST_OS

The CMake variable is not needed after removal of the NDK r11 cmake files

Component: Framework

VK-GL-CTS issue: 2056

Change-Id: I6993d48e098dc567c7fc9edcfc13d0f39e6f04ad

4 years agoUse the new VK_LAYER_KHRONOS_validation layer
Piers Daniell [Thu, 26 Sep 2019 21:42:31 +0000 (15:42 -0600)]
Use the new VK_LAYER_KHRONOS_validation layer

In more recent SDKs the VK_LAYER_LUNARG_standard_validation
meta layer has been replaced by the VK_LAYER_KHRONOS_validation
layer.

The latest SDK documentation about this can be found here:
https://vulkan.lunarg.com/doc/sdk/1.1.121.2/windows/validation_layers.html

It also notes that a bunch of the other individual validation layers
have also been deprecated. I've commented this fact in CTS, but
have not removed them because CTS might be used with older SDKs.

Affects all CTS with --deqp-validation=enable:

dEQP-VK.*

Components: Framework, Vulkan

VK-GL-CTS issue: -1

Change-Id: I6925f7dc55f10d7a00d1089effe491b9caebe909

4 years agoFix time calibration tests so they use all host time domains
Ricardo Garcia [Wed, 18 Sep 2019 13:53:19 +0000 (15:53 +0200)]
Fix time calibration tests so they use all host time domains

When using std::set_intersection to check which time domains are
available, the input sets are not guaranteed to be sorted. This makes
the code skip some host time domains under Linux-like systems, which may
have more than one host time domain available.

Affected tests:
dEQP-VK.pipeline.timestamp.calibrated.*

Components: Vulkan
VK-GL-CTS issue: 2010

Change-Id: Iea9f0e375d675f9a63671165a78218ca04c6cde9

4 years agoCheck available functionality with context method
Piotr Byszewski [Tue, 15 Oct 2019 09:06:51 +0000 (11:06 +0200)]
Check available functionality with context method

This change adds Context::isDeviceFunctionalitySupported and
Context::isInstanceFunctionalitySupported methods that replace
isDeviceExtensionSupported/isInstanceExtensionSupported.

Components: Framework

VK-GL-CTS issue: 2005

Affects:
dEQP-VK.*

Change-Id: If796fc31fe6e769495cdf1ccefa4ae8192caf2b5

4 years agoVkPhysicalDeviceVulkan1{1,2}Features in framework
Piotr Byszewski [Fri, 4 Oct 2019 12:17:42 +0000 (14:17 +0200)]
VkPhysicalDeviceVulkan1{1,2}Features in framework

Use VkPhysicalDeviceVulkan11Features and
VkPhysicalDeviceVulkan12Features in DefaultDevice chain.
This change also adds Context::isDeviceFunctionalitySupported and
Context::isInstanceFunctionalitySupported methods that checks if
extension are available and if proper feature bit are set (when
needed).

Components: Framework

VK-GL-CTS issue: 2005

Affects:
dEQP-VK.*

Change-Id: I81cf677fe46ae5bd870fde37253e97bdfcc4ae3a

4 years agoUpdate Amber
Ari Suonpaa [Wed, 23 Oct 2019 04:45:27 +0000 (07:45 +0300)]
Update Amber

Updated Amber to get support for new image comparison features.

Components: Framework
Change-Id: I9b750912dd0324395a5b8c43f6317f341121e9e9

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 24 Oct 2019 17:50:37 +0000 (19:50 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I32be1e098131623df73a3c70ed5fc7fac2f9e3a6

4 years agoRemove NaNs from double compare tests
Ricardo Garcia [Wed, 23 Oct 2019 16:11:52 +0000 (18:11 +0200)]
Remove NaNs from double compare tests

Affected tests:
dEQP-VK.spirv_assembly.instruction.*.64bit_compare.double.*

Components: Vulkan
VK-GL-CTS issue: 2066

Change-Id: I8d735bbffe2db5d2c8cfac5a616efd6010057408

4 years agoFix incorrect assumption for pipeline cache hit
Arkadiusz Sarwa [Wed, 23 Oct 2019 15:15:12 +0000 (17:15 +0200)]
Fix incorrect assumption for pipeline cache hit

The test incorrectly assumes that adding a pipeline creation flag bit
VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT to only one pipeline
still should cause a cache hit. Fixed the problem by adding the
VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT flag bit to both pipelines.

Affects:
dEQP-VK.pipeline.creation_feedback.compute_tests.compute_stage

Components: Vulkan
VK-GL-CTS issue: 2068

Change-Id: Idb963219a4e894eee6a0bb3b1fc20797d5b0323e

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Alexander Galazin [Wed, 23 Oct 2019 10:40:52 +0000 (12:40 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master

Change-Id: Id91cbdafbce603e6cd681035b8a535e3aaa294dd

4 years agoAdd tests for uploading depth/stencil
Courtney Goeltzenleuchter [Tue, 13 Aug 2019 00:10:39 +0000 (18:10 -0600)]
Add tests for uploading depth/stencil

Components: Vulkan

Affects:
dEQP-VK.api.copy_and_blit.core.buffer_to_depthstencil.*
dEQP-VK.api.copy_and_blit.dedicated_allocation.buffer_to_depthstencil.*

VK-GL-CTS issue: 1888
Change-Id: Id2153ef90014175f5b52811c80a905164e491735

4 years agoEnable validation layers for custom devices and instances
Ricardo Garcia [Thu, 13 Jun 2019 09:43:52 +0000 (11:43 +0200)]
Enable validation layers for custom devices and instances

Honor the --deqp-validation=enable command line option in tests using
custom devices and instances.

Affected tests:
dEQP-VK.api.buffer.*
dEQP-VK.api.device_init.*
dEQP-VK.api.external.memory.*
dEQP-VK.api.info.*
dEQP-VK.api.object_management.*
dEQP-VK.api.version_check.*
dEQP-VK.compute.basic.*
dEQP-VK.compute.device_group.*
dEQP-VK.device_group.*
dEQP-VK.image.swapchain_mutable.*
dEQP-VK.memory.allocation.*
dEQP-VK.memory.device_group_allocation.*
dEQP-VK.multiview.*
dEQP-VK.pipeline.push_descriptor.*
dEQP-VK.protected_memory.*
dEQP-VK.robustness.*
dEQP-VK.sparse_resources.*
dEQP-VK.synchronization.basic.semaphore.*
dEQP-VK.synchronization.cross_instance.*
dEQP-VK.synchronization.internally_synchronized_objects.*
dEQP-VK.synchronization.op.multi_queue.*
dEQP-VK.synchronization.smoke.*
dEQP-VK.synchronization.win32_keyed_mutex.*
dEQP-VK.wsi.*
dEQP-VK.ycbcr.format.*

Components: Vulkan
VK-GL-CTS issue: 1831

Change-Id: I569f2362cfbc2446ba099d38da48d58be451ebeb

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Tue, 22 Oct 2019 17:00:27 +0000 (19:00 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I3cb15875a0283934251bddc35af68cab1c3394c5

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Tue, 22 Oct 2019 16:59:45 +0000 (18:59 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: Ic9de3ec00dbd38b2106f1c497059e40d4d361297

4 years agoFix waitSemaphoreCount value in signal ordering tests
Lionel Landwerlin [Wed, 16 Oct 2019 18:39:50 +0000 (21:39 +0300)]
Fix waitSemaphoreCount value in signal ordering tests

VK-GL-CTS Issue: 2059
Components: Vulkan
Affects: dEQP-VK.synchronization.signal_order.*timeline_semaphore.*

Change-Id: I25b86f1ae2b8e3650e061f9f2e345147c01419c6

4 years agoFix external memory import
Arkadiusz Sarwa [Thu, 17 Oct 2019 15:02:40 +0000 (17:02 +0200)]
Fix external memory import

Fix adds checking for flag
VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT
when external memory is being imported.

Affects:
dEQP-VK.synchronization.signal_order.*

Components: Vulkan
VK-GL-CTS issue: 2063

Change-Id: Iebc72ba0ed89ba3ca2b83a5b97d6b24ab7871edb

4 years agoFixes VS num instances assumption
Matthew Netsch [Mon, 21 Oct 2019 15:58:29 +0000 (11:58 -0400)]
Fixes VS num instances assumption

Components: Vulkan
VK-GL-CTS Issue: 2022

Affects:
dEQP-VK.spirv_assembly.instruction.*

Change-Id: Ibb0a17d8843c03cd1cf15d2c5af1f547481e8452

4 years agoFix LAYOUT_UNDEFINED transitions in descriptor_indexing tests
Jeff Bolz [Fri, 18 Oct 2019 17:05:46 +0000 (12:05 -0500)]
Fix LAYOUT_UNDEFINED transitions in descriptor_indexing tests

Commit 7b7ba4e0 caused the UNDEFINED->COLOR layout transition to be applied four
times, corrupting 3/4 of the image. Change the tests to do the layout transition
once, right after the framebuffer is created.

VK-GL-CTS Issue: 2064
Components: Vulkan
Affects: dEQP-VK.descriptor_indexing.*

Change-Id: Ie599ba76ba75af6fee1f4163bd96ea2bd6e4c145

4 years agoFix name shadowing warning in SurfaceCountersError
Ricardo Garcia [Fri, 18 Oct 2019 15:35:37 +0000 (17:35 +0200)]
Fix name shadowing warning in SurfaceCountersError

This is a simple warning fix that should not affect any test results,
related to the previous solution to the issue below.

Components: Vulkan
VK-GL-CTS issue: 1683

Change-Id: Ifa702330768f87e25d73f7489a306b4d4a1bbfb3

4 years agoFix build issues
Alexander Galazin [Fri, 18 Oct 2019 15:07:42 +0000 (17:07 +0200)]
Fix build issues

Change-Id: I0b0da0af71d3d91e38eddf8e9c60be27b4d6ab11

4 years agodEQP-VK.graphicsfuzz.switch-if-discard
Paul Thomson [Fri, 18 Oct 2019 15:51:21 +0000 (16:51 +0100)]
dEQP-VK.graphicsfuzz.switch-if-discard

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.switch-if-discard

Change-Id: I055c4d205c0a6ce66289a1249dd8a025d4e01aa6

4 years agoReduce number of created pipelines in compute subgroups tests
Samuel Iglesias Gonsálvez [Thu, 26 Sep 2019 13:41:43 +0000 (15:41 +0200)]
Reduce number of created pipelines in compute subgroups tests

Some drivers are taking too much time to execute compute subgroups
tests, mostly because they need to build N times the same pipeline
where the only difference is the local size values passed via
specialization constants.

As there are drivers that don't take advantage of pipeline derivatives,
reducing the number of pipeline creations helps to reduce execution time.

Affected tests:

   dEQP-VK.subgroups.*compute*

Components: Vulkan
VK-GL-CTS issue: 2019

Change-Id: Ie3ccbc53390bdba691c16d51c173b0a8a16119d9

4 years agoAdded script to list changed tests
Jari Komppa [Mon, 23 Sep 2019 12:35:11 +0000 (15:35 +0300)]
Added script to list changed tests

Added script which reads git log and lists changed tests since specified
version or date.

Affects: none

Change-Id: I64e6403ed9a3bd9531c01ddb0007139950e4dda0
Components: Framework

4 years agoAdd tests for counters with command buffer scope
Natalia Sobkiewicz [Mon, 2 Sep 2019 08:33:55 +0000 (10:33 +0200)]
Add tests for counters with command buffer scope

Component: Vulkan

VK-GL-CTS Issue: 1972

Affects: dEQP-VK.query_pool.performance_query.*

Change-Id: Ibf14aaef5b76bf2b2f5dc1f78779eb577c126e23

4 years agoAdd tests for VK_EXT_blend_operation_advanced
Samuel Iglesias Gonsálvez [Fri, 28 Jun 2019 07:20:39 +0000 (09:20 +0200)]
Add tests for VK_EXT_blend_operation_advanced

There at three types of tests:

* Ops: they check that all the defined operations work
for a different set of source and destination colors, iterating over
(non)premultiplied colors and uncorrelate/disjoint/conjoint alpha
values.  The tests run on different number of color attachment as well.

* Independent: it checks that color attachments with different depth
operations do not affect the others.

* Coherent: it checks if (non)coherent blend operations work as
expected. It creates two pipelines with 2 different advanced blend ops,
first draw clears the pixel with a specified destination color and do
the blending; the second draw reuses the result of the first one as
destination color and do blending on top. In the case of noncoherent
blending, it adds a memory dependency between both advanced blend
operations.

Added tests:

   dEQP-VK.pipeline.blend_operation_advanced.*

Components: Vulkan
VK-GL-CTS issue: 1673

Change-Id: I4417e6a22e0c2882849f8bf59233c266c60e45c6

4 years agoAdd tests for sparse images using YCbCr formats
Pawel Ksiezopolski [Wed, 24 Apr 2019 16:09:08 +0000 (18:09 +0200)]
Add tests for sparse images using YCbCr formats

Sparse image tests include YCbCr image formats including multiplanar
formats and a group of previously ommited non-YCbCr image formats.

Affects tests:
dEQP-VK.sparse_resources.image_sparse_binding.*
dEQP-VK.sparse_resources.device_group_image_sparse_binding.*
dEQP-VK.sparse_resources.aligned_mip_size.*
dEQP-VK.sparse_resources.image_block_shapes.*
dEQP-VK.sparse_resources.image_sparse_residency.*
dEQP-VK.sparse_resources.mipmap_sparse_residency.*
dEQP-VK.sparse_resources.image_sparse_memory_aliasing.*
dEQP-VK.sparse_resources.shader_intrinsics.*
dEQP-VK.ycbcr.*

New tests:
dEQP-VK.sparse_resources.image_sparse_binding.*
dEQP-VK.sparse_resources.device_group_image_sparse_binding.*
dEQP-VK.sparse_resources.aligned_mip_size.*
dEQP-VK.sparse_resources.image_block_shapes.*
dEQP-VK.sparse_resources.image_sparse_residency.*
dEQP-VK.sparse_resources.mipmap_sparse_residency.*
dEQP-VK.sparse_resources.image_sparse_memory_aliasing.*
dEQP-VK.sparse_resources.shader_intrinsics.*
dEQP-VK.ycbcr.storage_image_write.*

Components: Vulkan Framework

VK-GL-CTS issue: 1419
VK-GL-CTS issue: 1084

Change-Id: I3e335840efbbabc2fc320629f5a165becdbb4f26

4 years agoHandle LPCWSTR in framework
Piotr Byszewski [Fri, 11 Oct 2019 09:43:19 +0000 (11:43 +0200)]
Handle LPCWSTR in framework

Components: Framework

VK-GL-CTS issue: 1703

Affects:
dEQP-VK.*

Change-Id: I2061de4eac657aa9453bc3143306d1670eb271aa

4 years agoReenable checking for core ballot functions
Graeme Leese [Wed, 9 Oct 2019 09:31:55 +0000 (10:31 +0100)]
Reenable checking for core ballot functions

All the subgroup ballot tests were mistakenly created as extension
tests, so none of them were testing the core functionality.

Components: Vulkan
Affect: dEQP-VK.subgroups.ballot.framebuffer.*

Change-Id: I2876ed3e04c831e90d7d605019cdcfd8ecb8e375

4 years agoUse buildOptions consistently
Graeme Leese [Mon, 30 Sep 2019 16:51:41 +0000 (17:51 +0100)]
Use buildOptions consistently

Backport the changes to buildOptions. This makes it easier to change the
build options for all the tests at the same time.

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

Change-Id: Idf75d3fac002da85e800634078c11f1797ba4812

4 years agoWhitelist Vulkan CTS 1.2.0.1
Alexander Galazin [Thu, 17 Oct 2019 20:13:33 +0000 (22:13 +0200)]
Whitelist Vulkan CTS 1.2.0.1

Components: Vulkan

Change-Id: Ic95049203b246c17b535d86fcaad2ee431c6b751

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Alexander Galazin [Thu, 17 Oct 2019 19:15:25 +0000 (21:15 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master

Change-Id: Iae396c7a296389d754c462f1047329a70d619a7a

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Thu, 17 Oct 2019 18:33:19 +0000 (20:33 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I5955793c43464b3046180ca90c1a64fa0e9379b3

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Thu, 17 Oct 2019 18:31:35 +0000 (20:31 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: Ib3cab2c6bc13dee32caf2403b9dc52492f660082

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Thu, 17 Oct 2019 17:58:35 +0000 (19:58 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I2aa94658d6c8b6543fd9c4899f7da481ba1120a1

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Thu, 17 Oct 2019 15:46:59 +0000 (17:46 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: I0954d6799d7b0e4a527cd0fbbdcf61237ca7e9a7

4 years agoRemove float16 derivatives tests
Alan Baker [Sun, 25 Aug 2019 17:57:24 +0000 (13:57 -0400)]
Remove float16 derivatives tests

SPIR-V restricts derivatives to 32-floating point scalars and vectors
only.

Component: Vulkan

VK-GL-CTS Issue: 1931

Affects:
dEQP-VK.spirv_assembly.instruction.graphics.float16.derivative_*.*

Change-Id: Icc5341e697b797045080cc55428dbc2c02d71def
(cherry picked from commit 436d6dd5e7a0c0811bf1b6059542d1cdbccb9566)

4 years agoRemove float16 derivatives tests
Alan Baker [Sun, 25 Aug 2019 17:57:24 +0000 (13:57 -0400)]
Remove float16 derivatives tests

SPIR-V restricts derivatives to 32-floating point scalars and vectors
only.

Component: Vulkan

VK-GL-CTS Issue: 1931

Affects:
dEQP-VK.spirv_assembly.instruction.graphics.float16.derivative_*.*

Change-Id: Icc5341e697b797045080cc55428dbc2c02d71def

4 years agoMake texture aniso basic self tests less sensitive
Alex Walters [Mon, 14 Oct 2019 16:32:12 +0000 (17:32 +0100)]
Make texture aniso basic self tests less sensitive

The tests cases first check with a fuzzy diff that the images are more
or less the same.

The second diff then checks with a standard image comparison + tolerance
that the images are not identical.

Some of IMG's implementations produce a closer image than the test is
currently expecting - we need to lower the tolerance from 0.05 to 0.02
in order for the diff algorithm to detect that the images are
different 'enough'.

Though there is no actual spec requirement, it is 'generally going to
be the case', for any implementation, that the images will have some
amount of difference. It is potentially useful to still have this test
inplace to check againsty aniso being accidently disabled in the tested
implementation, rather than remove it altogether.

Affects:
dEQP-VK.texture.filtering_anisotropy.basic.*

Components: Vulkan

VK-GL-CTS Issue: 2047

Change-Id: Ia9148e12172ac1c4757f5007e57b3a2b3a3434eb

4 years agoRelaxes line rasterization tolerances
Matthew Netsch [Fri, 4 Oct 2019 18:57:40 +0000 (14:57 -0400)]
Relaxes line rasterization tolerances

Components: Framework
VK-GL-CTS Issue: 2033

Affects:
dEQP-VK.rasterization.*

Change-Id: Ib41552b1bb6d9aa2b25d0cbc6f02d51ce997f4e3

4 years agoRevert "Fixes VS num instances assumption"
Alexander Galazin [Thu, 17 Oct 2019 15:11:04 +0000 (11:11 -0400)]
Revert "Fixes VS num instances assumption"

This reverts commit bac8df251bb6103d7844bfeacbb29bf14011b7cb.

Change-Id: I60aa83d860b0b11ec7fc58fb97806635a1eebdca

4 years agoRemove tests that check non-zero values for reservedMustBeZero on all APIs
Alejandro Piñeiro [Fri, 11 Oct 2019 09:40:16 +0000 (11:40 +0200)]
Remove tests that check non-zero values for reservedMustBeZero on all APIs

Although initially it was agreed to keep them for the APIs that still
include that field as reserved, and only remove them when the API
defines the field (baseInstance), in the end it was agreed to remove
it completely, as it is testing an undefined behaviour.

Components: OpenGL, OpenGL ES

VK-GL-CTS issue: 2029

Affects:
KHR-GL40.draw_indirect.misc-reservedMustBeZero-arrays
KHR-GL40.draw_indirect.misc-reservedMustBeZero-elements
KHR-GL41.draw_indirect.misc-reservedMustBeZero-arrays
KHR-GL41.draw_indirect.misc-reservedMustBeZero-elements
KHR-GLES31.core.draw_indirect.misc-reservedMustBeZero-arrays
KHR-GLES31.core.draw_indirect.misc-reservedMustBeZero-elements

Change-Id: Iafe3e711107da818a392ebcdfe50379cf3790d17

4 years agoMerge "Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master"
Alexander Galazin [Thu, 17 Oct 2019 10:45:38 +0000 (06:45 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master"