summaryrefslogtreecommitdiffstats
path: root/third_party/rust/wgpu-hal/src/gles/shaders/clear.frag
blob: 7766c12d9f67be992418babdef965f340798ec9e (plain)
1
2
3
4
5
6
7
8
9
#version 300 es
precision lowp float;
uniform vec4 color;
//Hack: Some WebGL implementations don't find "color" otherwise.
uniform vec4 color_workaround;
out vec4 frag;
void main() {
  frag = color + color_workaround;
}