pan/mdg: eliminate references to ins->load_store.op
[mesa.git] / src / panfrost / midgard / compiler.h
index 86465d9b7e2b2db10e8a1761399af9ca0a44eb1b..134d1ed6d2c92530cca498cc3493acc28d58a3ce 100644 (file)
@@ -595,9 +595,8 @@ v_load_store_scratch(
                 .dest = ~0,
                 .src = { ~0, ~0, ~0, ~0 },
                 .swizzle = SWIZZLE_IDENTITY_4,
+                .op = is_store ? midgard_op_st_int4 : midgard_op_ld_int4,
                 .load_store = {
-                        .op = is_store ? midgard_op_st_int4 : midgard_op_ld_int4,
-
                         /* For register spilling - to thread local storage */
                         .arg_1 = 0xEA,
                         .arg_2 = 0x1E,