SPV: PrimitiveId in frag shader will emit Geometry capability
Using PrimitiveId in a fragment shader requires declaring an OpCapability with either Geometry or Tessellation.
This commit is contained in:
@@ -259,5 +259,7 @@ void main()
|
||||
uo = u % i;
|
||||
foo23();
|
||||
doubles();
|
||||
|
||||
int id = gl_PrimitiveID;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user