Implement GL_OES_primitive_bounding_box.

This commit is contained in:
John Kessenich
2015-08-16 11:38:07 -06:00
parent cee88e3644
commit 30314590ff
8 changed files with 127 additions and 5 deletions

View File

@@ -119,3 +119,10 @@ void pointSize2()
float ps = gl_in[1].gl_PointSize; // ERROR, not in the redeclaration, but no error on use of gl_PointSize
gl_PointSize = ps;
}
#extension GL_EXT_primitive_bounding_box : enable
void bbbad()
{
gl_BoundingBoxOES; // ERROR, wrong stage
}