mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 23:50:11 +01:00
freedreno/fdl: Don't enable r8g8 special case for mutable images
The blob seems to always use the R16 pitch align. I don't check the block size, because the blob seems to disable UBWC when setting the MUTABLEEN bit. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32615>
This commit is contained in:
parent
ca91844fc7
commit
c8782f3ac7
1 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,8 @@ static bool
|
|||
is_r8g8(const struct fdl_layout *layout)
|
||||
{
|
||||
return layout->cpp == 2 &&
|
||||
util_format_get_nr_components(layout->format) == 2;
|
||||
util_format_get_nr_components(layout->format) == 2 &&
|
||||
!layout->is_mutable;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue