Skip to content

Commit 6928393

Browse files
natevmjsmall-zzz
andauthored
enabling command line compiler to output PTX with multiple entry points. (shader-slang#1816)
Co-authored-by: jsmall-nvidia <jsmall@nvidia.com>
1 parent 599129d commit 6928393

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/slang/slang-options.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1611,6 +1611,7 @@ struct OptionsParser
16111611
switch (outputFormat)
16121612
{
16131613
case CodeGenTarget::CPPSource:
1614+
case CodeGenTarget::PTX:
16141615
rawOutput.isWholeProgram = true;
16151616
break;
16161617
default:

0 commit comments

Comments
 (0)