1 #ifndef _VKTIMAGESAMPLECOMPRESSEDTEXTURETESTS_HPP 2 #define _VKTIMAGESAMPLECOMPRESSEDTEXTURETESTS_HPP 3 /*------------------------------------------------------------------------ 4 * Vulkan Conformance Tests 5 * ------------------------ 6 * 7 * Copyright (c) 2021 Google LLC. 8 * 9 * Licensed under the Apache License, Version 2.0 (the "License"); 10 * you may not use this file except in compliance with the License. 11 * You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, software 16 * distributed under the License is distributed on an "AS IS" BASIS, 17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 * See the License for the specific language governing permissions and 19 * limitations under the License. 20 * 21 *//*! 22 * \file 23 * \brief Tests that images using a block-compressed format are sampled 24 * correctly 25 * 26 * These tests create a storage image using a 128-bit or a 64-bit 27 * block-compressed image format and an ImageView using an uncompressed 28 * format. Each test case then fills the storage image with compressed 29 * color values in a compute shader and samples the storage image. If the 30 * sampled values are pure blue, the test passes. 31 *//*--------------------------------------------------------------------*/ 32 33 #include "tcuDefs.hpp" 34 #include "vktTestCase.hpp" 35 36 namespace vkt 37 { 38 namespace image 39 { 40 41 tcu::TestCaseGroup* createImageSampleDrawnTextureTests (tcu::TestContext& testCtx); 42 43 } // image 44 } // vkt 45 46 #endif // _VKTIMAGESAMPLECOMPRESSEDTEXTURETESTS_HPP 47