better separation of swapchain, flight, and uber

This commit is contained in:
David Allemang
2024-07-08 14:25:10 -04:00
parent 53d063246b
commit 8fd94e631d
7 changed files with 220 additions and 271 deletions

View File

@@ -1,7 +1,7 @@
#version 450
layout (set = 0, binding = 0) uniform CameraBuffer {
mat4 viewproj;
mat4 mat;
} cam;
layout (location = 0) in vec4 a_pos;
@@ -10,6 +10,6 @@ layout (location = 1) in vec3 a_color;
layout (location = 0) out vec3 v_color;
void main() {
gl_Position = a_pos * cam.viewproj;
gl_Position = a_pos * cam.mat;
v_color = a_color;
}