mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
freedreno/a5xx: srgb fix
Signed-off-by: Rob Clark <robdclark@gmail.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 141a4f86d6)
This commit is contained in:
parent
4dc6ed53c1
commit
6aade42111
1 changed files with 2 additions and 1 deletions
|
|
@ -109,7 +109,8 @@ emit_mrt(struct fd_ringbuffer *ring, unsigned nr_bufs,
|
|||
}
|
||||
|
||||
OUT_PKT4(ring, REG_A5XX_SP_FS_MRT_REG(i), 1);
|
||||
OUT_RING(ring, A5XX_SP_FS_MRT_REG_COLOR_FORMAT(format));
|
||||
OUT_RING(ring, A5XX_SP_FS_MRT_REG_COLOR_FORMAT(format) |
|
||||
COND(srgb, A5XX_SP_FS_MRT_REG_COLOR_SRGB));
|
||||
|
||||
/* when we support UBWC, these would be the system memory
|
||||
* addr/pitch/etc:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue