platform/upstream/VK-GL-CTS.git
2 years agoMerge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main
Matthew Netsch [Fri, 30 Sep 2022 17:42:08 +0000 (10:42 -0700)]
Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main

Change-Id: I128184c0a25ceb0c53106ce46d6d0207976f4b77

2 years agoAdd checking VK_KHR_ray_tracing_pipeline extension.
Hyunjun Ko [Tue, 20 Sep 2022 01:07:41 +0000 (10:07 +0900)]
Add checking VK_KHR_ray_tracing_pipeline extension.

Affects:
dEQP-VK.ray_tracing_pipeline.acceleration_structures.copy_within_pipeline.*

Components: Vulkan

VK-GL-CTS issue: 3824

Change-Id: Iac1380eb2f2d458570271217e433cd0bcd147b99

2 years agoAdd missing check for imageCubeArray feature
ziga-lunarg [Mon, 29 Aug 2022 19:10:47 +0000 (21:10 +0200)]
Add missing check for imageCubeArray feature

Feature imageCubeArray needs to be enabled when image views use type
VK_IMAGE_VIEW_TYPE_CUBE_ARRAY

Components: Vulkan

VK-GL-CTS issue: 3910

Affected tests:
dEQP-VK.api.object_management.*

Change-Id: Ie49c70b7311b29609bec5e1cc6f5570c33002d90

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3
Matthew Netsch [Thu, 29 Sep 2022 20:34:50 +0000 (20:34 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3

Change-Id: I13cee5dfaf58ba9c06024c662874b2e614b0e653

2 years agoFix samples in VkCoarseSampleLocationNV tests
ziga-lunarg [Sat, 24 Sep 2022 21:00:25 +0000 (23:00 +0200)]
Fix samples in VkCoarseSampleLocationNV tests

VkCoarseSampleLocationNV::sample must be less than the number of
coverage samples in each pixel belongning to the fragment

Components: Vulkan

VK-GL-CTS issue: 3995

Affected tests:
dEQP-VK.dynamic_state.*.viewport_coarse_sample_order_nv.*

Change-Id: Ia44906d0129d0af9374b44ca1f6a423b31285311

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2
Matthew Netsch [Thu, 29 Sep 2022 20:02:17 +0000 (20:02 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2

Change-Id: Ifd90e4e5ecda6ae1d2290de8eb20633655115e71

2 years agoEnable minLod feature in mipmap tests using it
ziga-lunarg [Sat, 10 Sep 2022 21:18:40 +0000 (23:18 +0200)]
Enable minLod feature in mipmap tests using it

Components: Vulkan

VK-GL-CTS issue: 3936

Affected tests:
dEQP-VK.texture.mipmap.*

Change-Id: Idc2adff0a34eeea3e5bec594d20b1cd5cfa586b3

2 years agoAdd missing required extension in pageable memory tests
ziga-lunarg [Thu, 8 Sep 2022 23:08:04 +0000 (01:08 +0200)]
Add missing required extension in pageable memory tests

VK_EXT_memory_priority is required to be enabled when
VK_EXT_pageable_device_local_memory is used

Components: Vulkan

VK-GL-CTS issue: 3931

Affected tests:
dEQP-VK.memory.binding.priority_dynamic.*

Change-Id: If544fe39b6481f6da628002c8f0f61ea85e8c668

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1
Matthew Netsch [Thu, 29 Sep 2022 19:34:03 +0000 (19:34 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1

Change-Id: I0f56252e649dc089c025e312de8c86498f1ef024

2 years agoMerge vk-gl-cts/vulkansc-cts-1.0.1 into vk-gl-cts/main
Matthew Netsch [Thu, 29 Sep 2022 18:44:32 +0000 (11:44 -0700)]
Merge vk-gl-cts/vulkansc-cts-1.0.1 into vk-gl-cts/main

Change-Id: I2627bdf0d8631d61f399a175c6f905ce25d65544

2 years agoVKSC command pool creation should respect maxCommandBufferSize
Aidan Fabius [Mon, 26 Sep 2022 01:27:49 +0000 (21:27 -0400)]
VKSC command pool creation should respect maxCommandBufferSize

Components: Vulkan SC

VK-GL-CTS issue: 3998

Affects:
dEQP-VKSC.*

Change-Id: I5ec01dcbc6d171ceee3463f62c76f8750974cd40

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0
Matthew Netsch [Thu, 29 Sep 2022 18:41:43 +0000 (11:41 -0700)]
Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0

Change-Id: Iaf8dc48ac02ba8e3f6713bf1e5c212eeb8a934b8

2 years agoFix pipeline barrier in multisample resolve tests
ziga-lunarg [Sat, 10 Sep 2022 19:39:25 +0000 (21:39 +0200)]
Fix pipeline barrier in multisample resolve tests

srcAccessMask and dstAccessMask must be supported by the pipeline stages
used in the barrier

Components: Vulkan

VK-GL-CTS issue: 3934

Affected tests:
dEQP-VK.dynamic_rendering.suballocation.multisample_resolve.*

Change-Id: Ic2d4976875c67ece548a92e236f778fe77740ef5

2 years agoFix basic dynamic rendering tests
aitor_lunarg [Mon, 12 Sep 2022 14:17:31 +0000 (16:17 +0200)]
Fix basic dynamic rendering tests

Create pipeline with correct information for depth/stencil
and correctly inherit in secondary command buffers.

Affects:
dEQP-VK.dynamic_rendering.basic.*

Components: Vulkan

VK-GL-CTS issue: 3939

Change-Id: Ide926862c5272d7ef5cafcaf40b47e338b071edb

2 years agoFix multisample resolve tests with integer formats
ziga-lunarg [Sat, 10 Sep 2022 20:26:20 +0000 (22:26 +0200)]
Fix multisample resolve tests with integer formats

If attachments use an integer format, resolveMode must be either
VK_RESOLVE_MODE_NONE or VK_RESOLVE_MODE_SAMPLED_ZERO_BIT

Components: Vulkan

VK-GL-CTS issue: 3935

Affected tests:
dEQP-VK.*.multisample_resolve.*

Change-Id: I3b410d06185a2572e4e199a23e0dffec9b457a22

2 years agoFix FSR tests with imageless framebuffers
ziga-lunarg [Tue, 27 Sep 2022 21:43:14 +0000 (23:43 +0200)]
Fix FSR tests with imageless framebuffers

If framebuffer is created with imageless bit then pViewFormats must
include the format used in VkAttachmentDescription

This was fixed once already, but was undone with a bad merge

Components: Vulkan

VK-GL-CTS issue: 3943

Affected tests:
dEQP-VK.fragment_shading_rate.*.basic.*

Change-Id: I40cf4c47d397a10c690708fa06a932ff13cd2db2

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8
Matthew Netsch [Thu, 29 Sep 2022 17:20:29 +0000 (17:20 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8

Change-Id: Ice60c62e6d9ad661427fc8fe22b55e7859552b15

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/vulkan-cts-1.2.7
Matthew Netsch [Thu, 29 Sep 2022 16:53:47 +0000 (16:53 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/vulkan-cts-1.2.7

Change-Id: Icb63b934b1b399deb129bce52cc5b91cce1def10

2 years agoSimplify feature checking in YCbCr tests
Graeme Leese [Mon, 12 Sep 2022 09:24:51 +0000 (10:24 +0100)]
Simplify feature checking in YCbCr tests

Components: Vulkan
VK-GL-CTS Issue: 3937
Affects: dEQP-VK.ycbcr.*

Change-Id: I55fe0172efe4e64127927a10c08cc08d741ed817

2 years agoFix FSI tests flusing non host visible memory
ziga-lunarg [Wed, 14 Sep 2022 00:48:53 +0000 (02:48 +0200)]
Fix FSI tests flusing non host visible memory

Test try to flush memory that does not have host visible bit

Components: Vulkan

VK-GL-CTS issue: 3944

Affected tests:
dEQP-VK.fragment_shader_interlock.*

Change-Id: If7e1294a3d01e6c1dbd1bf08d9902c476ed5a2bd

2 years agoFix bad depth/stencil sync for depth_range_unrestricted
Graeme Leese [Wed, 14 Sep 2022 13:45:58 +0000 (14:45 +0100)]
Fix bad depth/stencil sync for depth_range_unrestricted

The synchronisation for the depth image was only for the late fragment
tests stage and only for writing. Since the depth test needs to read the
existing value the sync requires the READ bit and should apply at the
earliest stage that might perform the test (EARLY_FRAGMENT_TESTS, rather
than LATE_FRAGMENT_TESTS).

Component: Vulkan
Affects: dEQP-VK.pipeline.depth_range_unrestricted.*

Change-Id: I329e0f201735d0241c35f37a33379f361334f43e

2 years agoVKSC check offline pipeline compiler result.
Sourav Parmar [Mon, 12 Sep 2022 23:58:29 +0000 (16:58 -0700)]
VKSC check offline pipeline compiler result.

Components: Vulkan SC

VK-GL-CTS issue: 3909

Affects:
dEQP-VKSC.*

Change-Id: I6325efd1e4cc3014a88558944354becc864faa6a

2 years agoMerge branch 'dev/VK_EXT_legacy_dithering'
aitor_lunarg [Tue, 27 Sep 2022 18:48:03 +0000 (20:48 +0200)]
Merge branch 'dev/VK_EXT_legacy_dithering'

Change-Id: Iad30df71d2239cfcf59df5662e6dc80051c01f31

2 years agoAdd another alternative to reflect() precision tests
Piotr Sobczak [Thu, 21 Jul 2022 13:57:13 +0000 (15:57 +0200)]
Add another alternative to reflect() precision tests

    AMDGPU started generating it following a reassociation change
    in the shader compiler backend.

    This commit adds one more case for a scalar type. The rest of
    the alternatives are copied from the vector case, but the scalar
    one allows for more reassociation since the dot is just a multiplication.

    It is possible to handle even more cases here. This commit is just
    a minimal change that fixes the issue in test.

    Components: Vulkan
    Vk-GL-CTS Issue: 3862

    Affects:
    dEQP-VK.glsl.builtin.precision*reflect.*scalar

Change-Id: I3b9ebce38e76757af314129a6e080902297d7352
(cherry picked from commit 8bd8cc71943b3ccdac0e53d09593218c1ad42fb4)

2 years agoTests for VK_EXT_depth_clamp_zero_one
Graeme Leese [Wed, 10 Mar 2021 14:05:15 +0000 (14:05 +0000)]
Tests for VK_EXT_depth_clamp_zero_one

Six tests of various ways that depth can end up outside the range
[z_n, z_f], checking that they are corectly clamped to 1, rather than to
z_f or some other undefined value, by the depthClamp stage.

Components: Vulkan
VK-GL-CTS Issue: 3930

Affects: dEQP-VK.depth.*

Change-Id: Id80a3b3e7a4d443f441875828683953a7a2910f2

2 years agoUpdate to the latest vulkan-docs version
Graeme Leese [Thu, 1 Sep 2022 11:57:18 +0000 (12:57 +0100)]
Update to the latest vulkan-docs version

Components: Vulkan
New Tests: dEQP-VK.api.info.get_physical_device_properties2.features.mesh_shader_features_ext
           dEQP-VK.api.info.get_physical_device_properties2.features.depth_clamp_zero_one_features_ext
           dEQP-VK.api.device_init.create_device_unsupported_features.mesh_shader_features_ext
           dEQP-VK.api.device_init.create_device_unsupported_features.depth_clamp_zero_one_features_ext

Change-Id: I7f37ca7d8186110158d727fb6d2b07c4a0da6c07

2 years agoMerge "Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main" into main
Matthew Netsch [Fri, 16 Sep 2022 16:17:01 +0000 (16:17 +0000)]
Merge "Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main" into main

2 years agoCreate VkShaderModule on the correct device
ziga-lunarg [Sat, 3 Sep 2022 15:21:06 +0000 (17:21 +0200)]
Create VkShaderModule on the correct device

Device parameter in vkGetShaderModuleIdentifierEXT must be the
same device that was used to create VkShaderModule

Components: Vulkan

VK-GL-CTS issue: 3922

Affected tests:
dEQP-VK.pipeline.*.shader_module_identifier.constant_identifiers.*

Change-Id: I0a8b48186886380d983f18a10ef9aeaeff81df1c

2 years agoFix dEQP-VK.synchronization.global_priority_transition.*
Gary Sweet [Tue, 6 Sep 2022 14:03:32 +0000 (15:03 +0100)]
Fix dEQP-VK.synchronization.global_priority_transition.*

The semaphore wait stage flags were incorrect for the cross-
queue synchronization.

VK-GL-CTS issue: 3924

Components: Vulkan

Affects:
dEQP-VK.synchronization.global_priority_transition.*

Change-Id: I03e723f1c1adaa3c838b5e054cd2fdd903cf59eb

2 years agoFix to ensure that a particular image with that format can be sampled
Hyunjun Ko [Tue, 6 Sep 2022 05:36:05 +0000 (14:36 +0900)]
Fix to ensure that a particular image with that format can be sampled
via vkGetPhysicalDeviceImageFormatProperties.

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

VK-GL-CTS Issue: 3923

Components: Vulkan
Change-Id: I7a436e4650009a12f8abd561cb70132a11add951

2 years agoInteract FDM with imageless FB and secondary CB
Piotr Byszewski [Tue, 6 Sep 2022 10:43:39 +0000 (12:43 +0200)]
Interact FDM with imageless FB and secondary CB

Add test for interaction between VK_EXT_fragment_density_map,
VK_KHR_imageless_framebuffer and secondary command buffers
with continuation bit.

VK-GL-CTS issue: 3801

Components: Vulkan

Affects:
dEQP-VK.renderpass*.fragment_density_map.*

Change-Id: If3d2fcf5152ac5a46c1af8ee5f6451321a70badf

2 years agoAdd test for pervertex correctness
Piotr Byszewski [Fri, 2 Sep 2022 16:00:11 +0000 (18:00 +0200)]
Add test for pervertex correctness

Added test for VK_KHR_fragment_shader_barycentric that declares
a PerVertex varying at location 0 and another "normal" varying
at location 1 to make sure that:
1) the PerVertex decoration is only applied to location 0
2) the location 1 isn't compacted/remapped to location 0.

VK-GL-CTS issue: 3078

Components: Vulkan

Affects:
dEQP-VK.fragment_shading_barycentric.data.*

Change-Id: I389931e8b53d4bfc957810372c6afe1f4b6d71b8

2 years agopipelineStageCreationFeedbackCount = 0 case
Marcin Zając [Thu, 1 Sep 2022 10:13:31 +0000 (12:13 +0200)]
pipelineStageCreationFeedbackCount = 0 case

Coverage of VkPipelineCreationFeedbackCreateInfo
configuration with per stage feedback count
set to 0 which should cause per-stage information
to not being emitted

Components: Vulkan

VK-GL-CTS issue: 3736

New test:
dEQP-VK.pipeline.*.creation_feedback.graphics_tests.vertex_stage_fragment_stage_no_cache_zero_out_feedback_cout

Change-Id: Idf656c53bd09ec00bee70e6ff08ebd73a95aa7e0

2 years agoAdd tests for VK_EXT_pipeline_robustness
Jarredhdavies [Fri, 3 Jun 2022 18:27:21 +0000 (19:27 +0100)]
Add tests for VK_EXT_pipeline_robustness

Components: Vulkan, Framework

New Tests: dEQP-VK.robustness.pipeline_robustness*

VK-GL-CTS Issue: 2757

Change-Id: I04a05e85a179b5718931ae37fb9ca249d85a4464

2 years agoAdd tests with dynamic states that discard all fragments
ziga-lunarg [Wed, 17 Aug 2022 00:21:48 +0000 (02:21 +0200)]
Add tests with dynamic states that discard all fragments

Make sure there are no changes in framebuffer attachments after
rendering with different dynamic states and discarding every fragment

Components: Vulkan

VK-GL-CTS issue: 3880

New Tests:
dEQP-VK.dynamic_state.*.discard.*
dEQP-VKSC.dynamic_state.*.discard.*

Change-Id: I2fc69ee7cd044f6429f4bff3ac91e89810e77d01

2 years agoUse Mach semaphores on Darwin
Chip Davis [Thu, 30 Jun 2022 00:34:45 +0000 (19:34 -0500)]
Use Mach semaphores on Darwin

Using named POSIX semaphores presents a problem: since they are visible
to other processes, they don't get cleaned up automatically when the
process dies. This causes problems down the line when the POSIX
semaphore namespace is filled up (macOS, by default, only allows 10000
POSIX semaphores to exist at once): creating new semaphores fails, and
thus we die with a null pointer reference when we try to use the
semaphore.

Mach semaphores have none of these problems. And no, I have no idea why
Apple doesn't just implement anonymous POSIX semaphores on top of Mach
semaphores. Maybe they thought it would be too hard to distinguish named
from unnamed semaphores?

Components: Framework
VK-GL-CTS public PR: 350

Change-Id: Id2b5a05b8afe96c5d9999417b0fcd1f96ddb7ba3

2 years agorobustness1_vertex_access for VKSC
Marcin Zając [Fri, 9 Sep 2022 13:26:05 +0000 (15:26 +0200)]
robustness1_vertex_access for VKSC

Patch for testing robustBufferAccess in Vulkan SC mode

Components: Vulkan

VK-GL-CTS Issue: 3926

Affects:
dEQP-VK.robustness.robustness1_vertex_access.out_of_bounds_*

Change-Id: Id7786ecfdb9e3cec81939a99a437817ac22318ca

2 years agoFix vkDeviceFeatures2.inl
Piotr Byszewski [Fri, 9 Sep 2022 10:30:05 +0000 (12:30 +0200)]
Fix vkDeviceFeatures2.inl

While applying recent gen_framework changes (that generates
.inl files directly from vk.xml) some required changes in
writeDeviceFeatures2 were overlooked. This resulted in incorrect
recognition of promoted and partially promoted extensions.
This change fixes this.

VK-GL-CTS issue: 3928

Components: Framework, Vulkan

Affects:
dEQP-VK.api.info.get_physical_device_properties2.features.*

Change-Id: Ie9582a0584984b272cb89e5a4217aa58f0104233

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main
Matthew Netsch [Fri, 16 Sep 2022 15:12:05 +0000 (08:12 -0700)]
Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main

Change-Id: Ia21f33d97ed2225b40fe3bc4c80ff23811aaa56e

2 years agoMerge vk-gl-cts/opengl-cts-4.6.2 into vk-gl-cts/main
Matthew Netsch [Fri, 16 Sep 2022 14:43:34 +0000 (14:43 +0000)]
Merge vk-gl-cts/opengl-cts-4.6.2 into vk-gl-cts/main

Change-Id: I240f056caf5a2e3e0037a27718077281a105f358

2 years agoMerge vk-gl-cts/opengl-cts-4.6.1 into vk-gl-cts/opengl-cts-4.6.2
Matthew Netsch [Fri, 16 Sep 2022 14:15:20 +0000 (14:15 +0000)]
Merge vk-gl-cts/opengl-cts-4.6.1 into vk-gl-cts/opengl-cts-4.6.2

Change-Id: I840fb91ba7f6e91956f56b765dba16e2435d4162

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3
Matthew Netsch [Thu, 15 Sep 2022 20:34:38 +0000 (13:34 -0700)]
Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3

Change-Id: Ib2d8b8d33b980e04dc91b99178695dd532ccc382

2 years agoMerge vk-gl-cts/opengl-es-cts-3.2.8 into vk-gl-cts/main
Matthew Netsch [Thu, 15 Sep 2022 21:32:18 +0000 (21:32 +0000)]
Merge vk-gl-cts/opengl-es-cts-3.2.8 into vk-gl-cts/main

Change-Id: I359783cd885569b2d6eb6846760ee2d030657940

2 years agoMerge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/opengl-es-cts-3.2.8
Matthew Netsch [Thu, 15 Sep 2022 21:04:18 +0000 (21:04 +0000)]
Merge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/opengl-es-cts-3.2.8

Change-Id: I583b180f82fbb1c9af9a0ddec49f94c84785dc1f

2 years agoMerge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/opengl-es-cts-3.2.7
Matthew Netsch [Thu, 15 Sep 2022 20:35:37 +0000 (20:35 +0000)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/opengl-es-cts-3.2.7

Change-Id: Ie5909532e6b5af30e4e28702a5731ab3b7b4d0a3

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2
Matthew Netsch [Thu, 15 Sep 2022 19:55:37 +0000 (19:55 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2

Change-Id: Ieb8b8d81d541424af1ee485685c8a16f933280fe

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1
Matthew Netsch [Thu, 15 Sep 2022 18:56:08 +0000 (11:56 -0700)]
Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1

Change-Id: I8ad2098c00b273cc4e80b471529aa1e1c1d457e1

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0
Matthew Netsch [Thu, 15 Sep 2022 17:37:55 +0000 (17:37 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0

Change-Id: I9f0144577e533e509a8a26ef61a76fdefa6b26da

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8
Matthew Netsch [Thu, 15 Sep 2022 17:10:40 +0000 (17:10 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8

Change-Id: I596aa3ecd9c4fb713c76e19a9e7d753909f13f67

2 years agolower local size for some amber KHR_workgroup_memory_explicit_layout tests
Iago Toral Quiroga [Wed, 31 Aug 2022 10:40:58 +0000 (12:40 +0200)]
lower local size for some amber KHR_workgroup_memory_explicit_layout tests

Some of these tests use a local size that exceeds the minimum requirement
in the spec and don't check whether the implementation supports it.

Rewrite the tests to use the minimum limit required by the spec for
maxComputeWorkGroupInvocations, which is 128, so that the test can
run on any implementation.

VK-GL-CTS issue: 3913
Components: Vulkan
Affects:
dEQP-VK.compute.workgroup_memory_explicit_layout.copy_memory.*
dEQP-VK.compute.workgroup_memory_explicit_layout.zero_ext.*

Change-Id: I4e8135d8d60e044f92ed5c53648fda24f067edc0

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/vulkan-cts-1.2.7
Matthew Netsch [Thu, 15 Sep 2022 16:43:57 +0000 (16:43 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/vulkan-cts-1.2.7

Change-Id: I69b15479584e309ff31e12b315aeb42b01410e61

2 years agoFix using device coherent memory without enabling the feature
ziga-lunarg [Fri, 2 Sep 2022 21:45:58 +0000 (23:45 +0200)]
Fix using device coherent memory without enabling the feature

Components: Vulkan

VK-GL-CTS issue: 3921

Affected tests:
dEQP-VK.memory.allocation.*

Change-Id: I4eb9e1ab6f22487573bfe14affa75396962145c8

2 years agoFix modifier tests - Add Invalidate memory before host read.
Matthew Netsch [Thu, 8 Sep 2022 14:00:27 +0000 (07:00 -0700)]
Fix modifier tests - Add Invalidate memory before host read.

After performing copyImagetoBuffer buffers no invalidation was given
before reading from host. Add the invalidate operation for buffer
before reading.

Components: Vulkan
VK-GL-CTS Issue: 3929

Affected tests:
dEQP-VK.transform_feedback.simple.*

Change-Id: I57dd4d65e9894e85f7d0c5adc4682f45e046bc02

2 years agoFix build in C++20 mode.
Peter Kasting [Thu, 8 Sep 2022 19:00:54 +0000 (19:00 +0000)]
Fix build in C++20 mode.

* Compound assignments to volatiles are deprecated.  Use non-compound
  forms.
* Math between disparate enums is deprecated.  Use constexprs.
* The full definition of a type T must be visible for code that
  instantiates std::vector<T>.  Reorder code to guarantee this.

Components: Framework

Bug: chromium:1284275
Change-Id: I75a99b5c09cc911f2312aabe85f49aadff84dc51

2 years agoFix build in C++20 mode.
Peter Kasting [Thu, 8 Sep 2022 19:00:54 +0000 (19:00 +0000)]
Fix build in C++20 mode.

* Compound assignments to volatiles are deprecated.  Use non-compound
  forms.
* Math between disparate enums is deprecated.  Use constexprs.
* The full definition of a type T must be visible for code that
  instantiates std::vector<T>.  Reorder code to guarantee this.

Components: Framework

Bug: chromium:1284275
Change-Id: I75a99b5c09cc911f2312aabe85f49aadff84dc51

2 years agoFix build in C++20 mode.
Peter Kasting [Thu, 8 Sep 2022 19:00:54 +0000 (19:00 +0000)]
Fix build in C++20 mode.

* Compound assignments to volatiles are deprecated.  Use non-compound
  forms.
* Math between disparate enums is deprecated.  Use constexprs.
* The full definition of a type T must be visible for code that
  instantiates std::vector<T>.  Reorder code to guarantee this.

Components: Framework

Bug: chromium:1284275
Change-Id: I75a99b5c09cc911f2312aabe85f49aadff84dc51

2 years agoMerge "Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main" into main
Matthew Netsch [Mon, 12 Sep 2022 15:09:42 +0000 (15:09 +0000)]
Merge "Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main" into main

2 years agoMerge vk-gl-cts/vulkansc-cts-1.0.1 into vk-gl-cts/main
Matthew Netsch [Fri, 9 Sep 2022 18:52:44 +0000 (18:52 +0000)]
Merge vk-gl-cts/vulkansc-cts-1.0.1 into vk-gl-cts/main

Change-Id: Ic6be7702f895e29e162fb975ef280af57ccdabe4

2 years agoVKSC low-memory implementations require lower semaphore count for chain test.
Tom Malnar [Wed, 24 Aug 2022 18:30:15 +0000 (14:30 -0400)]
VKSC low-memory implementations require lower semaphore count for chain test.

Components: Vulkan SC

VK-GL-CTS issue: 3903

Affects:
dEQP-VKSC.synchronization.basic.binary_semaphore.chain

Change-Id: Ic64f23ee2ee7f770d8b5db3d39deb79a394796ac

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main
Matthew Netsch [Fri, 9 Sep 2022 18:49:30 +0000 (11:49 -0700)]
Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main

Change-Id: I44edd12c04383ff54403341843b3a24335bf96e4

2 years agoReintroduce tests for VK_EXT_color_write_enable extension
Matthew Netsch [Wed, 17 Aug 2022 19:32:00 +0000 (19:32 +0000)]
Reintroduce tests for VK_EXT_color_write_enable extension

Adding tests back in to enable coverage for this feature

VK-GL-CTS Issue: 3759
Components: Vulkan

Affects:
dEQP-VK.pipeline.*.color_write_enable_maxa.cwe_after_bind.*
dEQP-VK.pipeline.*.color_write_enable_maxa.cwe_before_bind.*

Change-Id: Ia43d495097038272df407ac633a05ce729af3ea3

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3
Matthew Netsch [Fri, 9 Sep 2022 17:27:30 +0000 (17:27 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3

Change-Id: I590325438900e9a2d08d5abe584d63a50a0781f7

2 years agoFix dynamic rendering tests using queries with multiview
ziga-lunarg [Sun, 21 Aug 2022 00:22:18 +0000 (02:22 +0200)]
Fix dynamic rendering tests using queries with multiview

If queries are used in a render pass instance with multiview enabled
then the query uses N consecutive query indices

Components: Vulkan

VK-GL-CTS issue: 3877

Affected tests:
dEQP-VK.dynamic_rendering*random.seed*

Change-Id: I884b30f7e1be470c0515a6783dbfe1771f1a3ba0

2 years agoTest per-stage descriptor limits
Juha Heiskanen [Tue, 19 Apr 2022 13:15:10 +0000 (16:15 +0300)]
Test per-stage descriptor limits

Add tests to verify that per-stage descriptor limit support works as
advertised.

Components: Vulkan

VK-GL-CTS Issue: 3470

New tests: dEQP-VK.pipeline.*.descriptor_limits.*

Change-Id: I89164d5fbf5382ff4a63410541b6f68efb5c9ad4

2 years agoTests for VK_FUCHSIA_external_*
John Bauman [Mon, 29 Aug 2022 16:35:49 +0000 (16:35 +0000)]
Tests for VK_FUCHSIA_external_*

New tests:
dEQP-VK.api.external.semaphore.zircon_event.*
dEQP-VK.api.external.memory.*
dEQP-VK.synchronization.cross_instance.*_zircon_handle
dEQP-VK.synchronization2.cross_instance.*_zircon_handle

Components: Vulkan
VK-GL-CTS issue: 3911

Change-Id: I6c8e61d61f2c0dd380f01711ce7886aa6e3b60df

2 years agoTest barriers in conditional control flow
Graeme Leese [Tue, 30 Aug 2022 13:32:50 +0000 (14:32 +0100)]
Test barriers in conditional control flow

Barriers in compute shaders are allowed to be within uniform control
flow, but there were no tests with any barriers in selection constructs.
Add a test.

Uniform control flow for barriers is only required when the barrier is
actually executed (see cross-api/memory-model#116), so the test uses a
mix of uniform and non-uniform selections whilst ensuring that the
barrier is only executed in uniform control flow.

Components: Vulkan
New Test: dEQP-VK.compute.basic.branch_past_barrier

Change-Id: Ic4fbf95f2d903724aa0e564ebc2c3adca982b6da

2 years agoExtend tests for depth parameter of OpTypeImage
Aitor Camacho [Tue, 9 Aug 2022 21:05:18 +0000 (23:05 +0200)]
Extend tests for depth parameter of OpTypeImage

Add tests for depth parameter of OpTypeImage for compute pipeline.
All existing tests will now have 3 variations with depth property
being 0, 1 and 2. Modified name will be same as previous with
'depth.value' added to it.

Extend graphics pipeline tests to correctly generate all tests
for depth parameter of OpTypeImage. Existing tests will be replaced
by tests with similar name with 'depth.value' added to it.

Removed tests:
dEQP-VK.spirv_assembly.instruction.graphics.image_sampler.depth_property.*

New tests:
dEQP-VK.spirv_assembly.instruction.graphics.image_sampler.*
dEQP-VK.spirv_assembly.instruction.compute.image_sampler.*

Components: Vulkan

VK-GL-CTS issue: 3603

Change-Id: I396e767de14381867c2cb042c2b94b985c80190b

2 years agoMerge vk-gl-cts/opengl-cts-4.6.2 into vk-gl-cts/main
Matthew Netsch [Fri, 9 Sep 2022 16:17:26 +0000 (16:17 +0000)]
Merge vk-gl-cts/opengl-cts-4.6.2 into vk-gl-cts/main

Change-Id: Id9b9246a43eaada1ac75f94980627dd536f5ce5f

2 years agoMerge vk-gl-cts/opengl-cts-4.6.1 into vk-gl-cts/opengl-cts-4.6.2
Matthew Netsch [Fri, 9 Sep 2022 15:49:35 +0000 (15:49 +0000)]
Merge vk-gl-cts/opengl-cts-4.6.1 into vk-gl-cts/opengl-cts-4.6.2

Change-Id: I4c597cb9671bc4a7893d4d921dbaf4bfb42843e0

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2
Matthew Netsch [Thu, 8 Sep 2022 21:06:26 +0000 (14:06 -0700)]
Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2

Change-Id: Ib404387348df248f2a0a6e50f22813bf004c4935

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1
Matthew Netsch [Thu, 8 Sep 2022 17:57:21 +0000 (17:57 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1

Change-Id: I5a2183d155a48675e5ef2edc90f4323fe59a9032

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0
Matthew Netsch [Thu, 8 Sep 2022 17:30:18 +0000 (17:30 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0

Change-Id: Id151a00583138c75f0ef53f559a3465dabcfdf6e

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8
Matthew Netsch [Thu, 8 Sep 2022 17:03:16 +0000 (17:03 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8

Change-Id: I58b46f7b755b5f731d3865d16b2e248eb0653501

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/vulkan-cts-1.2.7
Matthew Netsch [Thu, 8 Sep 2022 16:36:32 +0000 (16:36 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/vulkan-cts-1.2.7

Change-Id: Idcb4f9a2cb008e61fcfcd45aaed0e31be4cf8e1b

2 years agoFix wrong calculation to check diff between floats.
Hyunjun Ko [Fri, 2 Sep 2022 05:27:33 +0000 (14:27 +0900)]
Fix wrong calculation to check diff between floats.

Affects:
dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.*

Components: Vulkan

VK-GL-CTS issue: 3916

Change-Id: I05d2b7375c0bd34b6b7fffabbfe52969009ea218

2 years agoVK_EXT_pipeline_creation_feedback: Invalid feedback is legal
Chad Versace [Thu, 25 Aug 2022 20:27:53 +0000 (13:27 -0700)]
VK_EXT_pipeline_creation_feedback: Invalid feedback is legal

The tests incorrectly required that
VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT be set in
VkPipelineCreationFeedbackCreateInfo::pPipelineCreationFeedback.
However, the tests already and correctly permit the bit to be unset in
VkPipelineCreationFeedbackCreateInfo::pPipelineStageCreationFeedbacks.

The Vulkan 1.3.225 spec says:
    An implementation should write pipeline creation feedback to
    pPipelineCreationFeedback and may write pipeline stage creation
    feedback to pPipelineStageCreationFeedbacks. An implementation must
    set or clear the VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT in
    VkPipelineCreationFeedback::flags for pPipelineCreationFeedback and
    every element of pPipelineStageCreationFeedbacks.

Components: Vulkan
VK-GL-CTS Issue: 3912
Affects:
dEQP-VK.pipeline.creation_feedback.*

Signed-off-by: Chad Versace <chadversary@google.com>
Change-Id: I4eb37b5888a4d780b4b0b12f9c65960aca9f7806

2 years agoStay within the minimum required limit for maxUniformBufferRange
Andreas Flöjt [Tue, 14 Jun 2022 13:07:46 +0000 (15:07 +0200)]
Stay within the minimum required limit for maxUniformBufferRange

The biggest one was i64vec4 which consumed 128kB. Now it fits within the
16384 byte minimum supported buffer range.

Affects:
dEQP-VK.robustness.buffer_access.vertex.*
dEQP-VK.robustness.buffer_access.fragment.*
dEQP-VK.robustness.buffer_access.compute.*

Components: Vulkan

VK-GL-CTS issue: 3776

Change-Id: Ib71dce12a346bce79a9b719e227cd6ddfb0d64b6

2 years agoAdded missing android hardware buffer formats
Mohd Faisal [Wed, 10 Aug 2022 14:04:04 +0000 (15:04 +0100)]
Added missing android hardware buffer formats

Android hardware buffer formats are added in image compression
control test. Also, updated the test names.

Components: Vulkan
VK-GL-CTS issue: 3883

Affects:
dEQP-VK.api.image_compression_control.android_hardware_buffer.*

Change-Id: I39643d186200d63a81cff2eb244bbdf085954a03

2 years agoTest PGQ with disabled color output
Mika Väinölä [Tue, 24 May 2022 10:09:47 +0000 (13:09 +0300)]
Test PGQ with disabled color output

Add variants with empty fragment shaders, attachmentless render
passes and VK_EXT_color_write_enable with and without depth stencil
attachments to the same subgroup as the existing rasterizer discard
tests.

New tests:
dEQP-VK.transform_feedback.primitives_generated_query.*.empty_frag.*
dEQP-VK.transform_feedback.primitives_generated_query.*.no_attachment.*
dEQP-VK.transform_feedback.primitives_generated_query.*.color_write_disable_*

Affects:
dEQP-VK.transform_feedback.primitives_generated_query.*

Components: Vulkan

VK-GL-CTS issue: 2739

Change-Id: If1b6077290fddfcae704f4d0af14b82d0dde6d98

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main
Matthew Netsch [Thu, 8 Sep 2022 13:51:47 +0000 (13:51 +0000)]
Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main

Change-Id: I14e9d2f875ed566f4622dd347ecddd51856faea0

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3
Matthew Netsch [Wed, 7 Sep 2022 17:01:51 +0000 (10:01 -0700)]
Merge vk-gl-cts/vulkan-cts-1.3.2 into vk-gl-cts/vulkan-cts-1.3.3

Change-Id: I46fc9aef51fa742fdaf5159861d3f9f68326cf3d

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2
Matthew Netsch [Tue, 6 Sep 2022 19:25:57 +0000 (12:25 -0700)]
Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2

Change-Id: Iaf496a1c9317287562c43d586010ee9cbc744bc8

2 years agoMerge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1
Matthew Netsch [Tue, 6 Sep 2022 16:36:08 +0000 (09:36 -0700)]
Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1

Change-Id: Ib963ea274243454803090094d0ac61136ab8e998

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0
Matthew Netsch [Fri, 2 Sep 2022 23:55:34 +0000 (23:55 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0

Change-Id: Ibfc38c618b170dc12bcd04c2db36ed3e0e3b386a

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8
Matthew Netsch [Fri, 2 Sep 2022 23:26:36 +0000 (23:26 +0000)]
Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8

Change-Id: If2412675c25225c696d61dec802d76ed8001180e

2 years agoFix unsupported condition in memory requirements test
Sławomir Cygan [Mon, 22 Aug 2022 12:52:59 +0000 (14:52 +0200)]
Fix unsupported condition in memory requirements test

This fixes parantheses to not require VK_KHR_sampler_ycbcr_conversion
extension for non-YCbCr formats

VK-GL-CTS Issue: 3902

Affects: dEQP-VK.memory.requirements.*

Components: Vulkan
Change-Id: I17c58fb1f085e7d32dea9aceb2b9e421990499a5

2 years agoFix device_memory_report test
Piotr Byszewski [Thu, 21 Jul 2022 10:23:03 +0000 (12:23 +0200)]
Fix device_memory_report test

allocation_failed test for VK_EXT_device_memory_report attempts to
allocate UINT64_MAX bytes of memory in order to deliberately trigger
an allocation failure. However, vkAllocateMemory also has VU in which
allocationSize must be less than or equal to
VkPhysicalDeviceMemoryProperties::memoryHeaps[memindex].size .

VK-GL-CTS issue: 3775

Components: Vulkan

Affects:
dEQP-VK.memory.device_memory_report.vk_device_memory.allocation_failed

Change-Id: I0b9db1beb1e7b01d369d5ee6bbfb93c2eb3e1c97

2 years agoFix undefined behaviour by allowing NaNs
Marcin Kańtoch [Tue, 26 Jul 2022 15:25:41 +0000 (17:25 +0200)]
Fix undefined behaviour by allowing NaNs

One graphicsfuzz test contains computations with the float constant 0x1.8p+128.
This constant represents a NaN value. The computation with undef in the test
allows any optimization/triggers undefined behavior and the driver is free
to crash. Adding OpExecutionMode %4 SignedZeroInfNanPreserve 32 to the CTS fixes
this by allowing NaNs.

Affects:
dEQP-VK.graphicsfuzz.cov-instruction-simplify-atanh-log-undefined

Components: Vulkan

VK-GL-CTS issue: 3787

Change-Id: I2442bc4f50add8b8f779dbfae3c5fe2be8fd85f4

2 years agoMerge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/vulkan-cts-1.2.7
Matthew Netsch [Thu, 1 Sep 2022 23:48:42 +0000 (16:48 -0700)]
Merge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/vulkan-cts-1.2.7

Change-Id: Id9e93b66b2242c3b789e5742b84432c1ba8b355e

2 years agoRemove non-compliant event wait test
Aitor Camacho [Tue, 30 Aug 2022 15:40:50 +0000 (17:40 +0200)]
Remove non-compliant event wait test

Removed tests:
dEQP-VK.api.command_buffers.record_simul_use_primary
dEQP-VK.api.command_buffers.record_simul_use_secondary

Components: Vulkan

VK-GL-CTS issue: 3432

Change-Id: I297b53dcee56bec69e3abd3693639f64e462a574

2 years agoRework platform memory limits
Ilkka Saarelainen [Thu, 2 Dec 2021 05:45:44 +0000 (07:45 +0200)]
Rework platform memory limits

Some OpenGL tests in openglcts and kc_cts used Vulkan platform class to
get the available system / device memory. The memory limits are not
Vulkan related.

This CL moves the getMemoryLimits function to the base class of all
platforms, so the functions can be accessed from openglcts without
referencing any Vulkan files.

Affects:

dEQP-VK.info.memory_limits
dEQP-VK.api.buffer.suballocation.*
dEQP-VK.api.buffer.dedicated_alloc.*
dEQP-VK.api.object_management.*
dEQP-VK.memory.allocation.*
dEQP-VK.memory.device_group_allocation.*
dEQP-VK.pipeline.render_to_image.*.small.*
dEQP-VK.pipeline.render_to_image.*.huge.*

KHR-GL4*.shader_image_load_store.advanced-*

Components:
Vulkan, OpenGL, Framework

VK-GL-CTS issue: 3360

Change-Id: I0743a83148c946d962fd793c8771f2c3c2e33ecc

2 years agoUpdate structs and enums that were renamed in the latest spec
ziga-lunarg [Tue, 23 Aug 2022 13:48:06 +0000 (15:48 +0200)]
Update structs and enums that were renamed in the latest spec

Some structs and enums for the video extensions were renamed

Components: Vulkan

VK-GL-CTS issue: 3905

Affected tests:
dEQP-VK.api.buffer_memory_requirements.*
dEQP-VK.api.info.get_physical_device_properties2.features.rasterization_order_attachment_access_features_ext
dEQP-VK.api.info.get_physical_device_properties2.features.amigo_profiling_features_sec
dEQP-VK.api.info.get_physical_device_properties2.features.attachment_feedback_loop_layout_features_ext
dEQP-VK.api.device_init.create_device_unsupported_features.rasterization_order_attachment_access_features_ext
dEQP-VK.api.device_init.create_device_unsupported_features.amigo_profiling_features_sec
dEQP-VK.api.device_init.create_device_unsupported_features.attachment_feedback_loop_layout_features_ext

Change-Id: Ic2e4767d1c712345d19f8c2aa890d2c2fffe3993

2 years agoVK_EXT_pipeline_creation_feedback: Add indentation
Chad Versace [Thu, 25 Aug 2022 22:19:54 +0000 (15:19 -0700)]
VK_EXT_pipeline_creation_feedback: Add indentation

No change in behavior.

Add an indentation level to some code. This prepares for the next
commit, making its diff understandable.

Components: Vulkan

Change-Id: I31e5f706ca6f05b42682a862c740bc4953a91f9b

2 years agoMerge "Merge vk-gl-cts/opengl-es-cts-3.2.8 into vk-gl-cts/main" into main
Matthew Netsch [Mon, 29 Aug 2022 16:00:45 +0000 (16:00 +0000)]
Merge "Merge vk-gl-cts/opengl-es-cts-3.2.8 into vk-gl-cts/main" into main

2 years agoAdd dynamic rendering test for mixed inside/outside render pass commands
Aitor Camacho [Thu, 4 Aug 2022 13:13:16 +0000 (15:13 +0200)]
Add dynamic rendering test for mixed inside/outside render pass commands

New test:
dEQP-VK.dynamic_rendering.basic.secondary_cmdbuffer_out_of_rendering_commands

Components: Vulkan

VK-GL-CTS issue: 3394

Change-Id: Iafebdeab6e365e376be0cf0a85af46b94836b6ca

2 years agoTests for AMD_shader_early_and_late_fragment_tests
Arkadiusz Sarwa [Thu, 4 Nov 2021 13:57:40 +0000 (14:57 +0100)]
Tests for AMD_shader_early_and_late_fragment_tests

New tests:
dEQP-VK.fragment_operations.early_fragment.*early_and_late*
dEQP-VK.fragment_shading_rate.*.fragdepth_early_late.*
dEQP-VK.fragment_shading_rate.*.fragstencil_early_late.*
dEQP-VK.pipeline.*.op_replace_early_and_late
dEQP-VK.spirv_assembly.instruction.graphics.early_and_late_fragment.*
dEQP-VK.fragment_operations.early_fragment.*early_and_late*

Affected:
dEQP-VK.fragment_operations.early_fragment.*
dEQP-VK.fragment_shading_rate.*
dEQP-VK.pipeline.fast_linked_library.shader_stencil_export.*
dEQP-VK.pipeline.monolithic.shader_stencil_export.*
dEQP-VK.pipeline.pipeline_library.shader_stencil_export.*
dEQP-VK.spirv_assembly.instruction.graphics.*
dEQP-VK.fragment_operations.early_fragment.*

Components: Vulkan
VK-GL-CTS issue: 3866

Change-Id: I279310ed8be42c3a6cd4ed83febcb6a404752a1a

2 years agoMerge vk-gl-cts/opengl-es-cts-3.2.8 into vk-gl-cts/main
Matthew Netsch [Mon, 29 Aug 2022 15:10:22 +0000 (08:10 -0700)]
Merge vk-gl-cts/opengl-es-cts-3.2.8 into vk-gl-cts/main

Change-Id: I32263338d6ff1c7c9da96a1ed44cb418fbb27ada

2 years agoMerge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/opengl-es-cts-3.2.8
Matthew Netsch [Fri, 26 Aug 2022 16:56:32 +0000 (09:56 -0700)]
Merge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/opengl-es-cts-3.2.8

Change-Id: Ib61101e1c720a4f28429af20dba9554ad03dd94e

2 years agoMerge "Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main" into main
Matthew Netsch [Fri, 26 Aug 2022 15:40:40 +0000 (15:40 +0000)]
Merge "Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main" into main

2 years agoMerge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/opengl-es-cts-3.2.7
Matthew Netsch [Fri, 26 Aug 2022 15:23:22 +0000 (08:23 -0700)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/opengl-es-cts-3.2.7

Change-Id: Ia00eca74b753f1f88ac794c6d3664a769cfc2c6f