12 lines
236 B
GLSL
12 lines
236 B
GLSL
#version 450
|
|
#pragma shader_stage(vertex)
|
|
|
|
#extension GL_EXT_descriptor_heap: require
|
|
|
|
layout(descriptor_heap) uniform data {
|
|
vec4 positions[3];
|
|
} vertexData[];
|
|
|
|
void main() {
|
|
gl_Position = vertexData[0].positions[gl_VertexIndex];
|
|
} |