amdgpu: fix for linear tiling mode detection fin color buffers
This commit is contained in:
parent
7d1e9332d8
commit
d805c65b06
|
@ -766,7 +766,7 @@ struct Liverpool {
|
|||
}
|
||||
|
||||
TilingMode GetTilingMode() const {
|
||||
return attrib.tile_mode_index;
|
||||
return info.linear_general ? TilingMode::Display_Linear : attrib.tile_mode_index;
|
||||
}
|
||||
|
||||
bool IsTiled() const {
|
||||
|
|
Loading…
Reference in New Issue