From: Alyssa Rosenzweig Date: Fri, 16 Aug 2019 14:41:29 +0000 (-0700) Subject: pan/midgard: Clamp cubemap swizzle to XYXX X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20dd482668982f954a926da142d866a78aa79535;p=mesa.git pan/midgard: Clamp cubemap swizzle to XYXX Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index 55406e6f458..f01740f5feb 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -1800,6 +1800,7 @@ emit_texop_native(compiler_context *ctx, nir_tex_instr *instr, emit_mir_instruction(ctx, st); ins.ssa_args.src[0] = temp; + ins.texture.in_reg_swizzle = SWIZZLE_XYXX; } else { ins.ssa_args.src[0] = index; }