#ifndef _VKTRENDERPASSGROUPPARAMS_HPP #define _VKTRENDERPASSGROUPPARAMS_HPP /*------------------------------------------------------------------------ * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2022 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * *//*! * \file * \brief Structure with parameters shared by all tests in 'renderpass' group. *//*--------------------------------------------------------------------*/ #include "deSharedPtr.hpp" namespace vkt { namespace renderpass { enum RenderingType { RENDERING_TYPE_RENDERPASS_LEGACY = 0, RENDERING_TYPE_RENDERPASS2, RENDERING_TYPE_DYNAMIC_RENDERING }; enum SynchronizationType { SYNCHRONIZATION_TYPE_LEGACY = 0, SYNCHRONIZATION_TYPE_SYNCHRONIZATION2, }; // Structure containing parameters for all tests in renderpass group struct GroupParams { // Specifies type of renderpass. RenderingType renderingType; // When this flag is true then secondary command buffer is created in test bool useSecondaryCmdBuffer; // When true begin/endRendering is in secondary command buffer, when false those // commands are recorded to primary command buffer. This flag is checked only when // useSecondaryCmdBuffer is true. bool secondaryCmdBufferCompletelyContainsDynamicRenderpass; }; typedef de::SharedPtr SharedGroupParams; } // renderpass } // vkt #endif // _VKTRENDERPASSGROUPPARAMS_HPP