projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11938c8
)
llvmpipe: don't support rendering to sRGB surfaces
author
Brian Paul
<brianp@vmware.com>
Thu, 6 Oct 2011 23:01:48 +0000
(17:01 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 11 Oct 2011 13:47:25 +0000
(07:47 -0600)
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=34199
src/gallium/drivers/llvmpipe/lp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_screen.c
b/src/gallium/drivers/llvmpipe/lp_screen.c
index 7848d80f73950643e51fa12072a0a7190bc1c1a8..1464776aa06d1622ea6802af9ac9ce2b46801308 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/
src/gallium/drivers/llvmpipe/lp_screen.c
@@
-249,7
+249,8
@@
llvmpipe_is_format_supported( struct pipe_screen *_screen,
return FALSE;
if (bind & PIPE_BIND_RENDER_TARGET) {
- if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS)
+ if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS ||
+ format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB)
return FALSE;
if (format_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN)