platform/upstream/VK-GL-CTS.git
21 months agoMerge vk-gl-cts/dev/VK_EXT_mutable_descriptor_type into vk-gl-cts/main
Matthew Netsch [Mon, 21 Nov 2022 18:19:02 +0000 (10:19 -0800)]
Merge vk-gl-cts/dev/VK_EXT_mutable_descriptor_type into vk-gl-cts/main

Change-Id: I122066282bff61b7e0f9877f1dd49825f3fd7ad0

21 months agoMerge "Merge vk-gl-cts/dev/VK_EXT_descriptor_buffer into vk-gl-cts/main" into main
Matthew Netsch [Mon, 21 Nov 2022 17:47:44 +0000 (17:47 +0000)]
Merge "Merge vk-gl-cts/dev/VK_EXT_descriptor_buffer into vk-gl-cts/main" into main

21 months agoMerge vk-gl-cts/dev/VK_EXT_descriptor_buffer into vk-gl-cts/main
Matthew Netsch [Fri, 18 Nov 2022 22:32:10 +0000 (14:32 -0800)]
Merge vk-gl-cts/dev/VK_EXT_descriptor_buffer into vk-gl-cts/main

Change-Id: I47666bffd91171831a2d70f1255ae734c77b016d

21 months agoUpdate json files for postmortem features
Matthew Netsch [Fri, 18 Nov 2022 20:23:15 +0000 (12:23 -0800)]
Update json files for postmortem features

VK_EXT_device_fault
VK_EXT_device_address_binding_report

Components: Vulkan, Framework

Affects:
dEQP-VK.info.device_mandatory_features

Change-Id: I03656cbcbfa5590aafb3924aae5f8a8cf65a8a67

21 months agoMerge vk-gl-cts/main into vk-gl-cts/dev/VK_EXT_descriptor_buffer
Matthew Netsch [Fri, 18 Nov 2022 19:58:19 +0000 (11:58 -0800)]
Merge vk-gl-cts/main into vk-gl-cts/dev/VK_EXT_descriptor_buffer

Change-Id: I1c683c0c22144608db97c92800e0286d8ab8e31c

21 months agoMerge vk-gl-cts/dev/VK_EXT_device_address_binding_report into vk-gl-cts/main
Matthew Netsch [Fri, 18 Nov 2022 19:54:37 +0000 (11:54 -0800)]
Merge vk-gl-cts/dev/VK_EXT_device_address_binding_report into vk-gl-cts/main

Change-Id: I76503d225080aff00f0d03ece7eedad53c4aa8ea

21 months agoMerge vk-gl-cts/dev/VK_EXT_device_fault into vk-gl-cts/main
Matthew Netsch [Fri, 18 Nov 2022 19:53:07 +0000 (11:53 -0800)]
Merge vk-gl-cts/dev/VK_EXT_device_fault into vk-gl-cts/main

Change-Id: I8820ba1ecc1039d9f6006eed0ff2ff9bee2a3cab

21 months agoMerge vk-gl-cts/main into vk-gl-cts/dev/VK_EXT_mutable_descriptor_type
Matthew Netsch [Fri, 18 Nov 2022 19:36:33 +0000 (11:36 -0800)]
Merge vk-gl-cts/main into vk-gl-cts/dev/VK_EXT_mutable_descriptor_type

Change-Id: I544a1dc547da78ecc05e44ed1a826eb778dd70b8

21 months agoMerge vk-gl-cts/main into vk-gl-cts/VK_EXT_device_address_binding_report
Matthew Netsch [Fri, 18 Nov 2022 18:14:27 +0000 (10:14 -0800)]
Merge vk-gl-cts/main into vk-gl-cts/VK_EXT_device_address_binding_report

Change-Id: Ife39cfbc2aff1eaa88d4006969c911a67b474299

21 months agoMerge vk-gl-cts/main into vk-gl-cts/dev/VK_EXT_device_fault
Matthew Netsch [Fri, 18 Nov 2022 17:29:12 +0000 (09:29 -0800)]
Merge vk-gl-cts/main into vk-gl-cts/dev/VK_EXT_device_fault

Change-Id: I9aaf9f104f8edea608db8f888e59243e07604852

21 months agoFix for the string query tests on desktop GL
Tapani Pälli [Fri, 28 Oct 2022 11:22:16 +0000 (14:22 +0300)]
Fix for the string query tests on desktop GL

Affects:
dEQP*functional.state_query.string.*

Components: OpenGL
VK-GL-CTS issue: 3761

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Change-Id: I1b2a81a54f048bea057a32f3426dc4af02bd54d7

21 months agoAdd tests for out-param aliasing against other variables
Aitor Camacho [Thu, 20 Oct 2022 11:11:11 +0000 (13:11 +0200)]
Add tests for out-param aliasing against other variables

VK-GL-CTS Issue: 3658

New tests:
*.function.*

Components: OpenGL, OpenGL ES
Change-Id: I1443b77db7eb8f6b7182a1c49bd656c79d7e8e67

21 months agoFix a typo setupVertexInputStete -> setupVertexInputState
Charlie Turner [Mon, 14 Nov 2022 22:41:46 +0000 (22:41 +0000)]
Fix a typo setupVertexInputStete -> setupVertexInputState

Components: Vulkan, Framework

Change-Id: I7a3a1a5310f330874f5fc0d27b75ef9de3ada774

21 months agoImprove failure error messages in format_feature_flags2 tests
Ricardo Garcia [Fri, 11 Nov 2022 12:54:55 +0000 (13:54 +0100)]
Improve failure error messages in format_feature_flags2 tests

They didn't report the problematic bits on failures, which made it hard
to debug. This commit prints the missing bits in hex form, which can be
easily looked up in the specification text.

Affects:
dEQP-VK.api.format_feature_flags2.*

VK-GL-CTS issue: 4099
Components: Vulkan

Change-Id: I4472668a0dcf5a52fb3b33c48c69e674e4aa4998

21 months agoAdd tests for linearly tiled images
Amber [Mon, 14 Nov 2022 09:31:00 +0000 (10:31 +0100)]
Add tests for linearly tiled images

Ensure that stores, loads and atomic operations
work.

VK-GL-CTS issue: 3988

Components: Vulkan

New tests:
dEQP-VK.image.atomic_operations.*.*.*.*.*.*_linear
dEQP-VK.image.load_store.*.*.*_linear
dEQP-VK.image.store.*.*.*_linear

Change-Id: Ifbce630431d3f7c183a91d91a89b8d6aea64d10c

21 months agoMerge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/main
Matthew Netsch [Thu, 17 Nov 2022 23:15:16 +0000 (23:15 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/main

Change-Id: I4f9659327c793c6bc0eab85ce93df9f3a342da88

21 months agoFix barriers in dynamic rendering fragment density tests
Mike Byrne [Wed, 19 Oct 2022 11:16:55 +0000 (12:16 +0100)]
Fix barriers in dynamic rendering fragment density tests

Added additional barrier to ensure work on subsampled image is
complete before copy to output image.

Manual cherry-pick from vulkan-cts-1.3.1

Affects: dEQP-VK.dynamic_rendering.primary_cmd_buff.fragment_density_map*
 dEQP-VK.dynamic_rendering.complete_secondary_cmd_buff.fragment_density_map*
 dEQP-VK.dynamic_rendering.partial_secondary_cmd_buff.fragment_density_map*

Components: Vulkan

VK-GL-CTS Issue: 3796

Change-Id: I8d2276f6517cea7cd173a8f9b3bd7d40cebf3e6d

21 months agoFix to use the correct vulkan device
Mohd Faisal [Thu, 3 Nov 2022 13:41:42 +0000 (13:41 +0000)]
Fix to use the correct vulkan device

Wrong device used to create secondary command buffer with
command pool created with different vulkan device.

Affected tests:
dEQP-VK.dynamic_rendering.complete_secondary_cmd_buff.
fragment_density_map.*

Components: Vulkan
VK-GL-CTS issue: 4084

Change-Id: I878a3d43eb48cf033379da92d06c212f7a70ec29

21 months agoMerge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/vulkan-cts-1.3.4
Matthew Netsch [Thu, 17 Nov 2022 22:26:17 +0000 (22:26 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/vulkan-cts-1.3.4

Change-Id: I3aae4026dd68350cf7f4e402e94f315498dfe4d8

21 months agoFixes barycentric test float64 support check
Matthew Netsch [Wed, 16 Nov 2022 21:01:09 +0000 (13:01 -0800)]
Fixes barycentric test float64 support check

Barycentric tests were not checking shaderFloat64 check

Components: Vulkan
VK-GL-CTS Issue: 4112

Affects:
dEQP-VK.fragment_shading_barycentric.*double*

Change-Id: Ie31ab9998e6bd9a8f551d4906f7cbda7417ea94b

21 months agoMerge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3
Matthew Netsch [Thu, 17 Nov 2022 20:32:24 +0000 (20:32 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3

Change-Id: Ib92b3d3b2282186df729d4694083ccaec6e3c525

21 months agoFix color blend state color attachments in depth tests
Lionel Landwerlin [Sun, 16 Oct 2022 23:09:01 +0000 (01:09 +0200)]
Fix color blend state color attachments in depth tests

The number of color attachments in pColorBlendState must match the
number of color attachments in the subpass when creating the pipeline

Components: Vulkan

VK-GL-CTS issue: 4058

Affected tests:
dEQP-VK.pipeline.*.depth.*
dEQP-VK.pipeline.*.stencil.*

Change-Id: Id2c911dc88c4169a9c800b4a1ff7d505bec91234

21 months agoMerge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2
Matthew Netsch [Thu, 17 Nov 2022 18:32:21 +0000 (18:32 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2

Change-Id: I2550c13c4df05f75c68a39aef76c1b9a032cfb94

21 months agoEnable VK_*_global_priority before using it
James Fitzpatrick [Mon, 14 Nov 2022 09:51:50 +0000 (09:51 +0000)]
Enable VK_*_global_priority before using it

A number of tests were testing functionality from
VK_EXT_global_priority and VK_KHR_global_priority without first
enabling the extension.

Affects: dEQP-VK.api.device_init.create_device_global_priority*

Components: vulkan

VK-GL-CTS issue: 4107

Change-Id: Ib6fc36a8602f544b945fad2f5bfec3c2f8bcd72c

21 months agoMerge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1
Matthew Netsch [Thu, 17 Nov 2022 18:07:49 +0000 (18:07 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1

Change-Id: I7cc1f00c66d75b85505ee76301f437ba878e5683

21 months agoMerge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0
Matthew Netsch [Thu, 17 Nov 2022 17:39:42 +0000 (17:39 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0

Change-Id: Ifffbd3aecc8e2d066ed988ed8fc5af4210aa88da

21 months agoAdd missing check for rgba10x6 features
ziga-lunarg [Fri, 4 Nov 2022 20:22:22 +0000 (21:22 +0100)]
Add missing check for rgba10x6 features

Feature formatRgba10x6WithoutYCbCrSampler must be supported if image is
created with format VK_FORMAT_R10x6G10X6B10X6A10X6_UNORM_4PACK16 and
level count is greater than 1

Components: Vulkan

VK-GL-CTS issue: 3992

Affected tests:
dEQP-VK.pipeline.image_view.view_type.*.format.*

Change-Id: I63f7d2083ea85d9f6232540d72178bd8172b13d5

21 months agoMerge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8
Matthew Netsch [Thu, 17 Nov 2022 17:12:03 +0000 (17:12 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8

Change-Id: I571894bfd5fc1ab88a09272d7452522bce76165d

21 months agoFix failed memory map check for reconvergence tests
Christopher Hambacher [Fri, 11 Nov 2022 20:17:58 +0000 (14:17 -0600)]
Fix failed memory map check for reconvergence tests

Tests are checking for ResourceError, when a failed memory map will return TestError.

Components: Vulkan

VK-GL-CTS issue: 4100

Affected tests:
dEQP-VK.reconvergence.*

Change-Id: I61fcc9f29fe19ff592b74986ac39a7e3958f06e8

21 months agoAdd tests for acceleration structures and ray tracing stages
Boris Zanin [Wed, 31 Aug 2022 13:44:02 +0000 (15:44 +0200)]
Add tests for acceleration structures and ray tracing stages

Test acceleration structures passed through descriptor buffer
using ray query extention. Test descriptors passed through
descriptor buffer in each of ray tracing stages.
Minor bugfixes in existing descriptor buffer tests.

Affected tests:
dEQP-VK.binding_model.descriptor_buffer.*

Components: Vulkan
VK-GL-CTS issue: 3095

Change-Id: I57299db83b767333797a9a6d2c34b24383cc4bcb

21 months agoMerge vk-gl-cts/dev/VK_EXT_pipeline_protected_access into vk-gl-cts/main
ziga-lunarg [Wed, 16 Nov 2022 18:50:30 +0000 (19:50 +0100)]
Merge vk-gl-cts/dev/VK_EXT_pipeline_protected_access into vk-gl-cts/main

Change-Id: I87155c54753970b68c0530215a8639b0633169cb

21 months agoLimit number of concurrent query pools
Ricardo Garcia [Tue, 15 Nov 2022 15:07:16 +0000 (16:07 +0100)]
Limit number of concurrent query pools

The max concurrency tests use a heuristic to try to estimate a safe
number of objects of different types that the implementation would be
able to create, with an upper limit of 16384 objects.

However, in some implementations the creation of these objects have
external limitations that make the safe value hard to guess by only
looking at system and device memory usage. For example, the kernel
driver may impose further limits on the total number of certain objects.

This is reflected in the current tests with some lower hardcoded limits
for some types of objects, like instances, devices, synchronization
primitives and pipeline caches.

This commit halves the limit of concurrent query pools being tested to a
value that doesn't trigger any issue in the Mesa RPi drivers.

Affects:
dEQP-VK.api.object_management.max_concurrent.query_pool

VK-GL-CTS issue: 4106
Components: Vulkan

Change-Id: If88c6aa1ecd3d9c18892b38cb55907a82eee6cf8

22 months agoFix reference value in YCbCr storage image tests
Graeme Leese [Mon, 31 Oct 2022 16:26:41 +0000 (16:26 +0000)]
Fix reference value in YCbCr storage image tests

This was just wrong.

Components: Vulkan
VK-GL-CTS issue: 4079
Affects: dEQP-VK.ycbcr.storage_image_write.*

Change-Id: Ib149247c58cf56ef49879954960ed8a65451c10e

22 months agoMerge vk-gl-cts/opengl-es-cts-3.2.8 into vk-gl-cts/main
Matthew Netsch [Fri, 11 Nov 2022 20:30:46 +0000 (20:30 +0000)]
Merge vk-gl-cts/opengl-es-cts-3.2.8 into vk-gl-cts/main

Change-Id: Ide53709754c635cc35657039566db44c70106abf

22 months agoMerge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/opengl-es-cts-3.2.8
Matthew Netsch [Fri, 11 Nov 2022 20:03:05 +0000 (20:03 +0000)]
Merge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/opengl-es-cts-3.2.8

Change-Id: If4242bc03c9f9bbeeb02f48f261e01287eaf89b3

22 months agoMerge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/opengl-es-cts-3.2.7
Matthew Netsch [Fri, 11 Nov 2022 18:28:55 +0000 (18:28 +0000)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/opengl-es-cts-3.2.7

Change-Id: I5a32859811153ca30e40a37698812967d74e5d6f

22 months agoAdd missing GLSL struct comparison tests
Aitor Camacho [Wed, 12 Oct 2022 14:44:24 +0000 (16:44 +0200)]
Add missing GLSL struct comparison tests

VK-GL-CTS Issue: 3747

New tests:
KHR-GL*.shaders.struct.local.basic_equal*
KHR-GL*.shaders.struct.local.basic_not_equal*
KHR-GL*.shaders.struct.local.nested_equal*
KHR-GL*.shaders.struct.local.nested_not_equal*
KHR-GL*.shaders.struct.local.array_member_equality*
KHR-GLES32.shaders.struct.*

Components: OpenGL, OpenGL ES

Change-Id: I4a3395d34c12226730a16cc1b371475bac7a4c02

22 months agoCode simplification in image load/store tests
Graeme Leese [Tue, 2 Mar 2021 11:02:15 +0000 (11:02 +0000)]
Code simplification in image load/store tests

A 'const' had got lost from when I originally modified these tests for
format_feature_flags2 and the image declarations were completely
repeated depending on whether format qualifiers were used. Having
modified only one such declaration too many times, this change merges
them together.

Components: Vulkan
Affects: dEQP-VK.image.load_store.*

Change-Id: I87f98ec6300e8a77e0f22cd6ff6d2f7d2ecfc41e

22 months agoAdd missing switch case in wsi util isDIsplaySurface
ziga-lunarg [Sat, 15 Oct 2022 19:13:31 +0000 (21:13 +0200)]
Add missing switch case in wsi util isDIsplaySurface

A case for TYPE_HEADLESS is missing, causing asserts in some tests

Components: Vulkan, Framework

VK-GL-CTS issue: 4048

Affected tests:
dEQP-VK.*

Change-Id: I9f043ba10426497f666c9a987fe541c34666e17d

22 months agoTest bufferImageHeight with 1D/2D/array images
Mateusz Bahyrycz [Fri, 21 Oct 2022 14:22:22 +0000 (16:22 +0200)]
Test bufferImageHeight with 1D/2D/array images

Added tests validate process of copying data from buffer to image and from image to buffer for different values of the bufferImageHeight parameter.

Affects:
dEQP-VK.api.copy_and_blit.*.image_to_buffer.*
dEQP-VK.api.copy_and_blit.*.buffer_to_image.*

VK-GL-CTS Issue: 3694

Components: Vulkan

Change-Id: I62f7b9b29262431ceb990f2478aba3f9e1d24607

22 months agoAdd image load/store tests for 10X6 formats
Graeme Leese [Mon, 31 Oct 2022 16:55:41 +0000 (16:55 +0000)]
Add image load/store tests for 10X6 formats

Components: Vulkan
Affects: dEQP-VK.image.store.without_format.*10x6*
         dEQP-VK.image.format_reinterpret.*10x6*

Change-Id: I83fd3cefd778a12c1a619bf899cc7b21c15e6d70

22 months agoFix mandatory features test for mesh shaders
Ricardo Garcia [Thu, 3 Nov 2022 11:44:12 +0000 (12:44 +0100)]
Fix mandatory features test for mesh shaders

Adding the fragment shading rate extension to the list of requirements
for primitiveFragmentShadingRateMeshShader makes sure the generated code
is OK and the test makes more sense.

Affects:
dEQP-VK.info.device_mandatory_features
dEQP-VKSC.info.device_mandatory_features

VK-GL-CTS issue: 2991
Components: Vulkan

Change-Id: I8f4ede40743486b66cc93665cadc789a7db4cc41

22 months agoVK_EXT_opacity_micromap
Eric Werness [Fri, 23 Sep 2022 00:22:16 +0000 (17:22 -0700)]
VK_EXT_opacity_micromap

Components: Vulkan

VK-GL-CTS issue: 4013

Affected tests:

dEQP-VK.ray*.opacity_micromap*
dEQP-VK.api.info.get_physical_device_properties2.features.opacity_micromap_features_ext
dEQP-VK.api.device_init.create_device_unsupported_features.opacity_micromap_features_ext

Change-Id: Icb5ff8a5e4578d53ab6c63aef817a51c19fedbf5

22 months agoUpdate known conformance version for 1.3.4.1
Matthew Netsch [Fri, 11 Nov 2022 17:21:54 +0000 (09:21 -0800)]
Update known conformance version for 1.3.4.1

Components: Vulkan, Framework

Affects:
dEQP-VK.api.driver_properties.conformance_version

Change-Id: Ibc081172636f077194b4aa5521a1490309428338

22 months agoMerge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/main
Matthew Netsch [Fri, 11 Nov 2022 17:19:00 +0000 (17:19 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/main

Change-Id: I466cda8384a4de893b584a4c8f8804de46d2faa6

22 months agoFix calling vkCmdClearAttachments with attachmentCount 0
ziga-lunarg [Fri, 14 Oct 2022 21:56:22 +0000 (23:56 +0200)]
Fix calling vkCmdClearAttachments with attachmentCount 0

attachmentCount in vkCmdClearAttachment must be greater than 0

Components: Vulkan

VK-GL-CTS issue: 4041

Affected tests:
dEQP-VK.dynamic_rendering.primary_cmd_buff.suballocation.unused_clear_attachments.*

Change-Id: I86a8fc834863581e05a05ebb17c558a803a05c14

22 months agoFix premature unmap of output buffer in dEQP-VK.ycbcr.storage_image_write.*
Ella Stanforth [Fri, 23 Sep 2022 13:35:47 +0000 (13:35 +0000)]
Fix premature unmap of output buffer in dEQP-VK.ycbcr.storage_image_write.*

Components: Vulkan

VK-GL-CTS issue: 4068

Affects:
dEQP-VK.ycbcr.storage_image_write.*

Change-Id: I7ee2da0802ee16b14f00776cbb4e750935223900

22 months agogetExportImportCompatibleModifiers: Test If Formats Support Blitting
Austin Shafer [Thu, 3 Nov 2022 20:10:06 +0000 (13:10 -0700)]
getExportImportCompatibleModifiers: Test If Formats Support Blitting

In the dEQP-VK.drm_format_modifiers.export_import* tests the
getExportImportCompatibleModifiers function verifies that the DRM
format modifiers and their corresponding VkFormats support transfer
operations, but these tests also perform blitting on images
created/imported with modifiers. This causes test failures in scenarios
where a modifier doesn't support blitting, such as
`DRM_FORMAT_MOD_LINEAR` on Nvidia hardware.

This change adds the VK_FORMAT_FEATURE_BLIT_*_BIT flags to
getExportImportCompatibleModifiers, properly limiting the modifiers
tested to ones that have reported the proper features.

VK-GL-CTS issue: 4086

Affects:
dEQP-VK.drm_format_modifiers.export_import*

Change-Id: If7adcaff730b150a0aa9afedb43737380a23fe55

22 months agoNotice of withdrawal of Vulkan CTS 1.2.8.x and 1.3.0.x
Matthew Netsch [Fri, 11 Nov 2022 16:14:09 +0000 (08:14 -0800)]
Notice of withdrawal of Vulkan CTS 1.2.8.x and 1.3.0.x

Components: Vulkan

Change-Id: I2cacaf31e2143feca0f36069ce5caf5014890f4f

22 months agoMerge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/vulkan-cts-1.3.4
Matthew Netsch [Fri, 11 Nov 2022 15:58:21 +0000 (15:58 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/vulkan-cts-1.3.4

Change-Id: I5380a0c1ee46d052c86131d54fce2835cff9b9fc

22 months agoReintroduce tests for acceleration structure size query
Matthew Netsch [Wed, 17 Aug 2022 19:35:23 +0000 (19:35 +0000)]
Reintroduce tests for acceleration structure size query

VK-GL-CTS Issue: 3836

Components: Vulkan

Affects:
dEQP-VK.ray_tracing_pipeline.acceleration_structures.query_pool_results.*.*.*.structure_size

Change-Id: Ie6d5bb49ef25f8066c83606d8307ebadb195f1a9

22 months agoAdd tests with garbage color attachments.
Hyunjun Ko [Thu, 20 Oct 2022 00:25:44 +0000 (09:25 +0900)]
Add tests with garbage color attachments.

With both graphics pipeline library and dynamic rendering enabled, VkPipelineRenderingCreateInfo is not needed except viewMask on non-fragment stages.
These new tests verify that implementations are not reading information illegally on those stages.

New tests:
dEQP-VK.pipeline.*.multisample.*.garbage_color_attachment.*
dEQP-VK.fragment_shading_rate.dynamic_rendering.primary_cmd_buff.pipeline_library.misc_tests.garbage_color_attachment
dEQP-VK.fragment_shading_rate.dynamic_rendering.primary_cmd_buff.fast_linked_library.misc_tests.garbage_color_attachment

Affects:

dEQP-VK.pipeline.*.multisample.*
dEQP-VK.fragment_shading_rate.dynamic_rendering.primary_cmd_buff.pipeline_library.misc_tests.*
dEQP-VK.fragment_shading_rate.dynamic_rendering.primary_cmd_buff.fast_linked_library.misc_tests.*

VK-GL-CTS Issue: 3882

Components: Vulkan
Change-Id: I0373fb7e118b0ec0aba3286afab1a645025ee319

22 months agoAdd tests with multiple color attachments without export
Hyunjun Ko [Wed, 12 Oct 2022 07:31:53 +0000 (16:31 +0900)]
Add tests with multiple color attachments without export

These new tests are to verify if it works correctly when some of color
attachments are not exported in FS.

This also includes a tiny refactor to reuse testDifferentAttachmentSizes
since it's using multiple render targets in FS.

- testDifferentAttachmentSizes -> testMultiAttachments
- makeRenderPassDifferentAttachmentSizes -> makeRenderPassMultiAttachments

New tests:
dEQP-VK.pipeline.*.framebuffer_attachment.multi_attachments_not_exported*

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

VK-GL-CTS Issue: 3927

Components: Vulkan
Change-Id: I863e29c7c7640ee024fc098c31e41fcddf6086c0

22 months agoTest custom border colors with the stencil aspect
Ricardo Garcia [Mon, 17 Oct 2022 14:31:13 +0000 (16:31 +0200)]
Test custom border colors with the stencil aspect

This commit adds a number of tests that use custom border colors with
samplers for the stencil aspect of depth/stencil images.

Affects:
dEQP-VK.pipeline.*.sampler.*

New tests:
dEQP-VK.pipeline.*.sampler.*.all_mode_clamp_to_border_custom*_stencil

Components: Vulkan:
VK-GL-CTS issue: 4008

Change-Id: I2c1ecf60f727e6d19aca588e618f7cc86805c955

22 months agoChain VkShaderModuleCreateInfo when creating non-graphics pipelines
Ricardo Garcia [Tue, 2 Aug 2022 10:24:58 +0000 (12:24 +0200)]
Chain VkShaderModuleCreateInfo when creating non-graphics pipelines

VK_EXT_graphics_pipeline_library allows chaining a
VkShaderModuleCreateInfo structure to VkPipelineShaderStageCreateInfo
structures when creating pipelines, but does not restrict this to
graphics pipelines, so the functionality can be used when creating
compute and ray tracing pipelines as well.

New tests:
dEQP-VK.pipeline.pipeline_library.graphics_library.misc.non_graphics.*

Components: Vulkan
VK-GL-CTS issue: 3800

Change-Id: Ie4b2adc6df151b8296abff536dc6acb9e525e824

22 months agoMerge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3
Matthew Netsch [Thu, 10 Nov 2022 22:07:01 +0000 (22:07 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3

Change-Id: If6c415f4dddeb997b23aba4075f9608b2c99ddb8

22 months agoFix color blend state color attachments in depth tests
ziga-lunarg [Sun, 16 Oct 2022 23:09:01 +0000 (01:09 +0200)]
Fix color blend state color attachments in depth tests

The number of color attachments in pColorBlendState must match the
number of color attachments in the subpass when creating the pipeline

Components: Vulkan

VK-GL-CTS issue: 4058

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

Change-Id: I1b566bd4aec80873631fe1edbb2ced47441c877a

22 months agoAdd missing image memory barrier in ray tracing pipeline tests
ziga-lunarg [Sun, 16 Oct 2022 22:08:53 +0000 (00:08 +0200)]
Add missing image memory barrier in ray tracing pipeline tests

Image layout transition from VK_IMAGE_LAYOUT_UNDEFINED to
VK_IMAGE_LAYOUT_GENERAL is missing

Components: Vulkan

VK-GL-CTS issue: 4056

Affected test:
dEQP-VK.ray_tracing_pipeline.pipeline_no_null_shaders_flag.*

Change-Id: I6c969985061b1c3e165148da24f899d5a7607e2a

22 months agoFix compressed texture tests always returning Pass
Sławomir Cygan [Fri, 14 Oct 2022 10:55:48 +0000 (12:55 +0200)]
Fix compressed texture tests always returning Pass

The test, if supported, was always returning Pass
disregarding the texture comparison result.

Affects: dEQP-VK.texture.compressed.*

VK-GL-CTS Issue: 4040

Components: Vulkan

Authored-by: Dorian R Apanel <dorian.r.apanel@intel.com>
Change-Id: I1da7204d248af3f6122f3acbe412980a86f6a403

22 months agoMerge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2
Matthew Netsch [Thu, 10 Nov 2022 19:32:44 +0000 (19:32 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2

Change-Id: Ide448246c50fedae41f37859022c20fffa764a1c

22 months agoEnable minLod feature when used
ziga-lunarg [Sun, 16 Oct 2022 17:34:09 +0000 (19:34 +0200)]
Enable minLod feature when used

The tests use VkImageViewMinLoadCreateInfoEXT::minLod, but do not enable
the minLod feature

Components: Vulkan

VK-GL-CTS issue: 4052

Affected tests:
dEQP-VK.texture.mipmap.3d.image_view_min_lod.min_lod.*

Change-Id: I2bf99e7543d3ebb799d50ac5f644cc2e12d535e2

22 months agoMerge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1
Matthew Netsch [Thu, 10 Nov 2022 19:08:10 +0000 (19:08 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1

Change-Id: I1e2379907371708b4f3fb556938acb39f3f2f5bc

22 months agoFix wrong format in unused clear attachment tests
ziga-lunarg [Fri, 14 Oct 2022 21:03:32 +0000 (23:03 +0200)]
Fix wrong format in unused clear attachment tests

VkPipelineRenderingCreateInfo::depthAttachmentFormat must be a format
that includes a depth aspect or VK_FORMAT_UNDEFINED
VkPipelineRenderingCreateInfo::stencilAttachmentFormat must be a format
that includes a stencil aspect or VK_FORMAT_UNDEFINED

Components: Vulkan

VK-GL-CTS issue: 4041

Affected tests: dEQP-VK.dynamic_rendering.*.unused_clear_attachments.*

Change-Id: I8b003dd2a831e9205f6f91ea00c3ddf2541b512a

22 months agoMerge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0
Matthew Netsch [Thu, 10 Nov 2022 18:39:54 +0000 (18:39 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0

Change-Id: I9f9902ca38ce71e194a12f5aacff73afaaa37972

22 months agoAdd missing checks for geometry shader support
Ricardo Garcia [Fri, 21 Oct 2022 14:19:52 +0000 (16:19 +0200)]
Add missing checks for geometry shader support

Affects:
dEQP-VK.multiview.*geometry*
dEQP-VK.subgroups.*geometry*
dEQP-VK.fragment_shading_rate.*.gs*

VK-GL-CTS issue: 4064
Components: Vulkan

Change-Id: I64a3b6d7adc8da7671817710c4a4882db2c27035

22 months agoAdd missing read without format bit check in robustness tests
ziga-lunarg [Sat, 15 Oct 2022 00:03:25 +0000 (02:03 +0200)]
Add missing read without format bit check in robustness tests

If buffer view is being read as storage texel buffer with image format
of OpTypeImage being Unknown then the view's buffer features must
contain VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT

Components: Vulkan

VK-GL-CTS issue: 4047

Affected tests:
dEQP-VK.robustness.robustness2.bind.*

Change-Id: I46e5482fbfea3a945b133dbca0e020159049516f

22 months agoFix stencilAttachmentFormat in inverted depth ranges tests
ziga-lunarg [Fri, 14 Oct 2022 23:24:43 +0000 (01:24 +0200)]
Fix stencilAttachmentFormat in inverted depth ranges tests

If format is not VK_FORMAT_UNDEFINED in
VKPipelineRenderingCreateInfo::stencilAttachmentFormat then it must be a
format that includes a stencil aspect

Components: Vulkan

VK-GL-CTS issue: 4046

Affected tests:
dEQP-VK.draw.dynamic_rendering.inverted_depth_ranges.*

Change-Id: Ia0dcb1989b8ace78632d26dd0a1e3c1101f5f547

22 months agoMerge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8
Matthew Netsch [Thu, 10 Nov 2022 18:12:22 +0000 (18:12 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8

Change-Id: I46781852d8da0c1c3d65c9435cf93cd05ce1781b

22 months agoFix viewport width in FSR with multiviewport tests
ziga-lunarg [Sun, 16 Oct 2022 22:42:52 +0000 (00:42 +0200)]
Fix viewport width in FSR with multiviewport tests

Tests with extent 1x1 create viewport with width equal to 0.0f

Components: Vulkan

VK-GL-CTS issue: 4057

Affected tests:
dEQP-VK.fragment_shading_rate.*

Change-Id: I99a050348de83d1790320bd5d6d711722dd1fbaf

22 months agoFix image barrier oldLayout in timeline semaphore tests
ziga-lunarg [Sat, 15 Oct 2022 19:51:22 +0000 (21:51 +0200)]
Fix image barrier oldLayout in timeline semaphore tests

Image layout in image barrier must be updated after first transition

Components: Vulkan

VK-GL-CTS issue: 4049

Affected tests:
dEQP-VK.synchronization.timeline_semaphore.one_to_n.*

Change-Id: I7fde2342007a3ec9c2562375fd634539e186acdc

22 months agoFix barrier in ray tracing pipeline build tests
ziga-lunarg [Sun, 16 Oct 2022 19:45:02 +0000 (21:45 +0200)]
Fix barrier in ray tracing pipeline build tests

If access mask is VK_ACCEDSS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR then
stage must be VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR

Components: Vulkan

VK-GL-CTS issue: 4053

Affected tests:
dEQP-VK.ray_tracing_pipeline.build.*

Change-Id: I0a8080881f944319aae2417e5f9fe3297b933dd7

22 months agoFix pMutableDescriptorTypeLists in mutable descriptor tests
ziga-lunarg [Sun, 16 Oct 2022 01:50:25 +0000 (03:50 +0200)]
Fix pMutableDescriptorTypeLists in mutable descriptor tests

pMutableDescriptorTypeLists between srcBinding and dstBinding must match
exactly for copying descriptor sets

Components: Vulkan

VK-GL-CTS issue: 4051

Affected tests:
dEQP-VK.binding_model.mutable_descriptor.*

Change-Id: I64445e84ccd4872789a3db8b15e005d36c08d8a4

22 months agoFix to reset dynamicDenstiyMap after dynamic subsampled tets done.
Hyunjun Ko [Fri, 21 Oct 2022 00:27:05 +0000 (09:27 +0900)]
Fix to reset dynamicDenstiyMap after dynamic subsampled tets done.

Affects:
dEQP-VK.*.fragment_density_map.*.static_nonsubsampled*
dEQP-VK.*.fragment_density_map.*.deferred_nonsubsampled*

VK-GL-CTS Issue: 4062

Components: Vulkan
Change-Id: Ib347bd6e4734b2928ccacfa17dd01dfc134301bb

22 months agoFix flush memory range in ssbo corner case tests
ziga-lunarg [Fri, 14 Oct 2022 22:53:12 +0000 (00:53 +0200)]
Fix flush memory range in ssbo corner case tests

The size in VKMappedMemoryRange used in vkFlushMappedMemoryRanges must
either be a multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize or
offset + size must be equal to the size of memory

Components: Vulkan

VK-GL-CTS issue: 4044

Affected tests:
dEQP-VK.ssbo.corner_case.*

Change-Id: I9ea2ee1e055b55ec39988a6ec0539cd3219937f4

22 months agoFix flush memory range in robustness vertex access tests
ziga-lunarg [Fri, 14 Oct 2022 23:11:59 +0000 (01:11 +0200)]
Fix flush memory range in robustness vertex access tests

The size in VkMappedMemoryRange used in vkFlushMappedMemoryRanges must
either be a multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize or
offset + size must be equal to the size of memory

Components: Vulkan

VK-GL-CTS issue: 4045

Affected tests:
dEQP-VK.robustness.vertex_access.r32_sint.draw.*

Change-Id: I3d0944b6c6808dc66de0c9dc25f6c4e99578a1cf

22 months agoAdd shader image atomic int64 extension if used when creating device
ziga-lunarg [Sat, 15 Oct 2022 22:05:50 +0000 (00:05 +0200)]
Add shader image atomic int64 extension if used when creating device

Add VK_EXT_shader_image_atomic_int64 extension and enabled the features
when creating the device in sparse resources tests if the extension
is used

Components: Vulkan

VK-GL-CTS issue: 4050

Affected tests:
dEQP-VK.sparse_resources.*

Change-Id: If3de1d1e30a57db076802e2933392081c7c3069c

22 months agoFix attachment description in explicit vertex parameter tests
ziga-lunarg [Fri, 14 Oct 2022 22:30:38 +0000 (00:30 +0200)]
Fix attachment description in explicit vertex parameter tests

If initialLayout is VK_IMAGE_LAYOUT_UNDEFINED then loadOp must not be
VK_ATTACHMENT_LOAD_OP_LOAD

Components: Vulkan

VK-GL-CTS issue: 4043

Affected tests:
dEQP-VK.draw.explicit_vertex_parameter.*

Change-Id: I94cd72967798d424081f13033d1afbb3e11d993b

22 months agoUpdate the VK_EXT_descriptor_buffer API to the latest
Piers Daniell [Wed, 9 Nov 2022 01:08:10 +0000 (18:08 -0700)]
Update the VK_EXT_descriptor_buffer API to the latest

This picks up the API change to vkGetDescriptorEXT() which
adds the new "dataSize" parameter.

Affected tests:
dEQP-VK.binding_model.descriptor_buffer.*

Components: Vulkan

VK-GL-CTS issue: 3095

Change-Id: Iff79a67bb54244f0ad0d9b6cc6bf8af7399524d6

22 months agoMerge VK_EXT_mesh_shader branch to main (2)
Ricardo Garcia [Thu, 3 Nov 2022 10:54:26 +0000 (11:54 +0100)]
Merge VK_EXT_mesh_shader branch to main (2)

Second merge in a row to catch up with main.

Change-Id: I8dd15d0b349074a3deb23589c7b80689dd921382

22 months agoMerge vk-gl-cts/vulkansc-cts-1.0.1 into vk-gl-cts/main
Matthew Netsch [Fri, 28 Oct 2022 22:11:18 +0000 (22:11 +0000)]
Merge vk-gl-cts/vulkansc-cts-1.0.1 into vk-gl-cts/main

Change-Id: I79cd2af9e4a7f5b92c279ee8cef3a6f6f9d000d5

22 months agoFix compile error
ziga-lunarg [Fri, 14 Oct 2022 22:15:14 +0000 (00:15 +0200)]
Fix compile error

Newly added tests for
VkImageDrmFormatModifierExplicitCreateInfoEXT use c++20 code for
designated initializers

Components: Vulkan

VK-GL-CTS issue: 4042

Change-Id: Ia39d960e0809420b9755c6a09510c657fcf7838b

22 months agoAdd more VK_EXT_depth_clip_control tests
ziga-lunarg [Sun, 11 Sep 2022 18:18:58 +0000 (20:18 +0200)]
Add more VK_EXT_depth_clip_control tests

Add tests where gl_Position.w is different from 1
Add tests with points and lines topology

Components: Vulkan

VK-GL-CTS issue: 3891

New tests:
dEQP-VK.pipeline.*.depth.depth_clip_control.*_different_w
dEQP-VK.pipeline.*.depth.format.*.point_list*
dEQP-VK.pipeline.*.depth.format.*.line_list*

Renamed tests:
from dEQP-VK.pipeline.*.depth.format.*.compare_ops.*
to   dEQP-VK.pipeline.*.depth.format.*.compare_ops.triangle_list*

Change-Id: I1d2bb1aa3d1cf96b3f825d9dbae6f8850b4875a6

22 months agoAdd MSAA tests for fragment_shader_barycentric
Piotr Byszewski [Tue, 2 Aug 2022 17:46:43 +0000 (19:46 +0200)]
Add MSAA tests for fragment_shader_barycentric

Ensure that interpolateAt*() work properly with
VK_KHR_fragment_shader_barycentric.

VK-GL-CTS issue: 3078

Components: Vulkan

Affects:
dEQP-VK.fragment_shading_barycentric.*

Change-Id: I246c0180cc9d4fe32009c29314c7fc10d2338e91

22 months agoMerge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/main
Matthew Netsch [Fri, 28 Oct 2022 20:58:29 +0000 (20:58 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/main

Change-Id: Ifa5ba7564604fb371eeb56d4282b65d34a7e2392

22 months agoPGQ tests overwrite gl_Position output from vs
Marcin Kańtoch [Thu, 13 Oct 2022 14:11:14 +0000 (16:11 +0200)]
PGQ tests overwrite gl_Position output from vs

dEQP-VK.transform_feedback.primitives_generated_query.* tests after the change
https://gerrit.khronos.org/c/vk-gl-cts/+/9450
overwrite the gl_Position output from vertex shader.
This is incorrect and causes failures.
Removed the gl_Position = vec4(1.0f); line from vs.

Affects:
dEQP-VK.transform_feedback.primitives_generated_query.*

Components: Vulkan

VK-GL-CTS issue: 4039

Change-Id: Ib48d3f5d22a0ce41d9c4a52ebf3d8666f1b08c0e

22 months agoMerge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/vulkan-cts-1.3.4
Matthew Netsch [Fri, 28 Oct 2022 20:12:44 +0000 (20:12 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/vulkan-cts-1.3.4

Change-Id: Id9f7f82a7a889bc2c668afa13d65883e506634f8

22 months agoAdd missing flag in ray tracing with queries tests
ziga-lunarg [Tue, 11 Oct 2022 15:38:01 +0000 (17:38 +0200)]
Add missing flag in ray tracing with queries tests

Command buffer is reused but it is allocated from a command pool that
did not have VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT flag

Components: Vulkan

VK-GL-CTS issue: 4033

Affected tests:
dEQP-VK.ray_tracing_pipeline.acceleration_structures.query_pool_results.*

Change-Id: I68888c2a08647e9d77122e5888aba8f66d849f11

22 months agoMerge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3
Matthew Netsch [Thu, 27 Oct 2022 19:04:07 +0000 (19:04 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3

Change-Id: Iaf15595051e9e11e259a92c75d74f45881131dd7

22 months agoFix using NULL for the default color blend state
Iván Briano [Tue, 18 Oct 2022 21:50:40 +0000 (14:50 -0700)]
Fix using NULL for the default color blend state

Since graphics pipeline libraries was merged, we need to explicitly ask
for NULL to mean the default state when creating a pipeline.

Components: Vulkan

VK-GL-CTS issue: 4061

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

Change-Id: If09ad15322cbc7e39ba4ae9c4cf9825ff131cd46

22 months agoFix independent_pipeline_layout_sets tests
ziga-lunarg [Tue, 11 Oct 2022 22:12:04 +0000 (00:12 +0200)]
Fix independent_pipeline_layout_sets tests

These bugs are already fixed in the main branch, but not in others

Invalid pipeline stages are used in pipeline barriers and wrong vertex
binding and description counts

Components: Vulkan

VK-GL-CTS issue: 4035

Affected tests:
dEQP-VK.pipeline.pipeline_library.graphics_library.misc.independent_pipeline_layout_sets.*

Change-Id: I4c68ac57bd616cdbc2147d725d5b6ea1d6874d90

22 months agoMerge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2
Matthew Netsch [Thu, 27 Oct 2022 18:31:37 +0000 (18:31 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2

Change-Id: I175ea10a0a7a64890834267adfc74ec62fee48d3

22 months agoFix VK_KHR_global_priority tests
ziga-lunarg [Wed, 21 Sep 2022 01:38:41 +0000 (03:38 +0200)]
Fix VK_KHR_global_priority tests

Support for priorities must be queries and if a priority is used but not
reported by VkQueueFamilyGlobalPriorityPropertiesKHR the driver must
fail with VK_ERROR_INITIALIZATION_FAILED

Components: Vulkan

VK-GL-CTS issue: 3898

Affected tests:
dEQP-VK.api.device_init.create_device_global_priority*

Change-Id: I5570006758e73522968a2399a2a4294588b2dde5

22 months agoMerge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1
Matthew Netsch [Thu, 27 Oct 2022 18:07:00 +0000 (18:07 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1

Change-Id: I96317661558490598f309c45bc9a6d040b937d13

22 months agoMerge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0
Matthew Netsch [Thu, 27 Oct 2022 17:38:34 +0000 (17:38 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0

Change-Id: I4b3c2c0c9e8185a634b8917faa9b67cd97469fe7

22 months agoMerge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8
Matthew Netsch [Thu, 27 Oct 2022 17:10:48 +0000 (17:10 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8

Change-Id: I398ca9776ea24153af3f5cc4bd4db4812333d76a

22 months agoFix loadOp in imageless framebuffer test
ziga-lunarg [Mon, 10 Oct 2022 22:39:37 +0000 (00:39 +0200)]
Fix loadOp in imageless framebuffer test

If initial layout in attachment descriptions is
VK_IMAGE_LAYOUT_UNDEFINED, then the load op must not be
VK_ATTACHMENT_LOAD_OP_LOAD

Components: Vulkan

VK-GL-CTS issue: 4030

Affected tests:
dEQP-VK.imageless_framebuffer.*

Change-Id: I5e7f3f5e440dd380a05cf82127af4bea2538fdd2

22 months agoChoose optimal tiling with dmabuf in synchronization tests.
Tapani Pälli [Wed, 5 Oct 2022 16:59:48 +0000 (19:59 +0300)]
Choose optimal tiling with dmabuf in synchronization tests.

This is revert of commit 55027ea63. Problem is that while that change
caused coverage to raise on some drivers it decreased coverage on
others. Ideally this will be written in more dynamic way as a
follow-up work so that everyone could have coverage with these
tests.

Component: Vulkan

Affects: dEQP-VK.synchronization.cross_instance*

VK-GL-CTS issue: 2887

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Change-Id: I252c87ccd1870067417166bf1a4ba769a153105f

22 months agoFix PolygonOffsetClampMinMax test fail when using 24bit depth buffer
Alex Lan [Wed, 26 Oct 2022 14:01:29 +0000 (22:01 +0800)]
Fix PolygonOffsetClampMinMax test fail when using 24bit depth buffer

If using 24bit depth buffer to implement GL_DEPTH_COMPONENT16,
the polygon-offset value generated by glPolygonOffset isn't larger
or smaller than clamp value specified by glPolygonOffsetClampEXT.
So adjust units value based on depth buffer bits when calling
glPolygonOffset/glPolygonOffsetClampEXT.

Affects:
KHR-GLES31.core.polygon_offset_clamp.*

Components: OpenGL
Change-Id: If7a5da4b7b62d2a590ac03ad92832d0daf3e5f47

22 months agoUpdate vulkan-docs version
Piotr Byszewski [Thu, 6 Oct 2022 10:19:16 +0000 (12:19 +0200)]
Update vulkan-docs version

To support recent additions to vk.xml a few small changes had to be
done in gen_framework.py. There are also two new handle types:
VkMicromapEXT and VkOpticalFlowSessionNV. Instead of copying and
pasting null driver classes for them a new macro was added.
All other basic null driver classes were also replaced using this
macro which reduced number of ifdefs for VK SC in vkNullDriver.cpp.

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

Affects:
dEQP-VK.*

Change-Id: I499a9a747d4dda25ea4853f0694a46dac4a1f872

22 months agoTest VulkanSC fault handler without app memory
Jeff Bolz [Mon, 10 Oct 2022 16:27:06 +0000 (11:27 -0500)]
Test VulkanSC fault handler without app memory

Affects: dEQP-VKSC.sc.fault_handling.fault_callback_info.*

Components: VulkanSC
VK-GL-CTS issue: 3968

Change-Id: Idc3b2d36047b187153fe3119e7995a71e84b1e4d