glsl2: Parser support for GL_ARB_fragment_coord_conventions

This commit is contained in:
Ian Romanick
2010-06-30 17:30:03 -07:00
committed by Eric Anholt
parent b706283c79
commit f50f06552e
8 changed files with 2145 additions and 1937 deletions

View File

@@ -302,6 +302,12 @@ struct ast_type_qualifier {
unsigned smooth:1;
unsigned flat:1;
unsigned noperspective:1;
/** \name Layout qualifiers for GL_ARB_fragment_coord_conventions */
/*@{*/
unsigned origin_upper_left:1;
unsigned pixel_center_integer:1;
/*@}*/
};
class ast_struct_specifier : public ast_node {