Enable device features, validation fixes

This commit is contained in:
saschawillems 2016-12-25 12:51:46 +01:00
parent aad384c3ce
commit 04fdd16076
3 changed files with 7 additions and 11 deletions

View file

@ -16,6 +16,11 @@ layout (binding = 0) uniform UBO
layout (location = 0) in int inInstanceIndex[];
out gl_PerVertex
{
vec4 gl_Position;
};
void main()
{
vec4 instancedPos = ubo.instancePos[inInstanceIndex[0]];