From 4ec1f95d76b476dd602dca41e5a1065a2c0d6135 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 20 Dec 2019 12:58:10 -0500 Subject: [PATCH] pan/midgard: Fix fallthrough from offset to comparator Fixes: ccbc9a4e678 ("pan/midgard: Implement textureOffset for 2D textures") Signed-off-by: Alyssa Rosenzweig --- src/panfrost/midgard/midgard_compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index f462100a280..1e61cf77dd2 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -1849,6 +1849,7 @@ emit_texop_native(compiler_context *ctx, nir_tex_instr *instr, ins.swizzle[3][c] = (c > COMPONENT_Z) ? 0 : c; emit_explicit_constant(ctx, index, index); + break; }; case nir_tex_src_comparator: { -- 2.30.2