Sign in
skia
/
skia
/
b3aadd56d187b0f037ca99f981024feda7bdab69
/
.
/
resources
/
sksl
/
workarounds
/
RewriteMatrixVectorMultiply.sksl
blob: 85b3bd7db9d2dfdba491c9b298a47ad771a7f0f8 [
file
] [
log
] [
blame
]
/*#pragma settings RewriteMatrixVectorMultiply*/
uniform half4x4 testMatrix4x4
;
uniform half4 testValues
;
half4 main
()
{
half4x4 m44
=
half4x4
(
123
);
half4 v4
=
half4
(
0
,
1
,
2
,
3
);
return
(
m44
*
v4
)
+
(
testMatrix4x4
*
testValues
);
}