diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2020-04-10 14:15:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-10 14:15:08 -0700 |
| commit | 4a5c6063b17e33e2716e6c3013776807e552eba3 (patch) | |
| tree | 1be42e5ed33a77e5b424d3d788632847b1f6f3b1 /tools/render-test/render-test-main.cpp | |
| parent | 2d16fcd4377fb4b0f350e1c12afc6002368499dc (diff) | |
Fix CUDA build of render-test (#1316)
The CUDA build of the render-test tool had been broken in a fixup change to #1307 (which was ostensibly adding features for the CUDA path). The fix is a simple one-liner.
Diffstat (limited to 'tools/render-test/render-test-main.cpp')
| -rw-r--r-- | tools/render-test/render-test-main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/render-test/render-test-main.cpp b/tools/render-test/render-test-main.cpp index f966d150e..7efea40f9 100644 --- a/tools/render-test/render-test-main.cpp +++ b/tools/render-test/render-test-main.cpp @@ -644,7 +644,7 @@ static SlangResult _innerMain(Slang::StdWriters* stdWriters, SlangSession* sessi } ShaderCompilerUtil::OutputAndLayout compilationAndLayout; - SLANG_RETURN_ON_FAIL(ShaderCompilerUtil::compileWithLayout(session, gOptions.sourcePath, gOptions.compileArgs, gOptions.shaderType, input, compilationAndLayout)); + SLANG_RETURN_ON_FAIL(ShaderCompilerUtil::compileWithLayout(session, gOptions, input, compilationAndLayout)); const uint64_t startTicks = ProcessUtil::getClockTick(); |
