diff options
Diffstat (limited to 'source/slang/emit.h')
| -rw-r--r-- | source/slang/emit.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/slang/emit.h b/source/slang/emit.h index 5d546bdf4..e17a84d5a 100644 --- a/source/slang/emit.h +++ b/source/slang/emit.h @@ -22,6 +22,12 @@ namespace Slang String emitEntryPoint( EntryPointRequest* entryPoint, ProgramLayout* programLayout, - CodeGenTarget target); + + // The target language to generate code in (e.g., HLSL/GLSL) + CodeGenTarget target, + + // The "final" target that we are being asked to compile for + // (e.g., SPIR-V, DXBC, ...). + CodeGenTarget finalTarget); } #endif |
