mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 18:30:23 +01:00
freedreno/a4xx: re-emit program on dirty framebuffer
The program emit depends on certain fb details. Make sure those get updated when the fb changes. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
81b16350fa
commit
9761d5146f
1 changed files with 1 additions and 1 deletions
|
|
@ -613,7 +613,7 @@ fd4_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
|
|||
OUT_RING(ring, A4XX_GRAS_CL_VPORT_ZSCALE_0(ctx->viewport.scale[2]));
|
||||
}
|
||||
|
||||
if (dirty & FD_DIRTY_PROG) {
|
||||
if (dirty & (FD_DIRTY_PROG | FD_DIRTY_FRAMEBUFFER)) {
|
||||
struct pipe_framebuffer_state *pfb = &ctx->framebuffer;
|
||||
fd4_program_emit(ring, emit, pfb->nr_cbufs, pfb->cbufs);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue