mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 23:20:08 +01:00
radv: don't set ac_surf_index::surf_index to NULL
ac_surface.c already checks RADEON_SURF_SCANOUT. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38093>
This commit is contained in:
parent
482cc60345
commit
f0fde95e20
1 changed files with 0 additions and 2 deletions
|
|
@ -595,8 +595,6 @@ radv_patch_image_from_extra_info(struct radv_device *device, struct radv_image *
|
|||
image->planes[plane].surface.flags |= RADEON_SURF_SCANOUT;
|
||||
if (instance->debug_flags & RADV_DEBUG_NO_DISPLAY_DCC)
|
||||
image->planes[plane].surface.flags |= RADEON_SURF_DISABLE_DCC;
|
||||
|
||||
image_info->surf_index = NULL;
|
||||
}
|
||||
|
||||
if (create_info->prime_blit_src && !pdev->info.sdma_supports_compression) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue