From 5c153295205d2d5d6340f3d569a550f4697946c5 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Wed, 1 Jul 2020 14:20:42 -0400 Subject: Fix bug in slang-dxc-support where it didn't get the source path correctly (#1420) * Fix handling of UniformState from #1396 * * Fix bug in slang-dxc-support where it didn't get the source path correctly * Make entryPointIndices const List& --- source/slang/slang-dxc-support.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/slang/slang-dxc-support.cpp') 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 entryPointIndices2; - entryPointIndices.add(entryPointIndex); - const String sourcePath = calcSourcePathForEntryPoints(endToEndReq, entryPointIndices2); + const String sourcePath = calcSourcePathForEntryPoints(endToEndReq, entryPointIndices); ComPtr dxcResult; SLANG_RETURN_ON_FAIL(dxcCompiler->Compile(dxcSourceBlob, -- cgit v1.2.3