From 2a717f300bb6fdb610f20ec8c693af4896e4fc5a Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 17 Jun 2019 16:23:41 -0700 Subject: [PATCH] panfrost: Enable sRGB Now that sRGB formats are supported for both rendering and sampling, advertise support. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_screen.c | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.30.2