mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-12-02 11:44:07 +00: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
|
|
} |