v2: Omit the commit message.
Reviewed-by: Jason Ekstrand <[email protected]> (v1)
Signed-off-by: Nanley Chery <[email protected]>
---
src/intel/isl/isl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index b593e153dc..ccc8e16824 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -1677,7 +1677,7 @@ isl_surf_get_ccs_surf(const struct isl_device *dev,
if (ISL_DEV_GEN(dev) <= 8 && surf->dim != ISL_SURF_DIM_2D)
return false;
- if (isl_format_is_compressed(surf->format))
+ if (!isl_format_supports_rendering(dev->info, surf->format))
return false;
/* TODO: More conditions where it can fail. */
--
2.13.1
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev