New nonuniform analysis (#2457)
This implements a new nonunifom analysis suggested by @jbolz. This change generates nonUniform decorations that were previously missing and avoids generation of incorrect decorations. Most notably, it now generates decorations for nonuniform functions and out params. It avoids generating decorations for lvalues which themselves are not nonuniform.
This commit is contained in:
parent
74e8f05b9f
commit
639f5461e3
6 changed files with 496 additions and 373 deletions
|
|
@ -23,6 +23,7 @@ spv.nonuniform4.frag
|
|||
Decorate 13(rIndex) Flat
|
||||
Decorate 13(rIndex) Location 3
|
||||
Decorate 15 DecorationNonUniformEXT
|
||||
Decorate 17 DecorationNonUniformEXT
|
||||
Decorate 21 DecorationNonUniformEXT
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue