anv/image: Rename anv_image_plane::surface -> primary_surface

This disambiguates code that accesses `image->planes[*].surface`.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8097>
This commit is contained in:
Chad Versace
2021-02-05 12:07:07 -08:00
committed by chadversary
parent e7844c552c
commit 5065faca00
5 changed files with 28 additions and 28 deletions

View File

@@ -3819,7 +3819,7 @@ struct anv_image {
VkDeviceSize size;
uint32_t alignment;
struct anv_surface surface;
struct anv_surface primary_surface;
/**
* A surface which shadows the main surface and may have different