Alexander Galazin [Mon, 7 Oct 2019 08:41:09 +0000 (10:41 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I0a937c9e53ae0e6ab009ac865b338cc0e0467523
Alexander Galazin [Fri, 4 Oct 2019 18:03:18 +0000 (20:03 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I77bc57566a8da83cddd2840900c4a7b0ae03d393
Alexander Galazin [Fri, 4 Oct 2019 12:23:19 +0000 (14:23 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I1ebe95eeffdca5e1d3c049a5b2486f8bf8d5f0ff
Alexander Galazin [Fri, 4 Oct 2019 10:00:48 +0000 (12:00 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I324081fe021529d107b664b57edb46d9206c65bb
Ricardo Garcia [Fri, 19 Jul 2019 10:39:48 +0000 (12:39 +0200)]
Test blitting with 1D and 3D depth/stencil images
Add tests to check blitting operations on 1D and 3D depth, stencil and
depth/stencil images.
Affected tests:
dEQP-VK.api.copy_and_blit.*.depth_stencil.*
Components: Vulkan
VK-GL-CTS issue: 1888
Change-Id: Ic8a9c9a356d4a93f8b43e1afd7662164e99c7d3d
Alexander Galazin [Fri, 4 Oct 2019 08:32:36 +0000 (10:32 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I0a07d3af2bc1a7904a6022a6b2db4a6f34b92468
Alexander Galazin [Fri, 4 Oct 2019 06:14:08 +0000 (08:14 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: Id151cb044b6c8c1df2b6ff43ae012f6ec8cd7c57
Alexander Galazin [Thu, 3 Oct 2019 15:36:34 +0000 (17:36 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: Iafc8f446321736c9ccc8ffac9da0c3d453750780
Piotr Byszewski [Fri, 27 Sep 2019 14:00:31 +0000 (16:00 +0200)]
Fix 64bit type promotions in subgroup tests
VK-GL-CTS issue: 1948
Components: Vulkan
Affects:
dEQP-VK.subgroups.*.ext_shader_subgroup_ballot.*
Change-Id: I7b8a1a8979bb16f1f4f4fcfd8579c764aa3820f0
Alexander Galazin [Thu, 3 Oct 2019 13:42:28 +0000 (15:42 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I53156c2f3ffe7a74fa39037d0a768d9cdb115b66
Alexander Galazin [Thu, 3 Oct 2019 11:55:58 +0000 (13:55 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: Iefbf2caab2918c1a47539db50c9e1230004226b2
Alexander Galazin [Thu, 3 Oct 2019 09:14:46 +0000 (11:14 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Change-Id: Iadc5b0889f42aa764c6d73f3a7de27fff6e24361
Andres Gomez [Wed, 2 Oct 2019 19:58:15 +0000 (22:58 +0300)]
Correct usage of the DEQP_SUPPORT_X11 macro with the cts-runner
Components: OpenGL
VK-GL-CTS issue: 1601
Affects:
dEQP-GLES3.*
Change-Id: I106b6487558642f55b5900413d0fc2c60882a7e1
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: I31c2b5d2d93acc6e5fc7fd591857a3369a7328bf
Alexander Galazin [Tue, 1 Oct 2019 12:14:45 +0000 (14:14 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master
Change-Id: I4e8f6bec91ab0e162e2912bd516fe7fc4ece2a43
Alexander Galazin [Tue, 1 Oct 2019 12:06:19 +0000 (14:06 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: Ib31a80fcae8a5b173bcea7063e9301f4b4173ddd
Alexander Galazin [Tue, 1 Oct 2019 11:21:46 +0000 (13:21 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Iac0fcad25eac20577e603b022f59b4f87cb9055a
Graeme Leese [Fri, 13 Sep 2019 15:33:15 +0000 (16:33 +0100)]
Generate 'false' sometimes for random bool data
The subgroup tests were generating random bools as a random 32-bit
value. This means that almost every value was a variant of 'true',
reducing the coverage of the tests significantly.
Components: Vulkan
VK-GL-CTS issue: 1998
Affects: dEQP-VK.subgroups.*_bool*
dEQP-VK.subgroups.*_bvec*
Change-Id: Ibe37fa63d3bd3348255bcdbe263d103eef855cb2
Paul Thomson [Sun, 1 Sep 2019 18:57:04 +0000 (19:57 +0100)]
dEQP-VK.graphicsfuzz.two-loops-with-break
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.two-loops-with-break
Change-Id: Iaa1bc71ae6ae5db7f2fd77dd09771eec377643d2
Paul Thomson [Sun, 1 Sep 2019 19:44:00 +0000 (20:44 +0100)]
dEQP-VK.graphicsfuzz.two-loops-matrix
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.two-loops-matrix
Change-Id: I342e971350d2becbc69dcce9fef38863e251ccd9
Paul Thomson [Mon, 2 Sep 2019 14:11:31 +0000 (15:11 +0100)]
dEQP-VK.graphicsfuzz.loop-call-discard
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.loop-call-discard
Change-Id: I541b38005defefaf527ae82993f78496a223d652
Alexander Galazin [Tue, 1 Oct 2019 10:36:16 +0000 (12:36 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: Iada24773960c88053e0a1f2fed3700a0e0df408a
Alexander Galazin [Tue, 1 Oct 2019 09:52:37 +0000 (11:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I7df0259f0457521714e530c44ef34b741d230d37
Marcin Kańtoch [Mon, 23 Sep 2019 16:41:58 +0000 (18:41 +0200)]
Add check if usage is supported for image format
dEQP-VK.image.swapchain_mutable* tests do not check
if the required usage is supported for image format
and image view format.
Components: Vulkan
Affects:
dEQP-VK.image.swapchain_mutable*
VK-GL-CTS issue: 2015
Change-Id: I6680d9e6ef1b03462afa01349b6f34d82ef40a17
Chris Forbes [Thu, 26 Sep 2019 14:51:32 +0000 (07:51 -0700)]
Exclude dEQP-VK.ssbo.layout.random.scalar.75 from Android CTS
This is already excluded from the Khronos mustpass lists.
VK-GL-CTS Issue: 1829
Google bug: b/
141657868
Google bug: b/
135200048
Components: Android
Change-Id: I6b453819314cc2e8245ac9d518ef4b481fe90887
Alexander Galazin [Mon, 30 Sep 2019 19:15:50 +0000 (21:15 +0200)]
Update SPIR-V Tools/Headers
Components: Framework
Affects: dEQP-VK.*
Change-Id: I2e30638ba282c2bfb6582c0934f351be0b7904bd
Alexander Galazin [Mon, 30 Sep 2019 17:11:16 +0000 (19:11 +0200)]
Update headers
Components: Vulkan
Change-Id: I269c5d33a4cc2dfcfac9db21fa2980f7d8d01771
Paul Thomson [Mon, 2 Sep 2019 16:19:22 +0000 (17:19 +0100)]
dEQP-VK.graphicsfuzz.mix-floor-add
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.mix-floor-add
Change-Id: Id55b5943e60abf6a94c51a6dfae5e678edd63167
Graeme Leese [Mon, 2 Sep 2019 16:49:51 +0000 (17:49 +0100)]
Tidy up extension headers in ballot_broadcast tests
This was included in the original version of CL4557 but seems to have
been lost in the merge with subgroup extended types.
Components: Vulkan
Affects: dEQP-VK.subgroups.ballot_broadcast.*
Change-Id: I932cede6ace01a38f8a70f754fb7b759e3c68881
Alexander Galazin [Mon, 30 Sep 2019 13:42:49 +0000 (15:42 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I2a0e4c9ff079fa45ea23994cafeaae72ec97831b
Lionel Landwerlin [Wed, 11 Sep 2019 16:17:24 +0000 (19:17 +0300)]
Fix print of uninitialized value
Just fixing a printout in the result file.
Change-Id: Id1b4d3ee9879a07f452c5f5a0310a16d72051848
(cherry picked from commit
2d48a5baf07daeabeca8412ca6ff56d9ac92e2ca)
Igor Ostrowski [Thu, 26 Sep 2019 13:09:28 +0000 (15:09 +0200)]
Check timeline semaphore features only when used.
Affects:
dEQP-VK.synchronization.op.multi_queue.*
Components: Vulkan
VK-GL-CTS issue: 2025
Change-Id: I8c586bcb0199ab00fe6fffb9290abd2b06523916
Graeme Leese [Mon, 16 Sep 2019 14:53:46 +0000 (15:53 +0100)]
Disable stipple in GLES rasterisation tests
Initialise stipple related fields in the LineSceneSpec so that stipple
is correctly disabled.
Components: OpenGL
VK-GL-CTS Issue: 2006
Affects: dEQP-GLES2.functional.rasterization.primitives.line*
dEQP-GLES2.functional.rasterization.interpolation.*.line*
dEQP-GLES3.functional.rasterization.primitives.line*
dEQP-GLES3.functional.rasterization.interpolation.*.line*
dEQP-GLES3.functional.rasterization.fbo.*.primitives.lines*
dEQP-GLES3.functional.rasterization.fbo.*.interpolation.lines*
Change-Id: I1df4b4cb9cac892f27f6e1d81a06061c6d974e22
Alexander Galazin [Mon, 30 Sep 2019 11:47:33 +0000 (13:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I6bb3fb9e6349caed5b4d8f936772051eb4bca529
Eric Anholt [Mon, 26 Aug 2019 21:38:06 +0000 (14:38 -0700)]
surfaceless: Remove false dependencies on gbm, libkms, libdrm.
Our code doesn't directly use any of those, they're just internal
dependencies of the surfaceless platform. Avoids Mesa CI's CTS build
requiring an installed Mesa already.
Change-Id: I573939d3f4be307232f559da0cda8bc9c0999314
Andres Gomez [Mon, 26 Nov 2018 16:11:40 +0000 (18:11 +0200)]
Disable the 565 config requirement for X11
Previously to GLES3 CTS didn't require this config to be present. On
an 8888 X11 system it doesn't make sense to expose 565 since there are
no 16-bit visuals to be rendered to.
Affects:
dEQP-GLES3.*
Components: OpenGL
VK-GL-CTS issue: 1474
Change-Id: I14fe98ea21a86c48f0d4d155ba51a916255ef3ba
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
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
Eric Werness [Fri, 7 Jun 2019 16:26:28 +0000 (09:26 -0700)]
Add VK_NV_ray_tracing infrastructure and test
Adds infrastructure and plumbing for VK_NV_ray_tracing tests to CTS
including plumbing for the new program stages and new pipeline type.
Includes integration into descriptor set random tests
Affects: dEQP-VK.binding_model.descriptorset_random.*
VK-GL-CTS issue: 1995
Change-Id: I0daa03124256060fe465d3a6a84e5d76b9be22d6
Alan Baker [Sun, 25 Aug 2019 17:23:42 +0000 (13:23 -0400)]
Remove unnecessary extension from float16 constant tests
Remove the 16-bit storage extension from the float16 constat tests. The
storage functionality is unused.
Component: Vulkan
VK-GL-CTS Issue: 1931
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.float16.opconstant*
Change-Id: I5a69d77a72e34eecd4bc67f9916f44b1df848191
Lionel Landwerlin [Wed, 11 Sep 2019 16:17:24 +0000 (19:17 +0300)]
Fix print of uninitialized value
Just fixing a printout in the result file.
Change-Id: Id1b4d3ee9879a07f452c5f5a0310a16d72051848
Lionel Landwerlin [Tue, 10 Sep 2019 11:36:19 +0000 (14:36 +0300)]
Add signal ordering tests
We want to verify that the signaling of semaphores in multiple
VkSubmitInfo a vkQueueSubmit() is ordered.
Add tests:
dEQP-VK.synchronization.signal_order.*
Change-Id: Ibf47e7e4105f479ab33b5bafeda3efdd4c2782b5
(cherry picked from commit
70ed33e49cd109a494b85a0daeb73ff40d3157f9)
Lionel Landwerlin [Tue, 10 Sep 2019 11:36:19 +0000 (14:36 +0300)]
Add signal ordering tests
We want to verify that the signaling of semaphores in multiple
VkSubmitInfo a vkQueueSubmit() is ordered.
Add tests:
dEQP-VK.synchronization.signal_order.*
Change-Id: Ibf47e7e4105f479ab33b5bafeda3efdd4c2782b5
Paul Thomson [Tue, 27 Aug 2019 09:57:30 +0000 (10:57 +0100)]
dEQP-VK.graphicsfuzz.discard-continue-return
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.discard-continue-return
Change-Id: I8645d5ccd5fa0259db46b7f38e0c5041bcf9b6c8
Paul Thomson [Sun, 1 Sep 2019 20:44:08 +0000 (21:44 +0100)]
dEQP-VK.graphicsfuzz.nested-loops-switch
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.nested-loops-switch
Change-Id: Ia5d96e7fbeacc0df39cbd9d31fe119c145e6d732
Paul Thomson [Mon, 2 Sep 2019 14:47:44 +0000 (15:47 +0100)]
dEQP-VK.graphicsfuzz.control-flow-in-function
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.control-flow-in-function
Change-Id: Ie6d6e87acd34ed705b076b9b78de55bf4a190d06
Paul Thomson [Mon, 2 Sep 2019 20:26:59 +0000 (21:26 +0100)]
dEQP-VK.graphicsfuzz.loop-nested-ifs
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.loop-nested-ifs
Change-Id: I5b06c42ebc27fc513be9538dfde0b2baacc96b0e
Paul Thomson [Mon, 9 Sep 2019 10:36:58 +0000 (11:36 +0100)]
dEQP-VK.graphicsfuzz.max-mix-conditional-discard
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.max-mix-conditional-discard
Change-Id: Ie9ada9c6e7a71a4ad09ad6f09f0ee8264e02d9c1
Paul Thomson [Mon, 9 Sep 2019 13:21:28 +0000 (14:21 +0100)]
dEQP-VK.graphicsfuzz.similar-nested-ifs
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.similar-nested-ifs
Change-Id: Ia7cad0b33e7e526fc54ef2024edbc8a207baba84
Paul Thomson [Mon, 9 Sep 2019 14:44:16 +0000 (15:44 +0100)]
dEQP-VK.graphicsfuzz.two-loops-set-struct
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.two-loops-set-struct
Change-Id: I8c08d5bc486d228ebf2dbaa8a7c7fb2bae4a7410
Ilkka Saarelainen [Wed, 11 Sep 2019 13:10:34 +0000 (16:10 +0300)]
dEQP-VK.graphicsfuzz.for-with-ifs-and-return
Components: Vulkan
New tests:
dEQP-VK.graphicsfuzz.for-with-ifs-and-return
Change-Id: Id92db5a1ba4279816c728ce6ee2c4b4f37c7f931
Toni Merilehti [Fri, 3 May 2019 11:12:46 +0000 (14:12 +0300)]
Add copy tests for wide and tall images
Test image copying on wide and tall images on YCbCr and
non-YCbCr formats with the following image dimensions:
-Wide: large pot x small pot
-Wide: large pot x small npot
-Tall: small pot x large pot
-Tall: small npot x large pot
This CL also changes the initialization of the source image
in image_to_image copy tests to gradient from the current
solid red color to detect that the copy regions are handled
correctly.
Affects:
dEQP-VK.api.copy_and_blit.*.image_to_image.*
New tests:
dEQP-VK.api.copy_and_blit.*.image_to_image.dimensions.*
dEQP-VK.ycbcr.copy_dimensions.*
Components: Vulkan
VK-GL-CTS issue: 1724
Change-Id: I9d61a782ba5a07b6cd9c47e158d441cf935b5ac7
Chris Forbes [Fri, 6 Sep 2019 21:01:18 +0000 (22:01 +0100)]
Always require glslang and spirv-tools to be present
The prebuilt shader paths are no longer used. Just require both
dependencies to be present and drop the !DEQP_HAVE_GLSLANG /
!DEQP_HAVE_SPIRV_TOOLS paths.
Mention of prebuilt binaries is removed from the Vulkan CTS readme.
The machinery to actually build all the shaders upfront is left
in place for now as it has value as a presubmit check.
Components: Vulkan, OpenGL
VK-GL-CTS Issue: 1951
Change-Id: I6a79766a07e5aeb3c9c43236a3a220f8b654511e
(cherry picked from commit
d936e5f039f3a8137594bd5f39ab46140ff3079b)
Alexander Galazin [Mon, 30 Sep 2019 09:52:36 +0000 (11:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Ia87303a933940e5483b80b97139f750e5debec10
Neil Henning [Thu, 14 Mar 2019 13:35:02 +0000 (13:35 +0000)]
Add tests for VK_KHR_shader_subgroup_extended_types
This change adds support for VK_KHR_shader_subgroup_extended_types by
extending the existing subgroup tests for the new types.
I've also taken the liberty to reduce the width parameter for graphics
tests from 1024 -> 256 (4x reduction) to offset for the over 2x increase
in number of formats.
Components: Vulkan
Affects:
dEQP-VK.subgroups.*int8_t
dEQP-VK.subgroups.*float16_t
dEQP-VK.subgroups.*int16_t
dEQP-VK.subgroups.*int64_t
dEQP-VK.subgroups.*8vec*
dEQP-VK.subgroups.*16vec*
dEQP-VK.subgroups.*64vec*
Change-Id: I70c4c5a0c444666648057050108043d14ce3c3c7
(cherry picked from commit
5f37b5269276244370a7ecaf282122f3423728ef)
Pawel Ksiezopolski [Wed, 18 Sep 2019 12:16:22 +0000 (14:16 +0200)]
gen_ext_deps.py made independent from VK versions
Script gen_ext_deps.py has been modified so that it's independent
from incoming Vulkan versions ( it uses <feature> information
from vk.xml to establish what VK versions will be required ).
Accompanying CTS tests have been modified to take advantage
of this modification.
Components: Vulkan Framework
VK-GL-CTS issue: 1954
Change-Id: I2b691e1bd64a6bcb8d1cb7193318aca6bc70655c
(cherry picked from commit
a8ff253688dccdf42da109f4b53c462ac9b9bc1f)
Graeme Leese [Fri, 6 Sep 2019 10:39:27 +0000 (11:39 +0100)]
Use a single test source for quad tests
Rather than repeat this through all the various combinations, just keep
one copy of the test source, so that changing it is not such a massive
pain.
Also, use a single source for the extension enables in the tests.
Components: Vulkan
Affects: dEQP-VK.subgroups.quad.*
Change-Id: Ie3a5734c9ebeaa12c96600c7bd764a62afe7a68e
Chris Forbes [Fri, 6 Sep 2019 21:01:18 +0000 (22:01 +0100)]
Always require glslang and spirv-tools to be present
The prebuilt shader paths are no longer used. Just require both
dependencies to be present and drop the !DEQP_HAVE_GLSLANG /
!DEQP_HAVE_SPIRV_TOOLS paths.
Mention of prebuilt binaries is removed from the Vulkan CTS readme.
The machinery to actually build all the shaders upfront is left
in place for now as it has value as a presubmit check.
Components: Vulkan, OpenGL
VK-GL-CTS Issue: 1951
Change-Id: I6a79766a07e5aeb3c9c43236a3a220f8b654511e
Mike Byrne [Wed, 18 Sep 2019 14:50:31 +0000 (15:50 +0100)]
Check write vertex support in descriptor indexing
The descriptor indexing tests which are intended to test vertex write
check if the vertexPipelineStoresAndAtomics feature is supported before
loading the descriptorIndexing_vertx_shaderWrites shader. The vertex
write verifcation needs the same check to ensure the verification is
not run when the shader is not present.
Affects: dEQP-VK.descriptor_indexing*
VK-GL-CTS Issue: 2013
Change-Id: I3870b95b65c0b657708788b9bd2a7adcb5bd8f3d
Components: Vulkan
Pawel Ksiezopolski [Wed, 18 Sep 2019 12:16:22 +0000 (14:16 +0200)]
gen_ext_deps.py made independent from VK versions
Script gen_ext_deps.py has been modified so that it's independent
from incoming Vulkan versions ( it uses <feature> information
from vk.xml to establish what VK versions will be required ).
Accompanying CTS tests have been modified to take advantage
of this modification.
Components: Vulkan Framework
VK-GL-CTS issue: 1954
Change-Id: I2b691e1bd64a6bcb8d1cb7193318aca6bc70655c
Boris Zanin [Wed, 18 Sep 2019 14:13:55 +0000 (16:13 +0200)]
Request features with VkPhysicalDeviceVulkan12Features
Test creates device requesting feature activation using one of core
structures:
* VkPhysicalDeviceVulkan11Features
* VkPhysicalDeviceVulkan12Features
or appropriate extention structure
Add test:
* dEQP-VK.api.info.vulkan1p2.feature_bits_influence
Components: vulkan
VK-GL-CTS issue: 1993
Change-Id: I1068a5f412cb6d4027656bc6f821184ad4072023
Jason Ekstrand [Wed, 25 Sep 2019 18:59:39 +0000 (13:59 -0500)]
vulkan: Adjust the required max*UpdateAfterBindInputAttachments
Components: Vulkan
VK-GL-CTS issue: 2020
Affects: dEQP-VK.api.info.vulkan1p2.limits_validation
Change-Id: Id1d1ecf19edcdaa9a68bb099d5b7334e347eec22
Lingfeng Yang [Thu, 15 Aug 2019 22:41:23 +0000 (15:41 -0700)]
1d_image: enforce height 1 in decompress stage as well
Affects:
dEQP-VK.image.texel_view_compatible.compute.basic.1d_image*
Components: Vulkan
VK-GL-CTS issue: 1920
Change-Id: Id98f0a8dd132da5bcd6a3f1426021c8f36a48149
Yahan Zhou [Wed, 7 Aug 2019 19:44:50 +0000 (12:44 -0700)]
1d_image: basic: compute: texel_view_compatible: set size.y to 1
1d images need to have size.y=1. Otherwise Vulkan validation layer will
complain.
Affects:
dEQP-VK.image.texel_view_compatible.compute.basic.1d_image*
Components: Vulkan
VK-GL-CTS issue: 1920
Change-Id: I0dd24d612aafb416a74b5eb6f16bb55c76175a0f
Yahan Zhou [Fri, 9 Aug 2019 18:35:15 +0000 (11:35 -0700)]
Texel view compatible: Image: proper check for image format supports
The queried image usage is different from what is acutally used. Fix it
so that we would not end up with an unsupported usage.
Affects:
dEQP-VK.image.texel_view_compatible*
Components: Vulkan
Google bug:
139193497
VK-GL-CTS issue: 1920
Change-Id: Ib8db61808db5f9391a54b7722f965b6608e7e694
Graeme Leese [Mon, 9 Sep 2019 14:18:15 +0000 (15:18 +0100)]
Re-enable non-const broadcast tests
Components: Vulkan
VK-GL-CTS issue: 1933
New tests: dEQP-VK.subgroups.ballot_broadcast.*_nonconst_*
Change-Id: I626f6d17bba6c2c82e019d9695f7fcdd787e4edd
Alexander Galazin [Sun, 22 Sep 2019 15:35:18 +0000 (17:35 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: Ia974788920243b6eec4a8a2d04fc9c51f0748104
Alexander Galazin [Sun, 22 Sep 2019 12:46:02 +0000 (14:46 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I20679642c02ba7125ce5ca203bcfd8c8ca2867a9
Alan Baker [Wed, 21 Aug 2019 19:08:46 +0000 (15:08 -0400)]
Remove 16 storage from float16 logicals tests
Modify the float16 logicals tests to not require 16-bit storage
extensions. Instead data is treated as uints and functions are used to
load and store the appropriate bit patterns. Same functions are used as
in other float16 tests.
Components: Vulkan
VK-GL-CTS issue: 1931
Affects:
dEQP-VK.spirv_assembly.instruction.*.float16.logical*.*
Change-Id: Ic8befece08f56405bfc8628f9745b36942674bdc
Alexander Galazin [Sun, 22 Sep 2019 10:59:18 +0000 (12:59 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I60cff414f798299f39646c3a7a720971799d29a9
Alexander Galazin [Sun, 22 Sep 2019 09:16:02 +0000 (11:16 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master
Change-Id: I2a4a1873df0d05a2333a91cdaadf7a347905e717
Alexander Galazin [Sun, 22 Sep 2019 08:23:16 +0000 (10:23 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I943694007a4e5e2512a3f93c257d5c08e7e50218
Ricardo Garcia [Wed, 7 Aug 2019 12:10:38 +0000 (14:10 +0200)]
Run SPIR-V assembly type tests in compute shaders
Add *_comp variants for every SPIR-V assembly type test, making them run
in compute shaders in addition to graphical shader stages.
New tests:
dEQP-VK.spirv_assembly.type.*_comp
Components: Vulkan
VK-GL-CTS issue: 1914
Change-Id: Ia14b7ac03ad2522d02b1b178448d453c4e4901d1
Ricardo Garcia [Wed, 10 Jul 2019 13:23:30 +0000 (15:23 +0200)]
Make sure vkGetDescriptorSetLayoutSupport limits are tested
The dEQP-VK.api.maintenance3_check.descriptor_set test tried several
descriptor set types and count combinations and checked if they falled
within acceptable limits. If they did not, no check was performed for
that combination. The test may have ended up passing with no check being
done because of that.
This commit makes the test combinatorial in nature and adds support for
inline uniform blocks in reasonable cases.
Affected tests:
dEQP-VK.api.maintenance3_check.descriptor_set
Components: Vulkan
VK-GL-CTS issue: 1879
Change-Id: Id641b53968b69b991af881a696918490fa4822be
Jarred Davies [Fri, 13 Sep 2019 17:24:55 +0000 (18:24 +0100)]
Fix depth store flag in seperate_channels tests
Depth wasn't being stored despite being used.
Affects:
dEQP-VK.renderpass*.suballocation.subpass_dependencies.separate_channels.*
Components: Vulkan
VK-GL-CTS Issue: 2002
Change-Id: Ib2c678dcaef1f0c87756424c23057fb1df1c311e
(cherry picked from commit
f5e267274daff5f11ad8e18f81d0abdbc064043d)
Jarred Davies [Fri, 13 Sep 2019 17:24:55 +0000 (18:24 +0100)]
Fix depth store flag in seperate_channels tests
Depth wasn't being stored despite being used.
Affects:
dEQP-VK.renderpass*.suballocation.subpass_dependencies.separate_channels.*
Components: Vulkan
VK-GL-CTS Issue: 2002
Change-Id: Ib2c678dcaef1f0c87756424c23057fb1df1c311e
Graeme Leese [Thu, 19 Sep 2019 16:01:07 +0000 (17:01 +0100)]
Update glslang
Change-Id: I2ac91546c86305cd72d69ced4c5a6d12d51287db
Alexander Galazin [Thu, 19 Sep 2019 15:44:56 +0000 (11:44 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-next-dev@
46270b03 into vk-gl-cts/master"
Jeff Bolz [Fri, 13 Sep 2019 19:57:48 +0000 (14:57 -0500)]
Initialize output buffer in fragment_shader_interlock tests
In discard tests, not all output elements are written by the shader.
Clear the output buffer to zero to match what the test expects. The
output image was already being cleared.
Components: Vulkan
VK-GL-CTS issue: 2004
Affects: dEQP-VK.fragment_shader_interlock.*
Change-Id: Ie1049765ec4b7187b39e3d46261e9abef9f5104d
(cherry picked from commit
7b1cb5b16f44bd9598a2bc4726e78f7c13c84ea7)
Jeff Bolz [Fri, 13 Sep 2019 19:57:48 +0000 (14:57 -0500)]
Initialize output buffer in fragment_shader_interlock tests
In discard tests, not all output elements are written by the shader.
Clear the output buffer to zero to match what the test expects. The
output image was already being cleared.
Components: Vulkan
VK-GL-CTS issue: 2004
Affects: dEQP-VK.fragment_shader_interlock.*
Change-Id: Ie1049765ec4b7187b39e3d46261e9abef9f5104d
Jari Komppa [Tue, 17 Sep 2019 08:27:59 +0000 (11:27 +0300)]
Add build option for amber to use shared C runtime
Adding build option for Amber to avoid C runtime conflicts with CTS
Affects: None
Components: Vulkan, Framework
VK-GL-CTS issue: 2001
Change-Id: Ie9f9d8efee887996de843e545b808ff200e5103a
(cherry picked from commit
6500c70cbbbf32709a80417f1a54b35e568fd9d7)
Jari Komppa [Tue, 17 Sep 2019 08:27:59 +0000 (11:27 +0300)]
Add build option for amber to use shared C runtime
Adding build option for Amber to avoid C runtime conflicts with CTS
Affects: None
Components: Vulkan, Framework
VK-GL-CTS issue: 2001
Change-Id: Ie9f9d8efee887996de843e545b808ff200e5103a
Boris Zanin [Mon, 16 Sep 2019 06:47:45 +0000 (08:47 +0200)]
Check only Vulkan 1.1 and 1.2 limits
Removce all extension limits check. They are expected to be tested
in a per-extension separate tests. The per-extension tests are
expected to be committed in a separate commit.
Update test:
* dEQP-VK.api.info.vulkan1p2.limits_validation
Components: vulkan
VK-GL-CTS issue: 1999, 1924, 2008
Change-Id: Ice55c8f61500699dcfd7715df7dd3270193774b7
Alan Baker [Fri, 23 Aug 2019 19:36:52 +0000 (15:36 -0400)]
Remove 16-bit storage requirement from float16 func tests
Reuse the load and store functions introduced for arithmetic tests to
avoid directly loading or storing 16-bit values.
Component: Vulkan
VK-GL-CTS issue: 1931
Affects:
dEQP-VK.spirv_assembly.instruction.*.float16.function.*
Change-Id: I72f5dd3b8ed991ba708e8358c60555a066c6ea9d
Alexander Galazin [Thu, 19 Sep 2019 12:45:29 +0000 (14:45 +0200)]
Merge vk-gl-cts/vulkan-cts-next-dev@
46270b03 into vk-gl-cts/master
Change-Id: Icdfc0febd1ce7dafa0ff44707ae6902685ed5a2d
Alexander Galazin [Thu, 19 Sep 2019 11:40:02 +0000 (07:40 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-next-dev@
c3a417fd into vk-gl-cts/master"
Tim Van Patten [Wed, 28 Aug 2019 18:15:23 +0000 (12:15 -0600)]
Use unsized internal format in KHR-GLES2.texture_3d.[copy_sub_image|framebuffer_texture].rgba8
These tests are using GL_RGBA8 as an internal format for TexImage2D.
Sized internal formats are not allowed for GLES 2.0.
Affects:
KHR-GLES2.texture_3d.copy_sub_image.rgba
KHR-GLES2.texture_3d.framebuffer_texture.rgba8
VK-GL-CTS issue: 1960
Change-Id: I8272e4ca0e2a9eda1161a5135e11f67b4ea5af6d
(cherry picked from commit
eec82ceff77877bdad7fc94f8ae793db09ffff46)
Alexander Galazin [Thu, 19 Sep 2019 10:09:25 +0000 (12:09 +0200)]
Merge vk-gl-cts/vulkan-cts-next-dev@
c3a417fd into vk-gl-cts/master
Change-Id: Ifc09742c8098448b35071ab94c8fcf632f4f9f72
Alexander Galazin [Wed, 18 Sep 2019 19:32:23 +0000 (21:32 +0200)]
Update headers to 1.1.123
Components: Vulkan
Change-Id: Ib7ac22758223861540d50b1fc3ff9ca15330a593
Tim Van Patten [Wed, 28 Aug 2019 18:15:23 +0000 (12:15 -0600)]
Use unsized internal format in KHR-GLES2.texture_3d.[copy_sub_image|framebuffer_texture].rgba8
These tests are using GL_RGBA8 as an internal format for TexImage2D.
Sized internal formats are not allowed for GLES 2.0.
Affects:
KHR-GLES2.texture_3d.copy_sub_image.rgba
KHR-GLES2.texture_3d.framebuffer_texture.rgba8
VK-GL-CTS issue: 1960
Change-Id: I8272e4ca0e2a9eda1161a5135e11f67b4ea5af6d
Jeff Bolz [Wed, 5 Jun 2019 20:08:53 +0000 (15:08 -0500)]
Test minimum alignment for texel buffers.
For https://gitlab.khronos.org/vulkan/vulkan/issues/1705
If VK_EXT_texel_buffer_alignment is supported, compute the alignment for the
format, else use minTexelBufferOffsetAlignment.
Always use the minimum alignment for texel buffers in shader access tests.
Add variants of image load/store tests that use single texel alignment.
Components: Vulkan
Affects: dEQP-VK.binding_model.*offset_nonzero*
Affects: dEQP-VK.image*store*buffer*
Change-Id: I160c91b8c98ee4d518924e00e02770626763934c
Alejandro Piñeiro [Wed, 28 Aug 2019 22:12:52 +0000 (00:12 +0200)]
Use GL_MAX_3D_TEXTURE_SIZE_OES when testing textures 3D
Components: OpenGL-ES
VK-GL-CTS issue: 1962
Affects:
KHR-GLES2.texture_3d.compressed_texture.negative_compressed_tex_image
KHR-GLES2.texture_3d.framebuffer_texture.negative
Change-Id: I1b721755da9fd02cd47d1abce670bc788abf8f61
(cherry picked from commit
1c080cd9b5477ac2e405e47a007699e088b8c49d)
Alexander Galazin [Wed, 18 Sep 2019 19:14:03 +0000 (21:14 +0200)]
Update headers
Components: Vulkan
Change-Id: Id0a9c7f59e1557e53d9074ad73b73a80bcf2ef22
Alexander Galazin [Wed, 18 Sep 2019 19:01:16 +0000 (15:01 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master"
Alexander Galazin [Wed, 18 Sep 2019 18:55:38 +0000 (20:55 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: Ibce46c0c17c4466c708920ee1c2f93759cb7bcf1
Alejandro Piñeiro [Wed, 28 Aug 2019 22:12:52 +0000 (00:12 +0200)]
Use GL_MAX_3D_TEXTURE_SIZE_OES when testing textures 3D
Components: OpenGL-ES
VK-GL-CTS issue: 1962
Affects:
KHR-GLES2.texture_3d.compressed_texture.negative_compressed_tex_image
KHR-GLES2.texture_3d.framebuffer_texture.negative
Change-Id: I1b721755da9fd02cd47d1abce670bc788abf8f61
Alexander Galazin [Wed, 18 Sep 2019 16:13:41 +0000 (18:13 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master
Change-Id: I99b34ab4ebc31e530d24d61772bcada52e2637d4
Alexander Galazin [Wed, 18 Sep 2019 16:12:50 +0000 (18:12 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Iec182e5892633045b5f1b821e9f6259bd1c3d40c
John Anthony [Mon, 9 Sep 2019 10:03:44 +0000 (12:03 +0200)]
Use SAMPLE_ZERO resolve mode in imageless framebuffer test
Change imageless framebuffer depth+stencil resolve test to use
SAMPLE_ZERO resolve mode for both depth and stencil, as that resolve
mode is the only one required to be supported.
Affects: dEQP-VK.imageless_framebuffer.depth_stencil_resolve
Components: Vulkan
VK-GL-CTS Issue: 1984
Change-Id: Ib96d6d9f765b336afc2d02cd084ec3ba3c945196
Ricardo Garcia [Tue, 23 Jul 2019 13:51:25 +0000 (15:51 +0200)]
Test SPIRV comparison operations with 64-bit types
Test every comparison operation with 64-bit floats, including all
ordered and unordered variants, as well as 64-bit signed and unsigned
integers.
Every operation is tested on single scalars as well as vectors, and made
to run in vertex, fragment and compute shaders, to take into account
some implementations may use different compilers for different stages.
New tests:
dEQP-VK.spirv_assembly.instruction.*.64bit_compare.*
Components: Vulkan
VK-GL-CTS issue: 1902
Change-Id: I804c12820334d7bfb23c3406833c952ae0e12b44