Sign in
skia
/
skia
/
9f39daff8fd5e924afa750c2daf25fd16f107c2d
/
.
/
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
;
}