Sign in
skia
/
skia
/
7e33d95f4f881f7d304ea81db39d20be4dab4416
/
.
/
resources
/
sksl
/
spirv
/
InterfaceBlockPushConstant.sksl
blob: 2629617f889610a216e3567918cda90cf7309dcf [
file
] [
log
] [
blame
]
layout
(
push_constant
,
binding
=
456
)
uniform testBlock
{
layout
(
offset
=
16
)
half2x2 m1
;
layout
(
offset
=
32
)
half2x2 m2
;
};
void
main
()
{
sk_FragColor
=
half4
(
m1
[
0
][
0
],
m1
[
1
][
1
],
m2
[
0
][
0
],
m2
[
1
][
1
]);
}