diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-06-26 15:59:59 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-28 15:09:07 -0700 |
commit | 7d300006283882f656fb7cda1e224d8bb6f72206 (patch) | |
tree | 57729360784060af470126a96ef2ee7d6485d332 /src/gallium/drivers/panfrost | |
parent | 7f5481258c5ba606a2169c370cf84fd528705751 (diff) |
panfrost: Remove dubious assert
We already *can* support texture formats with bpp > 4, so..
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_context.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index 0dfdaf1c8b6..bf98d3853f1 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -2166,9 +2166,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); |