freedreno/ir3: handle half registers for arrays during register allocation.
authorHyunjun Ko <zzoon@igalia.com>
Mon, 18 Nov 2019 09:54:09 +0000 (09:54 +0000)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 17:24:13 +0000 (17:24 +0000)
commitc822460f851ae6f3c74a01b9eec9ea924a0de12d
tree900a0f47b2f53ce7498edfb818d531d3080fa2ab
parent9e8466a866cbfb4c6745d85e9371b43827d16c8d
freedreno/ir3: handle half registers for arrays during register allocation.

So far we only handle full regs of arrays during pre-allocation.
This patch is to handle half regs of arrays and also consider the size
of half regs when finding out conflicts.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3822>
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_context.c
src/freedreno/ir3/ir3_ra.c