aboutsummaryrefslogtreecommitdiff
path: root/resources/sksl/errors/SwizzleMatrix.rts
diff options
context:
space:
mode:
Diffstat (limited to 'resources/sksl/errors/SwizzleMatrix.rts')
-rw-r--r--resources/sksl/errors/SwizzleMatrix.rts8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/sksl/errors/SwizzleMatrix.rts b/resources/sksl/errors/SwizzleMatrix.rts
new file mode 100644
index 0000000000..4c6e0d528d
--- /dev/null
+++ b/resources/sksl/errors/SwizzleMatrix.rts
@@ -0,0 +1,8 @@
+void func() {
+ float2x2 x = float2x2(1);
+ float y = x.y;
+}
+
+/*%%*
+type 'float2x2' does not have a field named 'y'
+*%%*/