7c1e34f3b9
Hoist out the hack to make array sizes unsized to a place where we can differentiate patch variables from control point variables.
11 lines
160 B
GLSL
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]);
|
|
}
|
|
|