Enabled text overlay, code cleanup, refactoring, gl_PerVertex output for shaders
This commit is contained in:
parent
89fa6594c1
commit
886abea862
10 changed files with 120 additions and 187 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue