diff options
author | marha <marha@users.sourceforge.net> | 2011-09-15 15:01:30 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-15 15:01:30 +0200 |
commit | 4420369d700d9db1563f8647e1889c6a0972ea2c (patch) | |
tree | 91e4c4e8503de8472048662e1e0b2ac7caa82e09 /mesalib/src/glsl/ir.cpp | |
parent | e066f54c99aecce620158fe7f31589242df55677 (diff) | |
download | vcxsrv-4420369d700d9db1563f8647e1889c6a0972ea2c.tar.gz vcxsrv-4420369d700d9db1563f8647e1889c6a0972ea2c.tar.bz2 vcxsrv-4420369d700d9db1563f8647e1889c6a0972ea2c.zip |
libxtrans libXmu libXext mesa pixman git update 15 sept 2011
Diffstat (limited to 'mesalib/src/glsl/ir.cpp')
-rw-r--r-- | mesalib/src/glsl/ir.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mesalib/src/glsl/ir.cpp b/mesalib/src/glsl/ir.cpp index 41ed4f114..d6594cd9a 100644 --- a/mesalib/src/glsl/ir.cpp +++ b/mesalib/src/glsl/ir.cpp @@ -1105,9 +1105,6 @@ ir_dereference::is_lvalue() const if ((var == NULL) || var->read_only) return false; - if (this->type->is_array() && !var->array_lvalue) - return false; - /* From page 17 (page 23 of the PDF) of the GLSL 1.20 spec: * * "Samplers cannot be treated as l-values; hence cannot be used @@ -1323,7 +1320,7 @@ ir_swizzle::variable_referenced() const ir_variable::ir_variable(const struct glsl_type *type, const char *name, ir_variable_mode mode) : max_array_access(0), read_only(false), centroid(false), invariant(false), - mode(mode), interpolation(ir_var_smooth), array_lvalue(false) + mode(mode), interpolation(ir_var_smooth) { this->ir_type = ir_type_variable; this->type = type; |