From: Alyssa Rosenzweig Date: Fri, 20 Dec 2019 17:58:10 +0000 (-0500) Subject: pan/midgard: Fix fallthrough from offset to comparator X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ec1f95d76b476dd602dca41e5a1065a2c0d6135;p=mesa.git pan/midgard: Fix fallthrough from offset to comparator Fixes: ccbc9a4e678 ("pan/midgard: Implement textureOffset for 2D textures") Signed-off-by: Alyssa Rosenzweig --- 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: {