SPIRV-Cross/shaders/tese/input-array.tese
2019-01-09 10:47:16 +01:00

11 lines
249 B
GLSL

#version 450
layout(ccw, quads, fractional_odd_spacing) in;
layout(location = 0) in vec4 Floats[];
layout(location = 2) in vec4 Floats2[gl_MaxPatchVertices];
void main()
{
gl_Position = Floats[0] * gl_TessCoord.x + Floats2[1] * gl_TessCoord.y;
}