Skip to content

Commit

Permalink
layers: Add RTX Implicit VUID
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-lunarg authored and arno-lunarg committed Jul 23, 2024
1 parent 84d70cb commit 27a8c7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layers/stateless/sl_ray_tracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,8 @@ bool StatelessValidation::ValidateAccelerationStructureBuildGeometryInfoKHR(cons
"VUID-VkAccelerationStructureGeometryTrianglesDataKHR-sType-sType");
skip |= ValidateStructPnext(geometry_loc.dot(Field::geometry).dot(Field::triangles), geom.geometry.triangles.pNext,
allowed_structs.size(), allowed_structs.data(), GeneratedVulkanHeaderVersion,
"VUID-VkAccelerationStructureGeometryTrianglesDataKHR-pNext-pNext", kVUIDUndefined);
"VUID-VkAccelerationStructureGeometryTrianglesDataKHR-pNext-pNext",
"VUID-VkAccelerationStructureGeometryTrianglesDataKHR-sType-unique");
skip |= ValidateRangedEnum(geometry_loc.dot(Field::geometry).dot(Field::triangles).dot(Field::vertexFormat),
vvl::Enum::VkFormat, geom.geometry.triangles.vertexFormat,
"VUID-VkAccelerationStructureGeometryTrianglesDataKHR-vertexFormat-parameter");
Expand Down

0 comments on commit 27a8c7a

Please sign in to comment.