1 #ifndef _VKTTESTCASEDEFS_HPP 2 #define _VKTTESTCASEDEFS_HPP 3 /*------------------------------------------------------------------------- 4 * Vulkan Conformance Tests 5 * ------------------------ 6 * 7 * Copyright (c) 2018 Google Inc. 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 Vulkan test case definitions 24 *//*--------------------------------------------------------------------*/ 25 26 namespace vkt 27 { 28 enum DeviceCoreFeature 29 { 30 DEVICE_CORE_FEATURE_ROBUST_BUFFER_ACCESS = 0, 31 DEVICE_CORE_FEATURE_FULL_DRAW_INDEX_UINT32 = 1, 32 DEVICE_CORE_FEATURE_IMAGE_CUBE_ARRAY = 2, 33 DEVICE_CORE_FEATURE_INDEPENDENT_BLEND = 3, 34 DEVICE_CORE_FEATURE_GEOMETRY_SHADER = 4, 35 DEVICE_CORE_FEATURE_TESSELLATION_SHADER = 5, 36 DEVICE_CORE_FEATURE_SAMPLE_RATE_SHADING = 6, 37 DEVICE_CORE_FEATURE_DUAL_SRC_BLEND = 7, 38 DEVICE_CORE_FEATURE_LOGIC_OP = 8, 39 DEVICE_CORE_FEATURE_MULTI_DRAW_INDIRECT = 9, 40 DEVICE_CORE_FEATURE_DRAW_INDIRECT_FIRST_INSTANCE = 10, 41 DEVICE_CORE_FEATURE_DEPTH_CLAMP = 11, 42 DEVICE_CORE_FEATURE_DEPTH_BIAS_CLAMP = 12, 43 DEVICE_CORE_FEATURE_FILL_MODE_NON_SOLID = 13, 44 DEVICE_CORE_FEATURE_DEPTH_BOUNDS = 14, 45 DEVICE_CORE_FEATURE_WIDE_LINES = 15, 46 DEVICE_CORE_FEATURE_LARGE_POINTS = 16, 47 DEVICE_CORE_FEATURE_ALPHA_TO_ONE = 17, 48 DEVICE_CORE_FEATURE_MULTI_VIEWPORT = 18, 49 DEVICE_CORE_FEATURE_SAMPLER_ANISOTROPY = 19, 50 DEVICE_CORE_FEATURE_TEXTURE_COMPRESSION_ETC2 = 20, 51 DEVICE_CORE_FEATURE_TEXTURE_COMPRESSION_ASTC_LDR = 21, 52 DEVICE_CORE_FEATURE_TEXTURE_COMPRESSION_BC = 22, 53 DEVICE_CORE_FEATURE_OCCLUSION_QUERY_PRECISE = 23, 54 DEVICE_CORE_FEATURE_PIPELINE_STATISTICS_QUERY = 24, 55 DEVICE_CORE_FEATURE_VERTEX_PIPELINE_STORES_AND_ATOMICS = 25, 56 DEVICE_CORE_FEATURE_FRAGMENT_STORES_AND_ATOMICS = 26, 57 DEVICE_CORE_FEATURE_SHADER_TESSELLATION_AND_GEOMETRY_POINT_SIZE = 27, 58 DEVICE_CORE_FEATURE_SHADER_IMAGE_GATHER_EXTENDED = 28, 59 DEVICE_CORE_FEATURE_SHADER_STORAGE_IMAGE_EXTENDED_FORMATS = 29, 60 DEVICE_CORE_FEATURE_SHADER_STORAGE_IMAGE_MULTISAMPLE = 30, 61 DEVICE_CORE_FEATURE_SHADER_STORAGE_IMAGE_READ_WITHOUT_FORMAT = 31, 62 DEVICE_CORE_FEATURE_SHADER_STORAGE_IMAGE_WRITE_WITHOUT_FORMAT = 32, 63 DEVICE_CORE_FEATURE_SHADER_UNIFORM_BUFFER_ARRAY_DYNAMIC_INDEXING = 33, 64 DEVICE_CORE_FEATURE_SHADER_SAMPLED_IMAGE_ARRAY_DYNAMIC_INDEXING = 34, 65 DEVICE_CORE_FEATURE_SHADER_STORAGE_BUFFER_ARRAY_DYNAMIC_INDEXING = 35, 66 DEVICE_CORE_FEATURE_SHADER_STORAGE_IMAGE_ARRAY_DYNAMIC_INDEXING = 36, 67 DEVICE_CORE_FEATURE_SHADER_CLIP_DISTANCE = 37, 68 DEVICE_CORE_FEATURE_SHADER_CULL_DISTANCE = 38, 69 DEVICE_CORE_FEATURE_SHADER_FLOAT64 = 39, 70 DEVICE_CORE_FEATURE_SHADER_INT64 = 40, 71 DEVICE_CORE_FEATURE_SHADER_INT16 = 41, 72 DEVICE_CORE_FEATURE_SHADER_RESOURCE_RESIDENCY = 42, 73 DEVICE_CORE_FEATURE_SHADER_RESOURCE_MIN_LOD = 43, 74 DEVICE_CORE_FEATURE_SPARSE_BINDING = 44, 75 DEVICE_CORE_FEATURE_SPARSE_RESIDENCY_BUFFER = 45, 76 DEVICE_CORE_FEATURE_SPARSE_RESIDENCY_IMAGE2D = 46, 77 DEVICE_CORE_FEATURE_SPARSE_RESIDENCY_IMAGE3D = 47, 78 DEVICE_CORE_FEATURE_SPARSE_RESIDENCY2_SAMPLES = 48, 79 DEVICE_CORE_FEATURE_SPARSE_RESIDENCY4_SAMPLES = 49, 80 DEVICE_CORE_FEATURE_SPARSE_RESIDENCY8_SAMPLES = 50, 81 DEVICE_CORE_FEATURE_SPARSE_RESIDENCY16_SAMPLES = 51, 82 DEVICE_CORE_FEATURE_SPARSE_RESIDENCY_ALIASED = 52, 83 DEVICE_CORE_FEATURE_VARIABLE_MULTISAMPLE_RATE = 53, 84 DEVICE_CORE_FEATURE_INHERITED_QUERIES = 54, 85 }; 86 87 } // vkt 88 89 #endif // _VKTTESTCASEDEFS_HPP 90