summaryrefslogtreecommitdiff
path: root/chapters/commonvalidity/build_acceleration_structure_common.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'chapters/commonvalidity/build_acceleration_structure_common.adoc')
-rw-r--r--chapters/commonvalidity/build_acceleration_structure_common.adoc23
1 files changed, 16 insertions, 7 deletions
diff --git a/chapters/commonvalidity/build_acceleration_structure_common.adoc b/chapters/commonvalidity/build_acceleration_structure_common.adoc
index 5b887841..1df7a13d 100644
--- a/chapters/commonvalidity/build_acceleration_structure_common.adoc
+++ b/chapters/commonvalidity/build_acceleration_structure_common.adoc
@@ -192,14 +192,23 @@
corresponding index value when pname:srcAccelerationStructure was last
built
* [[VUID-{refpage}-primitiveCount-03769]]
- For each sname:VkAccelerationStructureBuildRangeInfoKHR referenced by
- this command, its pname:primitiveCount member must: have the same value
- which was specified when pname:srcAccelerationStructure was last built
+ For each element of pname:pInfos, if its pname:mode member is
+ ename:VK_BUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR, then for each
+ sname:VkAccelerationStructureGeometryKHR structure referred to by its
+ pname:pGeometries or pname:ppGeometries members, the
+ pname:primitiveCount member of its corresponding
+ sname:VkAccelerationStructureBuildRangeInfoKHR structure must: have the
+ same value which was specified when pname:srcAccelerationStructure was
+ last built
* [[VUID-{refpage}-firstVertex-03770]]
- For each sname:VkAccelerationStructureBuildRangeInfoKHR referenced by
- this command, if the corresponding geometry uses indices, its
- pname:firstVertex member must: have the same value which was specified
- when pname:srcAccelerationStructure was last built
+ For each element of pname:pInfos, if its pname:mode member is
+ ename:VK_BUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR, then for each
+ sname:VkAccelerationStructureGeometryKHR structure referred to by its
+ pname:pGeometries or pname:ppGeometries members, if the geometry uses
+ indices, the pname:firstVertex member of its corresponding
+ sname:VkAccelerationStructureBuildRangeInfoKHR structure must: have the
+ same value which was specified when pname:srcAccelerationStructure was
+ last built
* [[VUID-{refpage}-pInfos-03801]]
For each element of pname:pInfos[i].pname:pGeometries or
pname:pInfos[i].pname:ppGeometries with a pname:geometryType of