Implement Geometry2D primitive
This commit is contained in:
parent
26de688e68
commit
0d620b7701
13 changed files with 528 additions and 4 deletions
8
wgpu/src/shader/geom2d.frag
Normal file
8
wgpu/src/shader/geom2d.frag
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) in vec4 i_Color;
|
||||
layout(location = 0) out vec4 o_Color;
|
||||
|
||||
void main() {
|
||||
o_Color = i_Color;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue