mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04: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 f_Color;
|
|
|
|
void main() {
|
|
gl_Position = vec4(a_Pos, 0.0, 1.0);
|
|
f_Color = a_Color;
|
|
}
|