diff options
author | Marek Olšák <[email protected]> | 2013-03-03 14:54:31 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-03-11 13:43:36 +0100 |
commit | 52efa01de0c24ed59079a888b7ba1ad6bc5ebaf8 (patch) | |
tree | 868e32d636234c9b4d0bcc2f9c98ea8cedda87ae /src/gallium/drivers/r600/r600_texture.c | |
parent | 2c339f801516d4f6201e8bd4cd0fe0033f36046a (diff) |
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 <[email protected]>
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 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 && |