mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 19:10:14 +01:00
radeonsi: Enable 1D tiling for non-depth resources as well.
No piglit regressions anymore thanks to fixes in libdrm_radeon and here. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
90d919fcd0
commit
f0ffbbc9ff
1 changed files with 1 additions and 2 deletions
|
|
@ -522,8 +522,7 @@ struct pipe_resource *si_texture_create(struct pipe_screen *screen,
|
|||
int r;
|
||||
|
||||
if (!(templ->flags & R600_RESOURCE_FLAG_TRANSFER) &&
|
||||
!(templ->bind & PIPE_BIND_SCANOUT) &&
|
||||
util_format_is_depth_or_stencil(templ->format)) {
|
||||
!(templ->bind & PIPE_BIND_SCANOUT)) {
|
||||
if (permit_hardware_blit(screen, templ)) {
|
||||
array_mode = V_009910_ARRAY_1D_TILED_THIN1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue