SPV: Create more access chains addressing a few swizzling issues.
- Fixes #1233 - Treats local bools like anything else - more consistently deals with a dynamic component selection
This commit is contained in:
parent
2651ccaec8
commit
5c3eed542d
8 changed files with 764 additions and 716 deletions
|
|
@ -74,6 +74,11 @@ void GetColor13(const S i, int comp)
|
|||
OutColor.zy[comp] += i.color.x;
|
||||
}
|
||||
|
||||
void GetColor14(const S i, int comp)
|
||||
{
|
||||
OutColor.zyx[comp] = i.color.x;
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
S s;
|
||||
|
|
@ -91,4 +96,5 @@ void main()
|
|||
GetColor11(s, u);
|
||||
GetColor12(s, u);
|
||||
GetColor13(s, u);
|
||||
GetColor14(s, u);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue