Fix isIoResizeArray() tessellation stage handling

This commit is contained in:
Kevin McCullough 2021-07-06 11:50:48 -07:00
parent ae2a562936
commit 5597c8d7cf
8 changed files with 430 additions and 1 deletions

View file

@ -0,0 +1,21 @@
#version 440
layout(location = 0) in Primitive
{
vec2 texCoord;
} IN[];
layout(location = 0) out Primitive
{
vec2 texCoord;
} OUT[];
layout(vertices = 3) out;
void main()
{
OUT[gl_InvocationID].texCoord = IN[gl_InvocationID].texCoord;
float tessLevel = 10.0;
gl_TessLevelOuter[gl_InvocationID] = tessLevel;
gl_TessLevelInner[0] = tessLevel;
}