Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
skia
/
resources
/
sksl
/
shared
/
RectangleTexture.sksl
blob: b8b8c08b59de41498baccbfac56378553b510871 [
file
] [
log
] [
blame
]
layout
(
binding
=
0
)
uniform sampler2D test2D
;
layout
(
binding
=
1
)
uniform sampler2D test2DRect
;
void
main
()
{
sk_FragColor
=
sample
(
test2D
,
float2
(
0.5
));
sk_FragColor
=
sample
(
test2DRect
,
float2
(
0.5
));
sk_FragColor
=
sample
(
test2DRect
,
float3
(
0.5
));
}