2016-03-02 17:09:16 +00:00
|
|
|
#version 310 es
|
|
|
|
#extension GL_EXT_tessellation_shader : require
|
|
|
|
layout(vertices = 1) out;
|
|
|
|
|
2017-06-21 07:39:08 +00:00
|
|
|
layout(location = 0) patch out vec3 vFoo;
|
2016-03-02 17:09:16 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2016-03-12 13:17:19 +00:00
|
|
|
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);
|
2016-03-02 17:09:16 +00:00
|
|
|
}
|
|
|
|
|