Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
shared
/
UniformBuffers.glsl
blob: 9c966c0fa6bed7d54d3d5931b0508a6c411427e0 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
layout
(
binding
=
0
)
uniform testBlock
{
layout
(
offset
=
0
)
float
x
;
layout
(
offset
=
4
)
int
w
;
layout
(
offset
=
16
)
float
[
2
]
y
;
layout
(
offset
=
48
)
mat3 z
;
};
void
main
()
{
sk_FragColor
=
vec4
(
x
,
y
[
0
],
y
[
1
],
0.0
);
}