etnaviv: Fix util_blitter_save_so_targets(..) call
The current code was conditionally passing empty streamout targets to
util_blitter_save_so_targets() only when ETNA_DBG_DEQP was enabled.
Since etnaviv supports hardware streamout on some GPUs, we should
always pass the actual streamout state to properly save and restore
it during blitter operations.
Fixes: 52bc3c2d20 ("etnaviv: Implement stream output target management")
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37564>
This commit is contained in:
committed by
Marge Bot
parent
eadc0416b9
commit
e39ba2f6e8
@@ -74,8 +74,8 @@ etna_blit_save_state(struct etna_context *ctx, bool render_cond)
|
||||
util_blitter_save_render_condition(ctx->blitter,
|
||||
ctx->cond_query, ctx->cond_cond, ctx->cond_mode);
|
||||
|
||||
if (DBG_ENABLED(ETNA_DBG_DEQP))
|
||||
util_blitter_save_so_targets(ctx->blitter, 0, NULL, 0);
|
||||
util_blitter_save_so_targets(ctx->blitter, ctx->streamout.num_targets,
|
||||
ctx->streamout.targets, MESA_PRIM_UNKNOWN);
|
||||
}
|
||||
|
||||
uint64_t
|
||||
|
||||
Reference in New Issue
Block a user