Enabled text overlay, code cleanup, refactoring, gl_PerVertex output for shaders

This commit is contained in:
saschawillems 2016-05-31 20:07:43 +02:00
parent 89fa6594c1
commit 886abea862
10 changed files with 120 additions and 187 deletions

View file

@ -21,6 +21,11 @@ layout(push_constant) uniform PushConsts
mat4 view;
} pushConsts;
out gl_PerVertex
{
vec4 gl_Position;
};
void main()
{
gl_Position = ubo.projection * pushConsts.view * ubo.model * vec4(inPos, 1.0);