Commit f43c679c authored by Marek Olšák's avatar Marek Olšák
Browse files

r300g: do not use tiling for scanout buffers

parent 5a43dbac
......@@ -801,7 +801,8 @@ static struct pipe_texture* r300_texture_create(struct pipe_screen* screen,
tex->tex.screen = screen;
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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment