Fix issues in pipeline.timestamp.transfer_tests
[platform/upstream/VK-GL-CTS.git] / external / vulkancts / modules / vulkan / pipeline / vktPipelineClearUtil.hpp
1 #ifndef _VKTPIPELINECLEARUTIL_HPP
2 #define _VKTPIPELINECLEARUTIL_HPP
3 /*------------------------------------------------------------------------
4  * Vulkan Conformance Tests
5  * ------------------------
6  *
7  * Copyright (c) 2015 The Khronos Group Inc.
8  * Copyright (c) 2015 Imagination Technologies Ltd.
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  *      http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  *//*!
23  * \file
24  * \brief Utilities for clear values.
25  *//*--------------------------------------------------------------------*/
26
27 #include "tcuTexture.hpp"
28 #include "tcuVectorUtil.hpp"
29 #include "vkDefs.hpp"
30
31 namespace vkt
32 {
33 namespace pipeline
34 {
35
36 tcu::Vec4                                               defaultClearColor                               (const tcu::TextureFormat& format);
37 tcu::IVec4                                              defaultClearColorInt                    (const tcu::TextureFormat& format);
38 tcu::UVec4                                              defaultClearColorUint                   (const tcu::TextureFormat& format);
39 tcu::Vec4                                               defaultClearColorUnorm                  (void);
40 float                                                   defaultClearDepth                               (void);
41 deUint32                                                defaultClearStencil                             (void);
42
43 vk::VkClearDepthStencilValue    defaultClearDepthStencilValue   (void);
44 vk::VkClearValue                                defaultClearValue                               (vk::VkFormat format);
45
46 } // pipeline
47 } // vkt
48
49 #endif // _VKTPIPELINECLEARUTIL_HPP