mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
panfrost: remove nonsensical assert
This checks against all valid targets, which is kinda confusing to read. Let's just drop this. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28856>
This commit is contained in:
parent
71fd7836f6
commit
39f919707a
1 changed files with 0 additions and 6 deletions
|
|
@ -551,12 +551,6 @@ panfrost_is_format_supported(struct pipe_screen *screen,
|
|||
{
|
||||
struct panfrost_device *dev = pan_device(screen);
|
||||
|
||||
assert(target == PIPE_BUFFER || target == PIPE_TEXTURE_1D ||
|
||||
target == PIPE_TEXTURE_1D_ARRAY || target == PIPE_TEXTURE_2D ||
|
||||
target == PIPE_TEXTURE_2D_ARRAY || target == PIPE_TEXTURE_RECT ||
|
||||
target == PIPE_TEXTURE_3D || target == PIPE_TEXTURE_CUBE ||
|
||||
target == PIPE_TEXTURE_CUBE_ARRAY);
|
||||
|
||||
/* MSAA 2x gets rounded up to 4x. MSAA 8x/16x only supported on v5+.
|
||||
* TODO: debug MSAA 8x/16x */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue