Commit ee8d65c2 authored by Lionel Landwerlin's avatar Lionel Landwerlin

anv/image: remove unused parameter

Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
parent 352e2970
...@@ -245,7 +245,6 @@ all_formats_ccs_e_compatible(const struct gen_device_info *devinfo, ...@@ -245,7 +245,6 @@ all_formats_ccs_e_compatible(const struct gen_device_info *devinfo,
*/ */
static void static void
add_aux_state_tracking_buffer(struct anv_image *image, add_aux_state_tracking_buffer(struct anv_image *image,
VkImageAspectFlagBits aspect,
uint32_t plane, uint32_t plane,
const struct anv_device *device) const struct anv_device *device)
{ {
...@@ -463,7 +462,7 @@ make_surface(const struct anv_device *dev, ...@@ -463,7 +462,7 @@ make_surface(const struct anv_device *dev,
} }
add_surface(image, &image->planes[plane].aux_surface, plane); add_surface(image, &image->planes[plane].aux_surface, plane);
add_aux_state_tracking_buffer(image, aspect, plane, dev); add_aux_state_tracking_buffer(image, plane, dev);
/* For images created without MUTABLE_FORMAT_BIT set, we know that /* For images created without MUTABLE_FORMAT_BIT set, we know that
* they will always be used with the original format. In * they will always be used with the original format. In
...@@ -487,7 +486,7 @@ make_surface(const struct anv_device *dev, ...@@ -487,7 +486,7 @@ make_surface(const struct anv_device *dev,
&image->planes[plane].aux_surface.isl); &image->planes[plane].aux_surface.isl);
if (ok) { if (ok) {
add_surface(image, &image->planes[plane].aux_surface, plane); add_surface(image, &image->planes[plane].aux_surface, plane);
add_aux_state_tracking_buffer(image, aspect, plane, dev); add_aux_state_tracking_buffer(image, plane, dev);
image->planes[plane].aux_usage = ISL_AUX_USAGE_MCS; image->planes[plane].aux_usage = ISL_AUX_USAGE_MCS;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment