Sign in
skia
/
skia
/
eb8a53033e88618cd56bfa3ed1c5a381180d5296
/
.
/
resources
/
sksl
/
wgsl
/
InterfaceBlockUniforms.sksl
blob: f61f89d14da7d938ac3dcf207bdce3b3bdcb7d16 [
file
] [
log
] [
blame
]
layout
(
set
=
12
,
binding
=
34
)
uniform
UniformBuffer
{
layout
(
offset
=
0
)
half2x2 m1
;
layout
(
offset
=
32
)
half2x2 m2
;
};
void
main
()
{
sk_FragColor
=
half4
(
m1
[
0
][
0
],
m1
[
1
][
1
],
m2
[
0
][
0
],
m2
[
1
][
1
]);
}