mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
Vulcan Nightmare
Experimentally bringing up vulcan support
This commit is contained in:
parent
863a786c48
commit
83b576e8d9
189 changed files with 12147 additions and 7820 deletions
14
assets/shaders/selection_circle.vert.glsl
Normal file
14
assets/shaders/selection_circle.vert.glsl
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#version 450
|
||||
|
||||
layout(push_constant) uniform Push {
|
||||
mat4 mvp;
|
||||
} push;
|
||||
|
||||
layout(location = 0) in vec3 aPos;
|
||||
|
||||
layout(location = 0) out vec2 vLocalPos;
|
||||
|
||||
void main() {
|
||||
vLocalPos = aPos.xz;
|
||||
gl_Position = push.mvp * vec4(aPos, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue