From: Marek Olšák Date: Mon, 12 Nov 2012 23:36:00 +0000 (+0100) Subject: r600g: untiled window-system buffers should be LINEAR_ALIGNED X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4780fddb158ad83c45b565a7ace008639520fb2;p=mesa.git r600g: untiled window-system buffers should be LINEAR_ALIGNED though I guess the DDX allocates them as LINEAR_GENERAL Reviewed-by: Alex Deucher --- diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 7e48f2766a7..42010bf7785 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -604,7 +604,7 @@ struct pipe_resource *r600_texture_from_handle(struct pipe_screen *screen, else if (micro == RADEON_LAYOUT_TILED) array_mode = V_0280A0_ARRAY_1D_TILED_THIN1; else - array_mode = 0; + array_mode = V_038000_ARRAY_LINEAR_ALIGNED; r = r600_init_surface(rscreen, &surface, templ, array_mode, false); if (r) {