panfrost: Call util_blitter_save_fragment_constant_buffer_slot
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 14 Jul 2020 20:58:57 +0000 (16:58 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Jul 2020 19:59:43 +0000 (19:59 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5858>

src/gallium/drivers/panfrost/pan_blit.c

index 6361e7c7737e00a8fc034ab857117b29429deb60..420f85cca486c5ab74cb648a1a3a81b42ccb7d5e 100644 (file)
@@ -57,6 +57,8 @@ panfrost_blitter_save(
         util_blitter_save_fragment_sampler_views(blitter,
                         ctx->sampler_view_count[PIPE_SHADER_FRAGMENT],
                         (struct pipe_sampler_view **)&ctx->sampler_views[PIPE_SHADER_FRAGMENT]);
+        util_blitter_save_fragment_constant_buffer_slot(blitter,
+                        ctx->constant_buffer[PIPE_SHADER_FRAGMENT].cb);
 }
 
 static bool