Skip to content

Commit

Permalink
layers: Remove old NV Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-lunarg committed Feb 18, 2025
1 parent 3807279 commit 630de72
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions layers/core_checks/cc_ray_tracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1266,13 +1266,6 @@ bool CoreChecks::PreCallValidateCmdBuildAccelerationStructureNV(VkCommandBuffer
"VkAccelerationStructureInfoNV::flags.");
}
}
if (dst_as_state && !dst_as_state->update_scratch_memory_requirements_checked) {
skip |= LogWarning("WARNING-vkCmdBuildAccelerationStructureNV-update-requirements", dst, error_obj.location,
"Updating %s but vkGetAccelerationStructureMemoryRequirementsNV() "
"has not been called for update scratch memory.",
FormatHandle(dst_as_state->Handle()).c_str());
// Use requirements fetched at create time
}
if (scratch_buffer_state && dst_as_state &&
dst_as_state->update_scratch_memory_requirements.size > (scratch_buffer_state->create_info.size - scratchOffset)) {
skip |= LogError("VUID-vkCmdBuildAccelerationStructureNV-update-02492", commandBuffer, error_obj.location,
Expand All @@ -1285,13 +1278,6 @@ bool CoreChecks::PreCallValidateCmdBuildAccelerationStructureNV(VkCommandBuffer
"or equal to the size of scratch minus scratchOffset");
}
} else {
if (dst_as_state && !dst_as_state->build_scratch_memory_requirements_checked) {
skip |= LogWarning("WARNING-vkCmdBuildAccelerationStructureNV-scratch-requirements", dst, error_obj.location,
"Assigning scratch buffer to %s but "
"vkGetAccelerationStructureMemoryRequirementsNV() has not been called for scratch memory.",
FormatHandle(dst_as_state->Handle()).c_str());
// Use requirements fetched at create time
}
if (scratch_buffer_state && dst_as_state &&
dst_as_state->build_scratch_memory_requirements.size > (scratch_buffer_state->create_info.size - scratchOffset)) {
skip |= LogError("VUID-vkCmdBuildAccelerationStructureNV-update-02491", commandBuffer, error_obj.location,
Expand Down

0 comments on commit 630de72

Please sign in to comment.