diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 7848d80f739..1464776aa06 100644 --- 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) |