SPIRV-Cross/shaders/tese/patch-input-array.tese

10 lines
136 B
Plaintext
Raw Normal View History

#version 450
layout(quads) in;
layout(location = 0) patch in float P[4];
void main()
{
gl_Position = vec4(P[0], P[1], P[2], P[3]);
}