Test omitting blend state with unused attachments
authorPaavo Pessi <paavo.pessi@siru.fi>
Fri, 4 May 2018 12:26:40 +0000 (15:26 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 14 Jun 2018 14:05:13 +0000 (10:05 -0400)
commitda51b90532aa14454c32ec29f6907e54257f4168
treee4c27a7e2684c261800841f2a1eeb617b98f3e25
parentec5c8b926e4210ce1ebb8a774c43eb962a02f504
Test omitting blend state with unused attachments

This test creates a render pass with a single color attachment and two
subpasses. The first subpass uses the color attachment and creates a
graphics pipeline with a valid color blend state. The second subpass
sets the color attachment to VK_ATTACHMENT_UNUSED and creates a
graphics pipeline without a color blend state.

A new helper function was added for creating a graphics pipeline.

New tests:

dEQP-VK.renderpass.*.simple.color_unused_omit_blend_state

Components: Vulkan, Framework

VK-GL-CTS issue: 1115

Change-Id: I1d95dab7db5727ded22fe84aca5959110949f581
android/cts/master/vk-master.txt
external/vulkancts/framework/vulkan/vkObjUtil.cpp
external/vulkancts/framework/vulkan/vkObjUtil.hpp
external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp
external/vulkancts/mustpass/1.1.2/vk-default-no-waivers.txt
external/vulkancts/mustpass/1.1.2/vk-default.txt