File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -2397,24 +2397,19 @@ static void consolidateParameters(
2397
2397
fieldPtrType = builder->getPtrType (kIROp_InOutType , fieldType);
2398
2398
}
2399
2399
2400
- auto fieldAddr = builder->emitFieldAddress (
2401
- fieldPtrType,
2402
- consolidatedVar,
2403
- targetField->getKey ());
2400
+ auto fieldAddr =
2401
+ builder->emitFieldAddress (fieldPtrType, consolidatedVar, targetField->getKey ());
2404
2402
2405
2403
// Replace parameter uses with field address
2406
2404
_param->replaceUsesWith (fieldAddr);
2407
2405
}
2408
2406
}
2409
2407
2410
- static void handleMultipleParams (
2411
- GLSLLegalizationContext* context,
2412
- IRFunc* func,
2413
- IRParam* pp)
2408
+ static void handleMultipleParams (GLSLLegalizationContext* context, IRFunc* func, IRParam* pp)
2414
2409
{
2415
2410
auto firstBlock = func->getFirstBlock ();
2416
2411
2417
- // Now we run the consolidation step, but if we've already
2412
+ // Now we run the consolidation step, but if we've already
2418
2413
// processed this parameter, skip it.
2419
2414
List<IRParam*>* processedParams = nullptr ;
2420
2415
if (auto foundList = context->rayTracingProcessedParams .tryGetValue (func))
You can’t perform that action at this time.
0 commit comments