diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-16 07:41:29 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-19 08:32:17 -0700 |
commit | 20dd482668982f954a926da142d866a78aa79535 (patch) | |
tree | 2e1fa39f499029b17e0e38ea7125cf675dd353bd /src | |
parent | 2788721cc4f911850bf92ccd02f82bed9d4dd360 (diff) |
pan/midgard: Clamp cubemap swizzle to XYXX
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/panfrost/midgard/midgard_compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |