SPIRV-Cross/reference/shaders/vulkan/vert/vulkan-vertex.vert.vk
Hans-Kristian Arntzen 8869a167d6 Drop --vulkan flag to test_shaders.py
We can infer shader types from file extensions.
2016-05-11 20:02:31 +02:00

8 lines
125 B
Plaintext

#version 310 es
void main()
{
gl_Position = (vec4(1.0, 2.0, 3.0, 4.0) * float((gl_VertexIndex + gl_InstanceIndex)));
}