Add new tests for VK_KHR_dynamic_rendering
authorArkadiusz Sarwa <arkadiusz.sarwa@amd.com>
Thu, 15 Apr 2021 15:31:15 +0000 (17:31 +0200)
committerPeter Kohaut <peter.kohaut@gmail.com>
Sun, 5 Sep 2021 22:10:17 +0000 (00:10 +0200)
commita787a87067e01d90408ebeaabff20b2305b14367
tree4589b78c4c7f7cec7767ce485b9274b575210d8c
parent3e721aa0b2fda65063423d7e70f94ad518297b75
Add new tests for VK_KHR_dynamic_rendering

Change testing:

Draw two triangles in a single primary command buffer,
beginning and ending the render pass instance

Draw two triangles in a single primary command buffer,
but across two render pass instances, with the second RESUMING first.

Draw two triangles in two primary command buffers,
across two render pass instances, with the second RESUMING the first.

Draw two triangles in two secondary command buffers,
across two render pass instances, with the second RESUMING the first,
both executed in the same primary command buffer.

Draw two triangles in two secondary command buffers,
across two render pass instances, with the second RESUMING the first,
executed in two primary command buffers.

Using CONTENTS_SECONDARY_COMMAND_BUFFER_BIT_KHR, draw two triangles in
one secondary command buffer, and execute it inside single render pass
instance in one primary command buffer.

Using CONTENTS_SECONDARY_COMMAND_BUFFER_BIT_KHR, draw two triangles in
two secondary command buffers, execute them inside a single render pass
instance in one primary command buffer.

Using CONTENTS_SECONDARY_COMMAND_BUFFER_BIT_KHR, draw two triangles in
two secondary command buffers, and execute them inside two render pass
instances, with the second RESUMING the first, both recorded in
the same primary command buffer.

Using CONTENTS_SECONDARY_COMMAND_BUFFER_BIT_KHR, draw two triangles in
two secondary command buffers, and execute them inside two render pass
instances, with second RESUMINGfirst, recorded into two primary
cmdbuffers.

New tests:
dEQP-VK.dynamic_rendering*

Components: Vulkan
VK-GL-CTS issue: 2858

Change-Id: I511b04022eaae8b0876a3733f3405eddba7309b1
18 files changed:
AndroidGen.mk
android/cts/master/vk-master-2021-03-01.txt
android/cts/master/vk-master-2021-03-01/dynamic-rendering.txt [new file with mode: 0644]
android/cts/master/vk-master.txt
android/cts/master/vk-master/dynamic-rendering.txt [new file with mode: 0644]
external/vulkancts/framework/vulkan/vkBasicTypes.inl
external/vulkancts/framework/vulkan/vkDeviceExtensions.inl
external/vulkancts/framework/vulkan/vkStrUtilImpl.inl
external/vulkancts/framework/vulkan/vkVulkan_c.inl
external/vulkancts/modules/vulkan/CMakeLists.txt
external/vulkancts/modules/vulkan/dynamic_rendering/CMakeLists.txt [new file with mode: 0644]
external/vulkancts/modules/vulkan/dynamic_rendering/vktDynamicRenderingTests.cpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/dynamic_rendering/vktDynamicRenderingTests.hpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/vktTestPackage.cpp
external/vulkancts/mustpass/master/vk-default.txt
external/vulkancts/mustpass/master/vk-default/dynamic-rendering.txt [new file with mode: 0644]
external/vulkancts/scripts/src/extensions_data.txt
external/vulkancts/scripts/src/vulkan_core.h