Fix bug of accidentally overriding initial layout location with 0, which does not mean no location. Added in/out structure tests.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22120 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
211cba242b
commit
b29ba33089
4 changed files with 24 additions and 4 deletions
|
|
@ -84,13 +84,10 @@ TParseContext::TParseContext(TSymbolTable& symt, TIntermediate& interm, int v, E
|
|||
globalUniformDefaults.clear();
|
||||
globalUniformDefaults.layoutMatrix = ElmColumnMajor;
|
||||
globalUniformDefaults.layoutPacking = ElpShared;
|
||||
globalUniformDefaults.layoutSlotLocation = 0;
|
||||
|
||||
globalInputDefaults.clear();
|
||||
globalInputDefaults.layoutSlotLocation = 0;
|
||||
|
||||
globalOutputDefaults.clear();
|
||||
globalOutputDefaults.layoutSlotLocation = 0;
|
||||
}
|
||||
|
||||
// Get code that is not part of a shared symbol table, specific to this shader
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue