aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-17 16:23:41 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-18 09:59:29 -0700
commit2a717f300bb6fdb610f20ec8c693af4896e4fc5a (patch)
treee9b0ec857705ec2b69b4d65d8aa7428060aedce5
parent5aa51ba97f91f1acaac4e201740ce0afe7272286 (diff)
panfrost: Enable sRGB
Now that sRGB formats are supported for both rendering and sampling, advertise support. Signed-off-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c4
1 files changed, 0 insertions, 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;