mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
crocus: switch gen4/5 tiling flags to follow suggestions.
Fixes: 6043f66dd3 ("crocus: disable Y tiling for render targets properly.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21300>
This commit is contained in:
parent
723569d71e
commit
6d3c79fa4c
1 changed files with 2 additions and 3 deletions
|
|
@ -189,9 +189,8 @@ crocus_resource_configure_main(const struct crocus_screen *screen,
|
|||
|
||||
tiling_flags = 1 << res->mod_info->tiling;
|
||||
} else {
|
||||
if (templ->bind & PIPE_BIND_RENDER_TARGET && devinfo->ver < 6) {
|
||||
tiling_flags &= ~ISL_TILING_Y0_BIT;
|
||||
}
|
||||
if (templ->bind & PIPE_BIND_RENDER_TARGET && devinfo->ver < 6)
|
||||
tiling_flags &= ISL_TILING_LINEAR_BIT | ISL_TILING_X_BIT;
|
||||
/* Use linear for staging buffers */
|
||||
if (templ->usage == PIPE_USAGE_STAGING ||
|
||||
templ->bind & (PIPE_BIND_LINEAR | PIPE_BIND_CURSOR) )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue