summaryrefslogtreecommitdiffstats
path: root/tools/render-test/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/options.cpp')
-rw-r--r--tools/render-test/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp
index e0b38bf31..ed6c6a3c6 100644
--- a/tools/render-test/options.cpp
+++ b/tools/render-test/options.cpp
@@ -249,9 +249,9 @@ static rhi::DeviceType _toRenderType(Slang::RenderApiType apiType)
{
SLANG_RETURN_ON_FAIL(reader.expectArg(outOptions.entryPointName));
}
- else if (argValue == "-enable-backend-validation")
+ else if (argValue == "-enable-debug-layers")
{
- outOptions.enableBackendValidation = true;
+ outOptions.enableDebugLayers = true;
}
else if (argValue == "-dx12-experimental")
{