[Mesa-dev] [PATCH 2/7] panfrost: Remove dubious assert
Alyssa Rosenzweig
alyssa.rosenzweig at collabora.com
Thu Jun 27 13:12:22 UTC 2019
We already *can* support texture formats with bpp > 4, so..
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
---
src/gallium/drivers/panfrost/pan_context.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
index 26b9cdb4130..18e3c9c8421 100644
--- a/src/gallium/drivers/panfrost/pan_context.c
+++ b/src/gallium/drivers/panfrost/pan_context.c
@@ -2160,9 +2160,6 @@ panfrost_create_sampler_view(
* (data) itself. So, we serialise the descriptor here and cache it for
* later. */
- /* Make sure it's something with which we're familiar */
- assert(bytes_per_pixel >= 1 && bytes_per_pixel <= 4);
-
/* TODO: Detect from format better */
const struct util_format_description *desc = util_format_description(prsrc->base.format);
--
2.20.1
More information about the mesa-dev
mailing list