summaryrefslogtreecommitdiff
path: root/source/slang/lower.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-20 10:13:54 -0700
committerGitHub <noreply@github.com>2017-07-20 10:13:54 -0700
commitb8478a457b7d26d497109d9a0a992dbc198eb47a (patch)
tree5ed8f2cdebc6fb29e76048d920fa41c27b27f7d9 /source/slang/lower.h
parentf07c01ceb012b9b325a8ecebd12cdd5797d8d5b3 (diff)
parent76dca35b3fabbe77d4c01640423bdf5ce93d27d4 (diff)
Merge pull request #129 from tfoleyNV/single-pass-stereo-ext
Translate NV single-pass stereo extension from Slang to GLSL
Diffstat (limited to 'source/slang/lower.h')
-rw-r--r--source/slang/lower.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/slang/lower.h b/source/slang/lower.h
index c690ea025..688c1df8f 100644
--- a/source/slang/lower.h
+++ b/source/slang/lower.h
@@ -17,6 +17,8 @@ namespace Slang
class ProgramLayout;
class TranslationUnitRequest;
+ struct ExtensionUsageTracker;
+
struct LoweredEntryPoint
{
// The actual lowered entry point
@@ -31,8 +33,9 @@ namespace Slang
// Emit code for a single entry point, based on
// the input translation unit.
LoweredEntryPoint lowerEntryPoint(
- EntryPointRequest* entryPoint,
- ProgramLayout* programLayout,
- CodeGenTarget target);
+ EntryPointRequest* entryPoint,
+ ProgramLayout* programLayout,
+ CodeGenTarget target,
+ ExtensionUsageTracker* extensionUsageTracker);
}
#endif