Skip to content
Snippets Groups Projects
Commit 6b036d13 authored by Boris Brezillon's avatar Boris Brezillon
Browse files

panfrost: Relax the stride check when importing resources


Imported resources will not necessarily have their line stride aligned
on 64 bytes, and things prove to work just fine even on Bifrost, so
let's relax the condition and drop the comment stating that Bifrost
needs pixel lines to be aligned on 64 bytes.

Reported-by: default avatarIcecream95 <ixn@disroot.org>
Suggested-by: default avatarIcecream95 <ixn@disroot.org>
Fixes: 051d62cf ("panfrost: Add a pan_image_layout_init() helper")
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
Reviewed-by: default avatarAlyssa Rosenzweig <alyssa@collabora.com>
Part-of: <mesa/mesa!10423>
parent d661e32b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment