skia2/tests/sksl/shared/StaticIf.glsl

12 lines
176 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
uniform vec4 colorRed;
uniform vec4 colorGreen;
vec4 main() {
vec4 result = colorRed;
{
result = colorGreen;
}
return result;
}