SPV: Support simultaneous l-value swizzle and dynamic component selection.

This commit is contained in:
Rex Xu
2016-09-14 14:43:21 +08:00
parent deb4940c17
commit 64b9743ce0
3 changed files with 111 additions and 95 deletions

View File

@@ -71,7 +71,7 @@ void GetColor12(const S i, int comp)
void GetColor13(const S i, int comp)
{
// OutColor.zy[comp] += i.color.x; // not yet supported
OutColor.zy[comp] += i.color.x;
}
void main()