skia2/resources/sksl/errors/SwizzleDomain.rts
John Stiles 6424dd02a8 Rename ES2 error tests starting with 'S' to .rts.
Change-Id: I1dd481ca47965e933a110a0f0a8ef7616deb034d
Bug: skia:13042
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/523417
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Arman Uguray <armansito@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2022-03-22 17:08:16 +00:00

45 lines
1.0 KiB
Plaintext

// Expect 16 errors
float4 v;
float4 xyra() { return v.xyra; }
float4 zxtq() { return v.zxtq; }
float4 wwRB() { return v.wwRB; }
float4 rgxy() { return v.rgxy; }
float4 bast() { return v.bast; }
float4 gbLT() { return v.gbLT; }
float4 sxyz() { return v.sxyz; }
float4 tpbb() { return v.tpbb; }
float4 qsTR() { return v.qsTR; }
float4 LTxy() { return v.LTxy; }
float4 TRba() { return v.TRba; }
float4 RBst() { return v.RBst; }
float4 xrsL() { return v.xrsL; }
float4 ygtT() { return v.ygtT; }
float4 zbpR() { return v.zbpR; }
float4 waqB() { return v.waqB; }
/*%%*
invalid swizzle mask 'xyra'
invalid swizzle mask 'zxtq'
invalid swizzle mask 'wwRB'
invalid swizzle mask 'rgxy'
invalid swizzle mask 'bast'
invalid swizzle mask 'gbLT'
invalid swizzle mask 'sxyz'
invalid swizzle mask 'tpbb'
invalid swizzle mask 'qsTR'
invalid swizzle mask 'LTxy'
invalid swizzle mask 'TRba'
invalid swizzle mask 'RBst'
invalid swizzle mask 'xrsL'
invalid swizzle mask 'ygtT'
invalid swizzle mask 'zbpR'
invalid swizzle mask 'waqB'
*%%*/