mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 12:10:09 +01:00
radv: set missing FMASK surface counters for MSAA MRTs
This has been removed few years ago by mistake but it's important for performance. This is mostly for addrlib to determine tile_swizzle which is used to make memory access faster with multiple render targets. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31797>
This commit is contained in:
parent
aa19bf3d93
commit
72871d8330
1 changed files with 1 additions and 0 deletions
|
|
@ -1073,6 +1073,7 @@ radv_get_ac_surf_info(struct radv_device *device, const struct radv_image *image
|
|||
VK_IMAGE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT)) &&
|
||||
image->vk.tiling != VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT) {
|
||||
info.surf_index = &device->image_mrt_offset_counter;
|
||||
info.fmask_surf_index = &device->fmask_mrt_offset_counter;
|
||||
}
|
||||
|
||||
return info;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue