Sign in
skia
/
skia
/
chrome/m141
/
.
/
resources
/
sksl
/
runtime
/
FragCoordAccess.privrts
blob: 9bc64c304487c2750e04d9aaa066290a96668b26 [
file
] [
log
] [
blame
]
// This test is mirrored in `runtime_errors/FragCoordAccess.rts`, where we demonstrate that
// sk_FragCoord access is disallowed in a non-private Runtime Shader.
float4 main
(
float2 xy
)
{
return
float4
(
sk_FragCoord
);
}