diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-02-27 02:06:29 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-03-04 04:59:58 +0000 |
commit | 4f7460297bcb07605f05e91236346aeedd0f0c16 (patch) | |
tree | 5f10fdab22f2d884d066cd1fd6c42f2d3df8da3a /src | |
parent | c351cc4e94410e76ef0512d4bc503ef90adf3370 (diff) |
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 <[email protected]>
Tested-by: Tomeu Vizoso <[email protected]
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/panfrost/midgard/midgard_compile.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/midgard/midgard_compile.c b/src/gallium/drivers/panfrost/midgard/midgard_compile.c index 65822d3b28f..f533572c05d 100644 --- a/src/gallium/drivers/panfrost/midgard/midgard_compile.c +++ b/src/gallium/drivers/panfrost/midgard/midgard_compile.c @@ -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 } }; |