summaryrefslogtreecommitdiff
path: root/source/slang/slang-dxc-support.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-dxc-support.cpp')
-rw-r--r--source/slang/slang-dxc-support.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/slang/slang-dxc-support.cpp b/source/slang/slang-dxc-support.cpp
index 4fdb55e29..1bd4f101a 100644
--- a/source/slang/slang-dxc-support.cpp
+++ b/source/slang/slang-dxc-support.cpp
@@ -193,9 +193,7 @@ namespace Slang
args[argCount++] = L"-enable-16bit-types";
}
- List<Int> entryPointIndices2;
- entryPointIndices.add(entryPointIndex);
- const String sourcePath = calcSourcePathForEntryPoints(endToEndReq, entryPointIndices2);
+ const String sourcePath = calcSourcePathForEntryPoints(endToEndReq, entryPointIndices);
ComPtr<IDxcOperationResult> dxcResult;
SLANG_RETURN_ON_FAIL(dxcCompiler->Compile(dxcSourceBlob,