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

12 lines
238 B
GLSL

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