Triangle example code cleanup, use VK_CHECK_RESULT macro instead of asserts, added more comments
This commit is contained in:
parent
a9f280016f
commit
4a124d75a3
4 changed files with 92 additions and 94 deletions
|
|
@ -15,6 +15,12 @@ layout (binding = 0) uniform UBO
|
|||
|
||||
layout (location = 0) out vec3 outColor;
|
||||
|
||||
out gl_PerVertex
|
||||
{
|
||||
vec4 gl_Position;
|
||||
};
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
outColor = inColor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue