From: Marek Olšák Date: Sun, 3 Mar 2013 13:54:31 +0000 (+0100) Subject: r600g: allocate FMASK right after the texture, so that it's aligned with it X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52efa01de0c24ed59079a888b7ba1ad6bc5ebaf8;p=mesa.git r600g: allocate FMASK right after the texture, so that it's aligned with it This avoids the kernel CS checker errors with MSAA textures. Reviewed-by: Jerome Glisse --- diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 484045ed4f0..482559217bf 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -435,8 +435,8 @@ r600_texture_create_object(struct pipe_screen *screen, } if (base->nr_samples > 1 && !rtex->is_depth && !buf) { - r600_texture_allocate_cmask(rscreen, rtex); r600_texture_allocate_fmask(rscreen, rtex); + r600_texture_allocate_cmask(rscreen, rtex); } if (!rtex->is_depth && base->nr_samples > 1 &&