summaryrefslogtreecommitdiffstats
path: root/tools/slang-test/options.cpp
diff options
context:
space:
mode:
authorHarsh Aggarwal (NVIDIA) <haaggarwal@nvidia.com>2025-04-04 12:27:08 +0530
committerGitHub <noreply@github.com>2025-04-04 06:57:08 +0000
commit4233d69cf88f1623cb573c8edb61456b24dc5339 (patch)
treedcb63bfd59b9e6b9f100242de0fb89ceadf874ee /tools/slang-test/options.cpp
parentdf7c66be49822d650f8956662b16db49bae31d09 (diff)
fix(d3d11): correct parameter in VSSetConstantBuffers1 from uavCount … (#6690)
* fix(d3d11): correct parameter in VSSetConstantBuffers1 from uavCount to cbvCount (fixes #6531) Root cause - Incorrect parameter passing in slang-rhi 1. slang-rhi #281 - Add the correct cbvCount for setting Constant Buffer 2. Prevent render tests from overwriting reference images * Add missing tests/render/multiple-stage-io-locations.slang.3.expected.png * Add more expected images from texture2d-gather * Add new option: skipReferenceImageGeneration For Github CI we set this to true - So we don't overwrite the expected images --------- Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com>
Diffstat (limited to 'tools/slang-test/options.cpp')
-rw-r--r--tools/slang-test/options.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/slang-test/options.cpp b/tools/slang-test/options.cpp
index d12a9bf30..da8702031 100644
--- a/tools/slang-test/options.cpp
+++ b/tools/slang-test/options.cpp
@@ -81,6 +81,7 @@ static bool _isSubCommand(const char* arg)
" -server-count <n> Set number of test servers (default: 1)\n"
" -show-adapter-info Show detailed adapter information\n"
" -generate-hlsl-baselines Generate HLSL test baselines\n"
+ " -skip-reference-image-generation Skip generating reference images for render tests\n"
" -emit-spirv-via-glsl Emit SPIR-V through GLSL instead of directly\n"
" -expected-failure-list <file> Specify file containing expected failures\n"
" -use-shared-library Run tests in-process using shared library\n"
@@ -390,6 +391,10 @@ static bool _isSubCommand(const char* arg)
{
optionsOut->showAdapterInfo = true;
}
+ else if (strcmp(arg, "-skip-reference-image-generation") == 0)
+ {
+ optionsOut->skipReferenceImageGeneration = true;
+ }
else
{
stdError.print("unknown option '%s'\n", arg);