quakeforge/libs/video/renderer/vulkan/shader/bsp_depth.vert
Bill Currie cbc8ad271a [vulkan] Convert bsp and draw to deferred
This has bsp and draw passing muster with the validation layers.
2021-02-19 11:14:54 +09:00

19 lines
287 B
GLSL

#version 450
layout (set = 0, binding = 0) uniform Matrices {
mat4 Projection;
mat4 View;
mat4 Sky;
};
layout (push_constant) uniform PushConstants {
mat4 Model;
};
layout (location = 0) in vec4 vertex;
void
main (void)
{
gl_Position = Projection * (View * (Model * vertex));
}