summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c
index c956ba439fa..06d89c9bc51 100644
--- a/src/gallium/drivers/panfrost/pan_screen.c
+++ b/src/gallium/drivers/panfrost/pan_screen.c
@@ -447,6 +447,10 @@ 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;