summaryrefslogtreecommitdiff
path: root/source/slang/lower-to-ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/lower-to-ir.cpp')
-rw-r--r--source/slang/lower-to-ir.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/slang/lower-to-ir.cpp b/source/slang/lower-to-ir.cpp
index af0664288..1e50c8aff 100644
--- a/source/slang/lower-to-ir.cpp
+++ b/source/slang/lower-to-ir.cpp
@@ -6212,13 +6212,13 @@ static void lowerProgramEntryPointToIR(
// We may have shader parameters of interface/existential type,
// which need us to supply concrete type information for specialization.
//
- auto existentialSlotCount = entryPoint->getExistentialSlotCount();
- if( existentialSlotCount )
+ auto existentialTypeArgCount = entryPoint->getExistentialTypeArgCount();
+ if( existentialTypeArgCount )
{
List<IRInst*> existentialSlotArgs;
- for( UInt ii = 0; ii < existentialSlotCount; ++ii )
+ for( UInt ii = 0; ii < existentialTypeArgCount; ++ii )
{
- auto arg = entryPoint->getExistentialSlotArg(ii);
+ auto arg = entryPoint->getExistentialTypeArg(ii);
auto irArgType = lowerType(context, arg.type);
auto irWitnessTable = lowerSimpleVal(context, arg.witness);
@@ -6442,13 +6442,13 @@ RefPtr<IRModule> generateIRForProgram(
// We may have shader parameters of interface/existential type,
// which need us to supply concrete type information for specialization.
//
- auto existentialSlotCount = program->getExistentialSlotCount();
- if( existentialSlotCount )
+ auto existentialTypeArgCount = program->getExistentialTypeArgCount();
+ if( existentialTypeArgCount )
{
List<IRInst*> existentialSlotArgs;
- for( UInt ii = 0; ii < existentialSlotCount; ++ii )
+ for( UInt ii = 0; ii < existentialTypeArgCount; ++ii )
{
- auto arg = program->getExistentialSlotArg(ii);
+ auto arg = program->getExistentialTypeArg(ii);
auto irArgType = lowerType(context, arg.type);
auto irWitnessTable = lowerSimpleVal(context, arg.witness);