mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
panfrost: Fix is_wide return type
By inspection.
Fixes: e4ee2c213a ("panfrost: Extract panfrost_afbc_is_wide helper")
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16697>
This commit is contained in:
parent
6b0ff7da48
commit
b7c18160d3
2 changed files with 2 additions and 2 deletions
|
|
@ -94,7 +94,7 @@ panfrost_afbc_superblock_height(uint64_t modifier)
|
|||
* defined as superblocks wider than 16 pixels, the minimum (and default) super
|
||||
* block width.
|
||||
*/
|
||||
unsigned
|
||||
bool
|
||||
panfrost_afbc_is_wide(uint64_t modifier)
|
||||
{
|
||||
return panfrost_afbc_superblock_width(modifier) > 16;
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ unsigned panfrost_afbc_superblock_width(uint64_t modifier);
|
|||
|
||||
unsigned panfrost_afbc_superblock_height(uint64_t modifier);
|
||||
|
||||
unsigned panfrost_afbc_is_wide(uint64_t modifier);
|
||||
bool panfrost_afbc_is_wide(uint64_t modifier);
|
||||
|
||||
uint32_t pan_afbc_row_stride(uint64_t modifier, uint32_t width);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue