From: Alyssa Rosenzweig Date: Mon, 17 Jun 2019 23:23:41 +0000 (-0700) Subject: panfrost: Enable sRGB X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a717f300bb6fdb610f20ec8c693af4896e4fc5a;p=mesa.git panfrost: Enable sRGB Now that sRGB formats are supported for both rendering and sampling, advertise support. Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 9cd98cd9051..70bff565930 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -450,10 +450,6 @@ panfrost_is_format_supported( struct pipe_screen *screen, if (sample_count > 1) return FALSE; - /* sRGB colorspace is not supported (yet?) */ - if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) - return FALSE; - /* Format wishlist */ if (format == PIPE_FORMAT_Z24X8_UNORM || format == PIPE_FORMAT_X8Z24_UNORM) return FALSE;