diff options
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/tese/input-array.tese | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shaders/tese/input-array.tese b/shaders/tese/input-array.tese new file mode 100644 index 00000000..f1014ca5 --- /dev/null +++ b/shaders/tese/input-array.tese @@ -0,0 +1,10 @@ +#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; +} |