mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
asahi: generalize tiling checks
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34585>
This commit is contained in:
parent
c4130af883
commit
72f3dcc8da
1 changed files with 1 additions and 1 deletions
|
|
@ -1310,7 +1310,7 @@ agx_batch_upload_pbe(struct agx_batch *batch, struct agx_pbe_packed *out,
|
|||
ail_get_level_offset_B(&tex->layout, cfg.level);
|
||||
}
|
||||
|
||||
if (tex->layout.tiling == AIL_TILING_GPU || emrt) {
|
||||
if (tex->layout.tiling != AIL_TILING_LINEAR || emrt) {
|
||||
struct ail_tile tile_size = tex->layout.tilesize_el[level];
|
||||
cfg.tile_width_sw = tile_size.width_el;
|
||||
cfg.tile_height_sw = tile_size.height_el;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue