freedreno/ir3: Add float immed "FLUT" support
authorRob Clark <robdclark@chromium.org>
Mon, 25 Jan 2021 17:43:24 +0000 (09:43 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Jul 2021 14:40:30 +0000 (14:40 +0000)
commit7f5a01a47dc87b9513aa156030bb8d03963ba40f
treeeb76618cc86428044294d4a99f4e8044016207b1
parent4b2afd11ccea5ba1e21c874a2fe87784adc96ffe
freedreno/ir3: Add float immed "FLUT" support

We can encode a limited set of float immeds into cat2 instructions,
using hw's float lookup table (FLUT) feature.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/36
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8705>
src/freedreno/ir3/ir3.c
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_cp.c