SPIRV-Cross/reference/shaders/tese/patch-input-array.tese
Hans-Kristian Arntzen 7c1e34f3b9 GLSL: Fix array of input patch variables.
Hoist out the hack to make array sizes unsized to a place where we can
differentiate patch variables from control point variables.
2019-12-10 12:02:12 +01:00

11 lines
160 B
GLSL

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