Explorar el Código

panfrost/midgard: Don't force constant on VLUT

Previously, we forced a #0 inline constant tacked on for the lut
instructions to mirror the blob's behaviour, which caused some
suboptimal codegen due to our constant inlining implementation. Instead,
just don't force a constant at all.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Tested-by: Tomeu Vizoso <tomeu.vizoso@collabora.com
tags/19.1-branchpoint
Alyssa Rosenzweig hace 6 años
padre
commit
4f7460297b
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0
    1
      src/gallium/drivers/panfrost/midgard/midgard_compile.c

+ 0
- 1
src/gallium/drivers/panfrost/midgard/midgard_compile.c Ver fichero

@@ -1069,7 +1069,6 @@ emit_alu(compiler_context *ctx, nir_alu_instr *instr)
.src0 = quirk_flipped_r24 ? SSA_UNUSED_1 : src0,
.src1 = quirk_flipped_r24 ? src0 : src1,
.dest = dest,
.inline_constant = (nr_inputs == 1) && !quirk_flipped_r24
}
};


Cargando…
Cancelar
Guardar