summaryrefslogtreecommitdiffstats
path: root/tools/render-test/options.cpp
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2025-02-05 21:00:12 -0800
committerGitHub <noreply@github.com>2025-02-05 21:00:12 -0800
commit3527f0975f671a693a0b7c59d80c6749c385b841 (patch)
treee02b26d4f380f6c6e43541d7a59f55c40876895a /tools/render-test/options.cpp
parentd8a8559a5baebb81361b15cf86d28c9e8019b177 (diff)
Enable D3D12 experimental feature to use coopvec (#6290)
This commit enables "D3D12-experimenta-feature" in render-test. This is required to use CoopVec feature with dxcompiler.dll. But it is enabled only when "-dx12-experimental" is used, because it appears that DX12 becomes unstable when the experimental feature is enabled, which causes bunch of tests randomly failing.
Diffstat (limited to 'tools/render-test/options.cpp')
-rw-r--r--tools/render-test/options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp
index ce438046a..11b291c68 100644
--- a/tools/render-test/options.cpp
+++ b/tools/render-test/options.cpp
@@ -253,6 +253,10 @@ static rhi::DeviceType _toRenderType(Slang::RenderApiType apiType)
{
outOptions.enableBackendValidation = true;
}
+ else if (argValue == "-dx12-experimental")
+ {
+ outOptions.dx12Experimental = true;
+ }
else
{
// Lookup