Fixed automatic input layout generation

the automatic input layout generation didn't work because it generated
an RGBA value for the position, which is a float4 in the shader. the
vertices being passed were float3, which wasnt compatible