summaryrefslogtreecommitdiff
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-07-28 14:41:51 -0700
committerEric Anholt <eric@anholt.net>2010-07-28 15:00:09 -0700
commit4a962170d7cf4243d6ae156fca20a6167388925d (patch)
tree4d779c860f351ce01c1e03b4fae06d4a312463dd /src/glsl/ir.h
parent8d8469eb2ade4fd48188403351a38f740987fb80 (diff)
glsl2: Add support for redeclaring layout of gl_FragCoord for ARB_fcc.
Fixes: glsl-arb-fragment-coord-conventions
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 7e8363106d..202685d145 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -238,6 +238,10 @@ public:
*/
unsigned array_lvalue:1;
+ /* ARB_fragment_coord_conventions */
+ unsigned origin_upper_left:1;
+ unsigned pixel_center_integer:1;
+
/**
* Storage location of the base of this variable
*