diff options
author | Marek Olšák <[email protected]> | 2013-09-24 14:15:00 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-09-25 20:45:22 +0200 |
commit | 57f38e9f921bcfac0087765b4acb2c258604ea29 (patch) | |
tree | d92e0d5e353a836e16124924fcdd36e31244bf2d /src/gallium/drivers/radeonsi/r600_resource.h | |
parent | 296adb6de96e697a4bf0c78524da5320489d2662 (diff) |
radeonsi: fix blitting the last 2 mipmap levels of compressed textures
This fixes compressedteximage piglit tests.
+10 piglits
Evergreen and Cayman have the same issue. R600 and R700 don't.
Cc: "9.2" <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600_resource.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/r600_resource.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_resource.h b/src/gallium/drivers/radeonsi/r600_resource.h index 3f9c7692728..185ae25205b 100644 --- a/src/gallium/drivers/radeonsi/r600_resource.h +++ b/src/gallium/drivers/radeonsi/r600_resource.h @@ -67,6 +67,7 @@ struct r600_texture { struct r600_texture *flushed_depth_texture; boolean is_flushing_texture; struct radeon_surface surface; + unsigned mipmap_shift; /* Colorbuffer compression and fast clear. */ struct r600_fmask_info fmask; |