Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9415>
*/
cb->cb_color_info |= S_028C70_FMASK_COMPRESS_1FRAG_ONLY(1);
- /* Set CMASK into a tiling format that allows the
- * texture block to read it.
- */
- cb->cb_color_info |= S_028C70_CMASK_ADDR_TYPE(2);
+ if (device->physical_device->rad_info.chip_class == GFX8) {
+ /* Set CMASK into a tiling format that allows
+ * the texture block to read it.
+ */
+ cb->cb_color_info |= S_028C70_CMASK_ADDR_TYPE(2);
+ }
}
}