Skip to content
Snippets Groups Projects
Commit 6aade421 authored by Rob Clark's avatar Rob Clark :speech_balloon: Committed by Emil Velikov
Browse files

freedreno/a5xx: srgb fix


Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 141a4f86)
parent 4dc6ed53
No related branches found
No related tags found
Loading
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment