diff options
author | Lionel Landwerlin <[email protected]> | 2018-11-01 16:53:48 +0000 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2018-11-13 18:56:13 +0000 |
commit | ee8d65c25a3419b07e76816930a4f917064e0f6f (patch) | |
tree | 626c1529f8bf2629e7e7495ac593013ae738ca12 /src/intel | |
parent | 352e2970919898df87dd81795c820fea2f20e0e0 (diff) |
anv/image: remove unused parameter
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_image.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index fdb13c2938a..b284ed4b40f 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -245,7 +245,6 @@ all_formats_ccs_e_compatible(const struct gen_device_info *devinfo, */ static void add_aux_state_tracking_buffer(struct anv_image *image, - VkImageAspectFlagBits aspect, uint32_t plane, const struct anv_device *device) { @@ -463,7 +462,7 @@ make_surface(const struct anv_device *dev, } 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 * they will always be used with the original format. In @@ -487,7 +486,7 @@ make_surface(const struct anv_device *dev, &image->planes[plane].aux_surface.isl); if (ok) { 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; } } |