diff options
author | Eric Anholt <[email protected]> | 2010-07-28 14:41:51 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-07-28 15:00:09 -0700 |
commit | 4a962170d7cf4243d6ae156fca20a6167388925d (patch) | |
tree | 4d779c860f351ce01c1e03b4fae06d4a312463dd /src/glsl/ir_clone.cpp | |
parent | 8d8469eb2ade4fd48188403351a38f740987fb80 (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_clone.cpp')
-rw-r--r-- | src/glsl/ir_clone.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp index c49a7324818..f97080d2056 100644 --- a/src/glsl/ir_clone.cpp +++ b/src/glsl/ir_clone.cpp @@ -52,6 +52,8 @@ ir_variable::clone(struct hash_table *ht) const var->array_lvalue = this->array_lvalue; var->location = this->location; var->warn_extension = this->warn_extension; + var->origin_upper_left = this->origin_upper_left; + var->pixel_center_integer = this->pixel_center_integer; if (this->constant_value) var->constant_value = this->constant_value->clone(ht); |