panfrost: Pre-allocate memory for pool
[mesa.git] / src / panfrost / midgard / midgard_opt_copy_prop.c
index b73a41ed2e40ec0d4883823b4cc1cda4982cf07e..331c3d1dfa272129392f8194cab457438df35406 100644 (file)
@@ -107,7 +107,7 @@ midgard_opt_copy_prop(compiler_context *ctx, midgard_block *block)
 
                         unsigned start =
                                 is_tex ? 2 :
-                                OP_IS_STORE(q->load_store.op) ? 1 : 0;
+                                OP_IS_STORE(q->op) ? 1 : 0;
 
                         mir_foreach_src(q, s) {
                                 if ((s >= start) && q->src[s] == to) {