diff options
author | Ian Romanick <[email protected]> | 2020-05-11 13:09:17 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-14 16:47:08 +0000 |
commit | 4cb2330e56568ae705e09e377ccc501051b2514e (patch) | |
tree | 683250cbe959ca7a254b997462152542c72046fa /src | |
parent | b44eb50f2d125420c2c78d45e112bc3c2ee1472c (diff) |
anv: Silence unused parameter warning in anv_image_get_clear_color_addr
...in every file that includes anv_private.h.
In file included from src/intel/vulkan/genX_cmd_buffer.c:27:
src/intel/vulkan/anv_private.h: In function ‘anv_image_get_clear_color_addr’:
src/intel/vulkan/anv_private.h:3690:57: warning: unused parameter ‘device’ [-Wunused-parameter]
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4994>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 1900cc17834..5e3724534c3 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -3704,7 +3704,7 @@ anv_image_aux_layers(const struct anv_image * const image, } static inline struct anv_address -anv_image_get_clear_color_addr(const struct anv_device *device, +anv_image_get_clear_color_addr(UNUSED const struct anv_device *device, const struct anv_image *image, VkImageAspectFlagBits aspect) { |