Fixed that the passed resolver wasn't actually used.
This commit is contained in:
parent
bb2d06b0a3
commit
41137b6df3
@ -1430,7 +1430,11 @@ bool TIoMapper::addStage(EShLanguage stage, TIntermediate& intermediate, TInfoSi
|
||||
resolver = &defaultResolver;
|
||||
}
|
||||
#else
|
||||
resolver = &defaultResolver;
|
||||
// BEGIN @MEWIN - 2023-11-25 - Fixed that the passed resolver wasn't actually used.
|
||||
if (resolver == nullptr) {
|
||||
resolver = &defaultResolver;
|
||||
}
|
||||
// END @MEWIN
|
||||
#endif
|
||||
resolver->addStage(stage, intermediate);
|
||||
|
||||
|
@ -54,11 +54,11 @@ struct TVarEntryInfo { // @MEWIN - 2022-12-08 - Added initializers to fix compil
|
||||
TIntermSymbol* symbol = nullptr;
|
||||
bool live = false;
|
||||
bool upgradedToPushConstant = false;
|
||||
int newBinding = 0;
|
||||
int newSet = 0;
|
||||
int newLocation = 0;
|
||||
int newComponent = 0;
|
||||
int newIndex = 0;
|
||||
int newBinding = -1;
|
||||
int newSet = -1;
|
||||
int newLocation = -1;
|
||||
int newComponent = -1;
|
||||
int newIndex = -1;
|
||||
EShLanguage stage = EShLangVertex;
|
||||
|
||||
void clearNewAssignments() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user