summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer/debug-helper-functions.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-05-02 20:31:01 -0700
committerGitHub <noreply@github.com>2023-05-02 20:31:01 -0700
commitd87dd1dcfd0f13a6be1a2096d654f4d62044ad48 (patch)
treede66c29d7e87e010d0c827a735fd1ef3accac158 /tools/gfx/debug-layer/debug-helper-functions.cpp
parentd52376a65f37fcbbb67428b917fd3819436b6dfb (diff)
gfx: fix vulkan validation errors. (#2861)
* Fix VK validation errors when using vk1.2 features. * Fix vulkan validation errors. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer/debug-helper-functions.cpp')
-rw-r--r--tools/gfx/debug-layer/debug-helper-functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gfx/debug-layer/debug-helper-functions.cpp b/tools/gfx/debug-layer/debug-helper-functions.cpp
index e7c4e0246..e75d0a3c3 100644
--- a/tools/gfx/debug-layer/debug-helper-functions.cpp
+++ b/tools/gfx/debug-layer/debug-helper-functions.cpp
@@ -53,14 +53,14 @@ void validateAccelerationStructureBuildInputs(
case IAccelerationStructure::Kind::TopLevel:
if (!buildInputs.instanceDescs)
{
- GFX_DIAGNOSE_ERROR("IAccelerationStructure::BuildInputs::instanceDescs cannot be null "
+ GFX_DIAGNOSE_WARNING("IAccelerationStructure::BuildInputs::instanceDescs is null "
"when creating a top-level acceleration structure.");
}
break;
case IAccelerationStructure::Kind::BottomLevel:
if (!buildInputs.geometryDescs)
{
- GFX_DIAGNOSE_ERROR("IAccelerationStructure::BuildInputs::geometryDescs cannot be null "
+ GFX_DIAGNOSE_WARNING("IAccelerationStructure::BuildInputs::geometryDescs is null "
"when creating a bottom-level acceleration structure.");
}
for (int i = 0; i < buildInputs.descCount; i++)