Sign in
◑
Theme
skia
/
skia
/
e64653aeceadb29188a74c3916bb5c762e519ab0
/
.
/
resources
/
sksl
/
intrinsics
/
TextureSizeImage.sksl
blob: 6d582eb1f7532a0ccf202b1a5ca8d06312ffabdd [
file
]
layout
(
binding
=
0
,
rgba32f
)
readonly
texture2D t
;
void
main
()
{
uint2 dims
=
textureSize
(
t
);
sk_FragColor
=
half4
(
dims
,
dims
);
}