xref: /aosp_15_r20/external/skia/tests/sksl/shared/RectangleTexture.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1
2out vec4 sk_FragColor;
3layout (binding = 0) uniform sampler2D test2D;
4layout (binding = 1) uniform sampler2D test2DRect;
5void main() {
6    sk_FragColor = texture(test2D, vec2(0.5));
7    sk_FragColor = texture(test2DRect, vec2(0.5));
8    sk_FragColor = textureProj(test2DRect, vec3(0.5));
9}
10