Skip to content

Commit 91d05ea

Browse files
layers: Add comment for future OMM (#11789)
1 parent c363aa3 commit 91d05ea

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

layers/stateless/sl_ray_tracing_micromap.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ bool Device::manual_PreCallValidateCmdBuildMicromapsEXT(VkCommandBuffer commandB
7777
}
7878

7979
if (info.triangleArray.deviceAddress == 0) {
80+
// TODO - This needs to be in CoreChecks and use cc_buffer_address.cpp
8081
skip |= LogError("VUID-vkCmdBuildMicromapsEXT-pInfos-10897", device,
8182
info_loc.dot(Field::triangleArray).dot(Field::deviceAddress), "is NULL.");
8283
} else if (!IsPointerAligned(info.triangleArray.deviceAddress, 256)) {
@@ -86,6 +87,7 @@ bool Device::manual_PreCallValidateCmdBuildMicromapsEXT(VkCommandBuffer commandB
8687
}
8788

8889
if (info.data.deviceAddress == 0) {
90+
// TODO - This needs to be in CoreChecks and use cc_buffer_address.cpp
8991
skip |= LogError("VUID-vkCmdBuildMicromapsEXT-pInfos-10896", device,
9092
info_loc.dot(Field::data).dot(Field::deviceAddress), "is NULL.");
9193
} else if (!IsPointerAligned(info.data.deviceAddress, 256)) {

0 commit comments

Comments
 (0)