mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
11 lines
201 B
GLSL
11 lines
201 B
GLSL
#version 450 core
|
|
|
|
#define MAIN void main() {
|
|
#define V_POSITION layout(location=0) in vec4 a_position;
|
|
#define ASSIGN_POSITION gl_Position = a_position;
|
|
|
|
V_POSITION
|
|
|
|
MAIN
|
|
ASSIGN_POSITION
|
|
} |