Fix #2227, which was coded incorrectly, to be simpler/safer.
This commit is contained in:
parent
9514c6be66
commit
2e0f0a0517
2 changed files with 15 additions and 19 deletions
|
|
@ -203,7 +203,7 @@ public:
|
|||
void endCollect(EShLanguage) override;
|
||||
void reserverStorageSlot(TVarEntryInfo& ent, TInfoSink& infoSink) override;
|
||||
void reserverResourceSlot(TVarEntryInfo& ent, TInfoSink& infoSink) override;
|
||||
TString& getAccessName(const TIntermSymbol*);
|
||||
const TString& getAccessName(const TIntermSymbol*);
|
||||
// in/out symbol and uniform symbol are stored in the same resourceSlotMap, the storage key is used to identify each type of symbol.
|
||||
// We use stage and storage qualifier to construct a storage key. it can help us identify the same storage resource used in different stage.
|
||||
// if a resource is a program resource and we don't need know it usage stage, we can use same stage to build storage key.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue