panfrost: Prepack partial RSD at compile time
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 14 May 2021 22:00:45 +0000 (18:00 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 May 2021 22:51:56 +0000 (22:51 +0000)
commitca690579b8fb66c408773bdd9bdd5e14da4d3338
treed02173b99615b62bd3929b644e24f6226a00705c
parent398e65693b0be51f2300ed345185865a8baa86b7
panfrost: Prepack partial RSD at compile time

Even for fragment shaders! Just need to merge the partial descriptors.

Fixes: c21c6d134bc ("panfrost: Use the pan_shader_prepare_rsd() helper")
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10869>
src/gallium/drivers/panfrost/pan_assemble.c
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_context.h