Fix isIoResizeArray() tessellation stage handling
This commit is contained in:
parent
ae2a562936
commit
5597c8d7cf
8 changed files with 430 additions and 1 deletions
21
Test/link.tesselation.tesc
Normal file
21
Test/link.tesselation.tesc
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue