mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 23:41:01 +01:00
11 lines
208 B
GLSL
11 lines
208 B
GLSL
#version 450
|
|
|
|
layout(location = 0) in vec2 a_Pos;
|
|
layout(location = 1) in vec4 a_Color;
|
|
layout(location = 0) out vec4 v_Color;
|
|
|
|
void main() {
|
|
gl_Position = vec4(a_Pos, 0.0, 1.0);
|
|
v_Color = a_Color;
|
|
}
|