summaryrefslogtreecommitdiff
path: root/external/vulkancts/modules/vulkan
AgeCommit message (Collapse)AuthorFilesLines
2023-03-31Fix missing dependency on sparse bindsHEADupstream/1.3.5upstreammasterTatsuyuki Ishi3-4/+15
The affected tests below used a sparse binding but did not wait for the semaphore to be signaled before performing operations on the image. Fix the synchronization by waiting for the semaphore on all submissions that uses the sparse binding. Affects: dEQP-VK.image.mismatched_formats.sparse_image_read.* dEQP-VK.pipeline.*_sparse dEQP-VK.*.sparserendertarget.* Components: Vulkan VK-GL-CTS issue: 4336 Change-Id: If96817059394e368f142b224515f6546d901756b
2023-03-31Adjust descriptor count of storage buffers when compute shader is usedMadeeha Javed1-147/+199
A storage buffer descriptor is required for writing test results when compute shader is used. Previously, one additional descriptor was being added to the descriptor count in case of compute shader but that caused storage buffer binding count to exceed device limits (maxPerStageDescriptorStorageBuffers). Now, adjustment has been made to exclude one descriptor from descriptor count test value when setting up descriptor sets in case of compute shader. Affects: dEQP-VK.pipeline.*.descriptor_limits.* Components: Vulkan VK-GL-CTS issue: 4330 Change-Id: I5b42d39207e6086a274b7cfaf9d66a346fd3aaf0
2023-03-24Allow Vulkan CTS 1.3.5.1Alexander Galazin1-0/+1
Affects: dEQP-VK.api.driver_properties.properties Components: Vulkan Change-Id: I3d8630be533373cebc7b1a9c2ea34b46742a3d59
2023-03-24Fix destination access mask in image memory barrierMadeeha Javed1-1/+1
Write operation from the source buffer to the image must be completed before read is performed from the image to the destination buffer. Therefore, image barrier dstAccessMask is set to VK_ACCESS_TRANSFER_READ_BIT to make reading operation wait on completion of writing. Affects: dEQP-VK.image.queue_transfer.* Components: Vulkan VK-GL-CTS issue: 4304 Change-Id: Ie83108ae63fc50de7e36db52d3107d0a26eccd1d
2023-03-24Fix sizes and buffer names passed to deMemset corresponding to the buffersMadeeha Javed1-3/+3
Corrected deMemset size parameter for indexBufferMonolithicData from size of ValueBuffer to size of uint32_t. Size correction also made for valuesBufferMonolithicData from size of uint32_t to size of ValueBuffer. Added missing deMemset for valuesBufferGPLData. Affects: dEQP-VK.pipeline.fast_linked_library.misc.interpolate_at_sample_no_sample_shading Components: Vulkan VK-GL-CTS issue: 4328 Change-Id: Id0b4a17167bba7c06bdbe293d99c1ce2dbf2223f
2023-03-24Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/vulkan-cts-1.3.5Piotr Byszewski2-1/+10
Change-Id: Ib0a5a7300fc09382cab3a8b6a9d90fa58af93ab5
2023-03-24Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/vulkan-cts-1.3.4Piotr Byszewski2-1/+10
Change-Id: I7210de73acb0da53740614d13f09eaf030e9c75d
2023-03-24Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3Piotr Byszewski2-1/+10
Change-Id: I99d19c3b50d31799fed4afb694dc3a69996b8c8d
2023-03-23Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2Piotr Byszewski2-1/+10
Change-Id: I706ade7ca212a105d673a8c2199f78f3f54ea0ed
2023-03-23Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1Piotr Byszewski2-1/+10
Change-Id: Ifd340c33afa45b9d51492f4c7e9e281682d432cf
2023-03-23Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0Piotr Byszewski2-1/+10
Change-Id: I05c8fa24154048424ee553aec2c4119a7a68efc8
2023-03-23Fix prettySize() in dEQP-VK.info.*Eric Engestrom1-1/+4
The units were in the wrong order, leading to MiB being picked for all values below 1 TiB and above or equal to 1 MiB, skipping GiB. Adding an assert ensures that this stays correct in the future as well, as the comment was clearly not enough. Components: Vulkan Affects: dEQP-VK.info.memory_limits Change-Id: Ie9ccc14ee8ef703e197af8e5c31387deba1dd1d4
2023-03-23Avoid watchdog timeout in dEQP-Vk.api.external.*.export_multiple_times_*Aitor Camacho1-0/+6
Mentioned tests now take longer than watchdog's time limit for the interval. Affects: dEQP-VK.api.external.*.export_multiple_times_* Components: Vulkan VK-GL-CTS issue: 4331 Change-Id: I81abe9a30945cf2cfe4feb460f66a6dcdedbafcd
2023-03-17Fix BufferView access tests for scaled typesAndrew Fobel1-5/+6
The way in which these tests were written assumes the input and output to the shaders are of the same type; however, for scaled types they are converted from integral to floating point before being processed in the shader. This change corrects that issue as well as adds the two missing scaled types to the framework. Affected tests: dEQP-VK.api.buffer_view.access.uniform_texel_buffer.* VK-GL-CTS Issue: 4239 Components: Vulkan Change-Id: I84f904648c6f2cf301111250dba28feabf782788 (cherry picked from commit 9145d71d6f8461c23af15ae09d8e846279270f44)
2023-03-17Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/vulkan-cts-1.3.5Piotr Byszewski7-21/+57
Change-Id: Id1b536c03c80007858c04f2c4f09b962460cc7ae
2023-03-17Fix errors in attachment feedback loop layout testsziga-lunarg1-4/+33
Attachments are not in expected layouts, pipeline color blend attachments count doesn't match that of the associated render pass and some of the required pipeline layouts are NULL Components: Vulkan VK-GL-CTS issue: 4318 Affected tests: dEQP-VK.pipeline.*.attachment_feedback_loop_layout.* Change-Id: I5d44474f2617c73bb1f153e43638a35ea980f42b
2023-03-17Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/vulkan-cts-1.3.4Piotr Byszewski6-17/+24
Change-Id: Ib40caa8ce640142fb378aab7583f6eef8d3e8ecd
2023-03-17Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3Piotr Byszewski6-17/+24
Change-Id: I8472e4a680090ca421549ad5748572dd7e42bb55
2023-03-17Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2Piotr Byszewski6-17/+24
Change-Id: I4eba9295f92ef2d97d4ab84a00859e8434135ca7
2023-03-16Do not check framework-provided VK1.3.robustImageAccess featureSlawomir Cygan1-2/+0
In f7a8ccc2 the value of robustImageAccess reported and requested by the framework was forced to be always-FALSE, as it had potential overhead on some implementations. However, the extension support check for VK_EXT_image_robustness extension was still relying on it, so related tests are now unrunnable - they always return not supported. As related tests seem to do own feature checks and custom device creation, it looks safe to remove checking for feature from extension support check. VK-GL-CTS Issue: 4241 Components: Vulkan, Framework Affects: dEQP-VK.robustness.pipeline_robustness.image_robustness.* dEQP-VK.robustness.image_robustness.* dEQP-VK.* Change-Id: I3f9f9c09ce271a965e2a8625ce010b9efd1abc34
2023-03-16Add RISC-V 64 bit supportTrevor David Black1-0/+2
Android is adding RISC-V support to AOSP, but only for 64-bit RISC-V. (We've only added the 32-bit constants for completeness, should others want them.) Signed-off-by: Mao Han <han_mao@linux.alibaba.com> Components: Framework, Vulkan, AOSP Google bug: 262585507 Change-Id: Ib818315bb3aa0fe6ebcf82fac846be9a60198e04
2023-03-16Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1Piotr Byszewski4-15/+22
Change-Id: I45f0854b2c181a82ba3755012effd9dfd6a54a4b
2023-03-16Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0Piotr Byszewski4-15/+22
Change-Id: I358abfad8a9129de0a9c13f1d58aac8e28ed873a
2023-03-16Check conservativeRasterizationPostDepthCoverage in affected testsRicardo Garcia1-7/+11
When using both conservative rasterization and post depth coverage, the conservative rasterization property mentioned above indicates if the functionality for both can be combined. Affects: dEQP-VK.pipeline.*multisample*.conservative*post_depth_coverage* VK-GL-CTS issue: 4298 Components: Vulkan Change-Id: I988a5f44956ab9ba40ab734bf2c078b73686d5a8
2023-03-16Fix shader interface mismatch in pipeline cache testsziga-lunarg1-1/+2
Geometry shaders declared gl_PerVertex input, but the vertex shader does not have such an output Components: Vulkan VK-GL-CTS issue: 4320 Affected tests: dEQP-VK.pipeline.cache.* Change-Id: Iaf5d567295f6216848663a28696f8b7dddb71020
2023-03-16Fix access mask in pipeline barriers in ray tracing testsziga-lunarg1-1/+1
The dstAccessMask of pMemoryBarriers must only include access flags that are supported by the pipeline stages in dstStageMask Components: Vulkan VK-GL-CTS issue: 4319 Affected tests: dEQP-VK.ray_tracing_pipeline.large_shader_set.* Change-Id: I633404e9fccd5651ddf4d838961bddd7cc60c32f
2023-03-11Fix stencil op in render pass stencil read only testsziga-lunarg1-6/+8
If depth stencil attachment is in a read-only layout for the stencil aspect and stencil test is enabled, all stencil ops must be KV_STENCIL_OP_KEEP Components: Vulkan VK-GL-CTS issue: 4317 Affected tests: dEQP-VK.renderpass.* Change-Id: I1ba6dcb11525c600d42e1653b0aa347e67117adf
2023-03-10Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/vulkan-cts-1.3.5Piotr Byszewski4-27/+50
Change-Id: I009af1cb999679e26103cf0539f779a30907a36a
2023-03-10Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/vulkan-cts-1.3.4Piotr Byszewski4-27/+50
Change-Id: I01e48b36ff5fe8797c555d47b52ba991e600bf72
2023-03-10Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3Piotr Byszewski4-27/+50
Change-Id: Idd75718ac2bbe801270c6941becf6a23f4b861b0
2023-03-10Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2Piotr Byszewski4-25/+49
Change-Id: Id91e63c7348a5b4d868286bd2a80d6b155a81772
2023-03-10Fix global priority testsziga-lunarg1-20/+23
Extensions VK_KHR_global_priority and VK_EXT_global_priority behave differently, this test was once changed to fix the test using the KHR extension, but it broke the test using EXT The structs from global priority query must only be used with the KHR version of the test Components: Vulkan VK-GL-CTS issue: 3898 Affected tests: dEQP-VK.api.device_init.create_device_global_priority* Change-Id: I906d8f9d7593f49533eb73c8faac4920dc9ce0c8
2023-03-10Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1Piotr Byszewski3-5/+26
Change-Id: I67d7c74c40ab4c824c1841d64b601f1c2e1ed5a1
2023-03-09Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0Piotr Byszewski3-5/+26
Change-Id: I0e58080147d67fd4b4dc8c6ce699fcf0975462fa
2023-03-09Fix checking support in texture filtering testsziga-lunarg1-1/+2
The tests use mipmaps even if the test parameter for mipmaps is false and the check support function does not do that Components: Vulkan VK-GL-CTS issue: 4294 Affected tests: dEQP-VK.texture.filtering.2d_array.* Change-Id: Iabd33803fc952f3ea4c7598674fd9f58b53070d4
2023-03-09Wrong assumption in robustness testsMarcin KaƄtoch1-1/+16
Accept cases, such as <0.0f, 123.0f>, <123.0f, 0.0f> for out of bounds memory, as those can be correctly generated by the compiler. VK-GL-CTS issue: 4288 Components: Vulkan Affects: dEQP-VK.robustness.robustness2.* Change-Id: If54aedf4277d93b404056274e397e7f73c05872b
2023-03-09Fix timeout case in vktSynchronizationTimelineSemaphoreTestsMatthew Netsch1-3/+8
Loop was inverted and race condition on error status. Components: Vulkan VK-GL-CTS Issue: 4282 Affects: dEQP-VK.synchronization*.timeline_semaphore.wait.poll* Change-Id: I8811dbcbdc34130c8bf4ced7e4e3013ca411da05
2023-03-03Fix build for the surfaceless and null-WS target platformsRicardo Garcia4-4/+4
Both platforms should not be considered for building Vulkan Video, which is only available in the normal Linux and Win32 targets, and their createLibrary platform methods do not take a library type argument. No test results should be affected by these changes. Components: Framework VK-GL-CTS issue: 4295 Change-Id: I4de5b42685899099a9cfcf7da64fe299fef61ffc
2023-03-03Fix multiple VK_KHR_get_physical_device_properties2 issuesRicardo Garcia18-86/+107
This commit fixes two types of issues found in several CTS tests related to PDP2. * Several CTS tests were creating unneeded Vulkan instances, and these instances were being created without any extension enabled. In turn, this means P2P2 APIs like getPhysicalDeviceFeatures2 could not be used with those instances. Despite this, some tests were calling those functions. The solution applied here is not using custom instances at all whenever possible, as most times we are only interested in custom devices, or to enable PDP2 on those instances. * In some other situations, PDP2 functions were being called in the default instance but without checking first for any extension that requires PDP2 or without directly checking for PDP2. In these cases, the solution was adding extension checks before. Affects: dEQP-VK.depth.* dEQP-VK.api.buffer_memory_requirements.* dEQP-VK.api.device_init.*priority* dEQP-VK.api.*format_properties* dEQP-VK.compute.indirect_dispatch.* dEQP-VK.fragment_shading_rate.*pixel_consistency* dEQP-VK.memory.* dEQP-VK.multiview.* dEQP-VK.pipeline.*.shader_fragment_mask.* dEQP-VK.robustness.* dEQP-VK.sparse_resources.* dEQP-VK.subgroups.subgroup_uniform_control_flow.* dEQP-VK.synchronization.global_priority_transition.* dEQP-VK.synchronization.*multi_queue* dEQP-VK.synchronization.*smoke* dEQP-VK.synchronization.timeline_semaphore.* Components: Vulkan VK-GL-CTS issue: 4293 Change-Id: Iba184a3f1ba901ce60458477a1f54772b4588bb6
2023-03-03Copy ffmpeg DLLs to binary build project directorySlawomir Cygan1-0/+4
This eases the build system integration, as all needed DLLs are copied to the same place. This restores the copy directive from before bebd9465 Components: Vulkan VK-GL-CTS Issue: 4275 Change-Id: I1dfad1d3e1a5fb8d3fa106cac35b1c9b6a829651
2023-03-03Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/vulkan-cts-1.3.5Piotr Byszewski2-5/+6
Change-Id: Id88b88271745df8a24fab873df096dc92c81988a
2023-03-03Use correct input attachment index in descriptor limits testsConnor Abbott1-1/+1
We always sample from input attachment 1, not 0. Component: Vulkan Affects: dEQP-VK.pipeline.*.descriptor_limits.fragment_shader.input_attachments_* VK-GL-CTS Issue: 4144 Change-Id: Id53bca52c17cfcd001c7daf27c55b8d933b3c1ad
2023-03-03Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/vulkan-cts-1.3.4Piotr Byszewski1-4/+5
Change-Id: Ic9c36405446638dafc610caee141b0b6b5ca28e9
2023-03-03Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3Piotr Byszewski1-4/+5
Change-Id: I00bd8910b15b2b0173a7a3ace0e4355a9ba978a9
2023-03-03Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2Piotr Byszewski1-4/+5
Change-Id: Iafc6fd04ac57cd732c62958dc372bd94128572b1
2023-03-03Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1Piotr Byszewski1-4/+5
Change-Id: Idd791399ad26c7817670c730f215978cdaf0831f
2023-03-03Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0Piotr Byszewski1-4/+5
Change-Id: I2cdda0aa78f3796624c037050f5fad0cbf757575
2023-02-24Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/vulkan-cts-1.3.5Piotr Byszewski1-32/+100
Change-Id: I724365674be6594510c2b687ef31caf3d831cdc2
2023-02-24Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/vulkan-cts-1.3.4Piotr Byszewski1-32/+100
Change-Id: I20978f14832fe97efa1e388057939fa6b0639642
2023-02-24Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3Piotr Byszewski1-32/+100
Change-Id: Ib3f0e3710da32ef744de5cea1245d781043d2e10