mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
ac/surface: always allow LINEAR modifier for color formats
this is always supported Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33323>
This commit is contained in:
parent
1ade9a05d8
commit
602f19bad8
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ bool ac_is_modifier_supported(const struct radeon_info *info,
|
|||
|
||||
if (util_format_is_compressed(format) ||
|
||||
util_format_is_depth_or_stencil(format) ||
|
||||
util_format_get_blocksizebits(format) > 64)
|
||||
(util_format_get_blocksizebits(format) > 64 && modifier != DRM_FORMAT_MOD_LINEAR))
|
||||
return false;
|
||||
|
||||
if (info->gfx_level < GFX9)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue