aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/opt_flip_matrices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/opt_flip_matrices.cpp')
-rw-r--r--mesalib/src/glsl/opt_flip_matrices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesalib/src/glsl/opt_flip_matrices.cpp b/mesalib/src/glsl/opt_flip_matrices.cpp
index 2107b1d47..9044fd680 100644
--- a/mesalib/src/glsl/opt_flip_matrices.cpp
+++ b/mesalib/src/glsl/opt_flip_matrices.cpp
@@ -104,8 +104,8 @@ matrix_flipper::visit_enter(ir_expression *ir)
var_ref->var = texmat_transpose;
- texmat_transpose->max_array_access =
- MAX2(texmat_transpose->max_array_access, mat_var->max_array_access);
+ texmat_transpose->data.max_array_access =
+ MAX2(texmat_transpose->data.max_array_access, mat_var->data.max_array_access);
progress = true;
}