panfrost/midgard: Don't force constant on VLUT
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Wed, 27 Feb 2019 02:06:29 +0000 (02:06 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 4 Mar 2019 04:59:58 +0000 (04:59 +0000)
commit4f7460297bcb07605f05e91236346aeedd0f0c16
tree5f10fdab22f2d884d066cd1fd6c42f2d3df8da3a
parentc351cc4e94410e76ef0512d4bc503ef90adf3370
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
src/gallium/drivers/panfrost/midgard/midgard_compile.c