diff options
author | Marek Olšák <maraeo@gmail.com> | 2012-11-13 00:36:00 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2012-11-13 15:00:37 +0100 |
commit | d4780fddb158ad83c45b565a7ace008639520fb2 (patch) | |
tree | 014d0d9d2a22f83f7f49fafb3fc4f284a4f00634 /src/gallium/drivers/r600/r600_texture.c | |
parent | c9e530922357d52ab1e517b1f0d4aa076abd3737 (diff) | |
download | external_mesa3d-d4780fddb158ad83c45b565a7ace008639520fb2.zip external_mesa3d-d4780fddb158ad83c45b565a7ace008639520fb2.tar.gz external_mesa3d-d4780fddb158ad83c45b565a7ace008639520fb2.tar.bz2 |
r600g: untiled window-system buffers should be LINEAR_ALIGNED
though I guess the DDX allocates them as LINEAR_GENERAL
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 7e48f27..42010bf 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) { |