SPIRV-Cross/reference/shaders/tesc/basic.tesc
Hans-Kristian Arntzen 036b9b73f5 Emit storage qualifier in the correct place.
Need to emit qualifiers in a specific order for legacy GLSL.

<interpolation> <storage> <precision> <type>.
2017-02-24 09:56:17 +01:00

18 lines
460 B
GLSL

#version 310 es
#extension GL_EXT_tessellation_shader : require
layout(vertices = 1) out;
patch out vec3 vFoo;
void main()
{
gl_TessLevelInner[0] = 8.8999996185302734375;
gl_TessLevelInner[1] = 6.900000095367431640625;
gl_TessLevelOuter[0] = 8.8999996185302734375;
gl_TessLevelOuter[1] = 6.900000095367431640625;
gl_TessLevelOuter[2] = 3.900000095367431640625;
gl_TessLevelOuter[3] = 4.900000095367431640625;
vFoo = vec3(1.0);
}