1 #ifndef _VKTPIPELINECLEARUTIL_HPP
2 #define _VKTPIPELINECLEARUTIL_HPP
3 /*------------------------------------------------------------------------
4 * Vulkan Conformance Tests
5 * ------------------------
7 * Copyright (c) 2015 The Khronos Group Inc.
8 * Copyright (c) 2015 Imagination Technologies Ltd.
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
14 * http://www.apache.org/licenses/LICENSE-2.0
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.
24 * \brief Utilities for clear values.
25 *//*--------------------------------------------------------------------*/
27 #include "tcuTexture.hpp"
28 #include "tcuVectorUtil.hpp"
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);
43 vk::VkClearDepthStencilValue defaultClearDepthStencilValue (void);
44 vk::VkClearValue defaultClearValue (vk::VkFormat format);
49 #endif // _VKTPIPELINECLEARUTIL_HPP