mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 20:20:18 +01:00
r300g: do not use tiling for scanout buffers
This commit is contained in:
parent
5a43dbac68
commit
f43c679c0b
1 changed files with 2 additions and 1 deletions
|
|
@ -801,7 +801,8 @@ static struct pipe_texture* r300_texture_create(struct pipe_screen* screen,
|
|||
tex->tex.screen = screen;
|
||||
|
||||
r300_setup_flags(tex);
|
||||
if (!(base->tex_usage & R300_TEXTURE_USAGE_TRANSFER)) {
|
||||
if (!(base->tex_usage & R300_TEXTURE_USAGE_TRANSFER) &&
|
||||
!(tex->tex.tex_usage & PIPE_TEXTURE_USAGE_SCANOUT)) {
|
||||
r300_setup_tiling(screen, tex);
|
||||
}
|
||||
r300_setup_miptree(rscreen, tex);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue