aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/linker.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-16 16:53:37 +0000
committermarha <marha@users.sourceforge.net>2011-02-16 16:53:37 +0000
commit48d0dcbd5b7f80810ce259bc9ed6f57f99e27ca9 (patch)
treede0c183abc0d1a958dc04cdf75f56d20db3f45e8 /mesalib/src/glsl/linker.cpp
parent6c2a4cdbdb1024e7069b1c51bb046d64750e30a5 (diff)
downloadvcxsrv-48d0dcbd5b7f80810ce259bc9ed6f57f99e27ca9.tar.gz
vcxsrv-48d0dcbd5b7f80810ce259bc9ed6f57f99e27ca9.tar.bz2
vcxsrv-48d0dcbd5b7f80810ce259bc9ed6f57f99e27ca9.zip
pixman mesa git update 16 Feb 2011
Diffstat (limited to 'mesalib/src/glsl/linker.cpp')
-rw-r--r--mesalib/src/glsl/linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/glsl/linker.cpp b/mesalib/src/glsl/linker.cpp
index 46cd1950c..6c003bb02 100644
--- a/mesalib/src/glsl/linker.cpp
+++ b/mesalib/src/glsl/linker.cpp
@@ -926,7 +926,7 @@ link_intrastage_shaders(void *mem_ctx,
if (var->type->is_array() && (var->type->length == 0)) {
const glsl_type *type =
glsl_type::get_array_instance(var->type->fields.array,
- var->max_array_access);
+ var->max_array_access + 1);
assert(type != NULL);
var->type = type;