Parser: Extension requirement of gl_PrimitiveID and gl_Layer should be checked only for ESSL instead of GLSL.
This commit is contained in:
parent
e00e72ded1
commit
e553ace049
5 changed files with 35 additions and 2 deletions
|
|
@ -146,3 +146,8 @@ void interp()
|
|||
interpolateAtCentroid(sampInArray[2].xy);
|
||||
interpolateAtSample(sampInArray[2].x.x, 2);
|
||||
}
|
||||
|
||||
int layer()
|
||||
{
|
||||
return gl_Layer;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue