Sign in
skia
/
skia
/
be82005209c06840f0d5b13156d160a3e0efe702
/
.
/
tests
/
sksl
/
workarounds
/
RewriteMatrixVectorMultiply.glsl
blob: c68fa0b8d2e690e38d34a35f0c91bea46b7a9af7 [
file
] [
log
] [
blame
]
#version 400
out
vec4 sk_FragColor
;
vec4 main
()
{
mat4 m44
=
mat4
(
123.0
);
vec4 v4
=
vec4
(
0.0
,
1.0
,
2.0
,
3.0
);
return
((
m44
[
0
]
*
v4
.
x
+
m44
[
1
]
*
v4
.
y
)
+
m44
[
2
]
*
v4
.
z
)
+
m44
[
3
]
*
v4
.
w
;
}