From 06c31031e7e87d83747e3f531f8fd5264c03dc08 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 13 Aug 2020 17:15:11 -0400 Subject: [PATCH] pan/mdg: Ensure barrier op is set on texture Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Vizoso Fixes: 92c808cd475 ("pan/mdg: eliminate references to ins->texture.op") Part-of: --- src/panfrost/midgard/midgard_emit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panfrost/midgard/midgard_emit.c b/src/panfrost/midgard/midgard_emit.c index 8c08818214c..8b022554a94 100644 --- a/src/panfrost/midgard/midgard_emit.c +++ b/src/panfrost/midgard/midgard_emit.c @@ -903,6 +903,7 @@ emit_binary_bundle(compiler_context *ctx, /* Nothing else to pack for barriers */ if (ins->op == TEXTURE_OP_BARRIER) { ins->texture.cont = ins->texture.last = 1; + ins->texture.op = ins->op; util_dynarray_append(emission, midgard_texture_word, ins->texture); return; } -- 2.30.2