mirror of
https://github.com/sotrh/learn-wgpu.git
synced 2024-11-16 06:12:55 +00:00
11 lines
223 B
GLSL
11 lines
223 B
GLSL
#version 450
|
|
|
|
layout(location=0) in vec2 aPosition;
|
|
// layout(location=1) in vec2 aTexCoord;
|
|
|
|
// layout(location=0) out vec2 vTexCoord;
|
|
|
|
void main() {
|
|
gl_Position = vec4(aPosition, 0, 1);
|
|
// vTexCoord = aTexCoord;
|
|
} |