HLSL: Add EOpMatrixSwizzle, selectively decomposed to other ops, for issue #670.
Since EOpMatrixSwizzle is a new op, existing back-ends only work when the front end first decomposes it to other operations. So far, this is only being done for simple assignment into matrix swizzles.
This commit is contained in:
parent
001dfa1c5c
commit
fdf6347f0a
12 changed files with 907 additions and 116 deletions
|
|
@ -275,6 +275,7 @@ public:
|
|||
TIntermBranch* addBranch(TOperator, const TSourceLoc&);
|
||||
TIntermBranch* addBranch(TOperator, TIntermTyped*, const TSourceLoc&);
|
||||
TIntermTyped* addSwizzle(TVectorFields&, const TSourceLoc&);
|
||||
TIntermTyped* addSwizzle(TMatrixComponents&, const TSourceLoc&);
|
||||
|
||||
// Low level functions to add nodes (no conversions or other higher level transformations)
|
||||
// If a type is provided, the node's type will be set to it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue