1
0
mirror of synced 2025-11-09 21:07:12 +00:00

push constants

This commit is contained in:
Tom Gowan
2019-04-26 16:11:48 +10:00
parent f3346e48bb
commit 2c5747a52f
5 changed files with 173 additions and 67 deletions

10
tests/shaders/vert4.glsl Normal file
View File

@@ -0,0 +1,10 @@
#version 450
layout(location = 0) in vec2 position;
void main() {
vec2 p = position;
p.x += 0.2;
gl_Position = vec4(p, 0.0, 1.0);
}