| // Copyright 2019-2021 The Khronos Group Inc. |
| // |
| // SPDX-License-Identifier: CC-BY-4.0 |
| |
| // Common Valid Usage |
| // Common to acceleration structure property query |
| * [[VUID-{refpage}-pAccelerationStructures-04964]] |
| All acceleration structures in pname:pAccelerationStructures must: have |
| been built prior to the execution of this command |
| * [[VUID-{refpage}-accelerationStructures-03431]] |
| All acceleration structures in pname:pAccelerationStructures must: have |
| been built with |
| ename:VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR if |
| pname:queryType is |
| ename:VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR |
| * [[VUID-{refpage}-queryType-03432]] |
| pname:queryType must: be |
| ename:VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR or |
| ename:VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR |
| // Common Valid Usage |