The bit has moved to FDCC_ENABLE on GFX11.
Found by inspection.
Cc: 22.3 mesa-stable
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/20005>
(cherry picked from commit
ccac91db7bbf3b428ad4138e0982c54636b4b96c)
"description": "radv: make sure to mark DCC as compressed on GFX11",
"nominated": true,
"nomination_type": 0,
- "resolution": 0,
+ "resolution": 1,
"main_sha": null,
"because_sha": null
},
}
}
- if (G_028C70_DCC_ENABLE(cb_color_info)) {
+ if (cmd_buffer->device->physical_device->rad_info.gfx_level >= GFX11
+ ? G_028C78_FDCC_ENABLE(cb_fdcc_control)
+ : G_028C70_DCC_ENABLE(cb_color_info)) {
/* Drawing with DCC enabled also compresses colorbuffers. */
VkImageSubresourceRange range = {
.aspectMask = iview->vk.aspects,