panfrost: Use pan_shader_prepare_rsd in blitter
authorAlyssa Rosenzweig <alyssa@collabora.com>
Tue, 8 Feb 2022 18:44:38 +0000 (13:44 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 23 Feb 2022 12:56:30 +0000 (12:56 +0000)
commitbd3d7e33b6b53c2f0c9c73403ea9e85e4fa725de
tree0b720dfefd5a76aaa01fbf470d787e52c1510c80
parent6fc81f163e8508bca7006ea00f0759e9426a6fe7
panfrost: Use pan_shader_prepare_rsd in blitter

This reduces code duplication and will ease Valhall porting. Functional changes
on v7:

* Shader contains barrier is now set (perf loss, fixed later in series)
* Shader register allocation is now set (perf win)
* Point sprite inverted, no-op for blit shaders

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15123>
src/panfrost/lib/pan_blitter.c