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