projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69fbb45
)
freedreno/a5xx: srgb fix
author
Rob Clark
<robdclark@gmail.com>
Sun, 15 Jan 2017 18:19:47 +0000
(13:19 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Sun, 22 Jan 2017 19:11:04 +0000
(14:11 -0500)
Signed-off-by: Rob Clark <robdclark@gmail.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/freedreno/a5xx/fd5_gmem.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c
b/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c
index 1920458461931c8e60ece3cba8d82fb276dcc990..b80a04fd2d27fc4d2749f82df4cde2ddac2aac2c 100644
(file)
--- a/
src/gallium/drivers/freedreno/a5xx/fd5_gmem.c
+++ b/
src/gallium/drivers/freedreno/a5xx/fd5_gmem.c
@@
-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: