8. io mapping refine & qualifier member check & resolver expand (#2396)
* Code refine and adding missing features 1. Add new level for built in symbols. 2. Fix issues for structure members' qualifiers. 3. Global qualifier fix. 4. IO Mapper refine. Add support for checking with mangle names. * Additional missing features * Invariant member. (Only check non-interface). * Split block nesting level and struct nesting level. To fix issues of checking 'invariant' qualifier. Current grammar would check block/struct member without its parent class's information. So we split nesting level, and 'invariant' would only be checked within a struct. * Format anonymous block names. Refine codes for symbols from all kinds of resouces. * Fix writeonly check. * Use LValueBase to find operator. * Fix random null ptr issue. * invariant check, stage in io mapping, reference parameter should be used and remove wrong codes introduced with ordering vector. * Remained: to be fixed with double check link.vk.multiblocksValid * Fix version error. invariant * Revert loc modification.
This commit is contained in:
parent
d550bebee9
commit
478b232952
25 changed files with 565 additions and 149 deletions
|
|
@ -211,7 +211,7 @@ Shader version: 430
|
|||
Name 70 "BufferBlock"
|
||||
MemberName 70(BufferBlock) 0 "p"
|
||||
Name 72 "uBuf"
|
||||
Decorate 14(oColor) Location 4
|
||||
Decorate 14(oColor) Location 2
|
||||
MemberDecorate 16(ColorBlock) 0 Offset 0
|
||||
MemberDecorate 16(ColorBlock) 1 Offset 16
|
||||
MemberDecorate 16(ColorBlock) 2 Offset 32
|
||||
|
|
@ -224,7 +224,7 @@ Shader version: 430
|
|||
Decorate 28(uColorBuf) DescriptorSet 0
|
||||
Decorate 28(uColorBuf) Binding 0
|
||||
Decorate 32(Vertex) Block
|
||||
Decorate 34(oV) Location 2
|
||||
Decorate 34(oV) Location 0
|
||||
MemberDecorate 40(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 40(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 40(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue