etnaviv: call util_blitter_save_fragment_constant_buffer_slot(..)
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Sun, 11 Aug 2019 11:48:43 +0000 (13:48 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 13:51:28 +0000 (13:51 +0000)
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1641>

src/gallium/drivers/etnaviv/etnaviv_clear_blit.c

index 4c288f553df41f0e39f4513b4b1bad9a31696cb3..3619ea5bb77f49786b8deda9431acd812361ba28 100644 (file)
@@ -48,6 +48,8 @@
 void
 etna_blit_save_state(struct etna_context *ctx)
 {
+   util_blitter_save_fragment_constant_buffer_slot(ctx->blitter,
+                                                   ctx->constant_buffer[PIPE_SHADER_FRAGMENT].cb);
    util_blitter_save_vertex_buffer_slot(ctx->blitter, ctx->vertex_buffer.vb);
    util_blitter_save_vertex_elements(ctx->blitter, ctx->vertex_elements);
    util_blitter_save_vertex_shader(ctx->blitter, ctx->shader.bind_vs);