diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-06-30 17:30:03 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-07-28 14:14:38 -0700 |
commit | f50f06552eb1e4af27d6fe99c381eac6a0a4ea0f (patch) | |
tree | 76891e2f6c5f116f1feb30e36155d52269d3cfa2 /src/glsl/ast.h | |
parent | b706283c79de41caf775b0bb15b3c849932f2574 (diff) |
glsl2: Parser support for GL_ARB_fragment_coord_conventions
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r-- | src/glsl/ast.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h index adb5fb11d4..655054ff6f 100644 --- a/src/glsl/ast.h +++ b/src/glsl/ast.h @@ -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 { |