wgpu-hal 0.13.2

WebGPU hardware abstraction layer
Documentation
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;
}