lima/ppir: rework tex lowering
authorErico Nunes <nunes.erico@gmail.com>
Sun, 19 Apr 2020 17:36:57 +0000 (19:36 +0200)
committerErico Nunes <nunes.erico@gmail.com>
Sat, 16 May 2020 15:24:00 +0000 (17:24 +0200)
commita4b7699d849d28adfd057136812b00a6b4838ed0
tree628c740d725baa09e03f81e5f1b6836242bfb7a3
parent92611e21c19b35d1e5c9091614b2659d789558e2
lima/ppir: rework tex lowering

Move steps from lowering to emit, since they can be done earlier in a
single place, rather than in two-steps.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4975>
src/gallium/drivers/lima/ir/pp/lower.c
src/gallium/drivers/lima/ir/pp/nir.c
src/gallium/drivers/lima/ir/pp/ppir.h