Mesa (master): panfrost: Enable sRGB
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jun 18 17:00:05 UTC 2019
Module: Mesa
Branch: master
Commit: 2a717f300bb6fdb610f20ec8c693af4896e4fc5a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a717f300bb6fdb610f20ec8c693af4896e4fc5a
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Mon Jun 17 16:23:41 2019 -0700
panfrost: Enable sRGB
Now that sRGB formats are supported for both rendering and sampling,
advertise support.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
---
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;
More information about the mesa-commit
mailing list