Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
skia
/
resources
/
sksl
/
spirv
/
InterfaceBlockPushConstant.sksl
blob: 87239633023c4a529479690309c627c74776cce8 [
file
] [
log
] [
blame
]
layout
(
push_constant
)
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
]);
}