X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fintel%2Fvulkan%2Fanv_dump.c;h=f3447f43b2190af65616cfaec9b69abe8b3baa8c;hb=c9bebae2877e55cdcd94f9f9f3f6805238caeb28;hp=337423f07f16d5e1cc774efa359ee05f0429c88f;hpb=806e5a37ed820b9d6796df0663809e0e4d2bfebc;p=mesa.git diff --git a/src/intel/vulkan/anv_dump.c b/src/intel/vulkan/anv_dump.c index 337423f07f1..f3447f43b21 100644 --- a/src/intel/vulkan/anv_dump.c +++ b/src/intel/vulkan/anv_dump.c @@ -62,7 +62,7 @@ dump_image_init(struct anv_device *device, struct dump_image *image, uint32_t width, uint32_t height, const char *filename) { VkDevice vk_device = anv_device_to_handle(device); - MAYBE_UNUSED VkResult result; + ASSERTED VkResult result; image->filename = filename; image->extent = (VkExtent2D) { width, height }; @@ -200,7 +200,7 @@ static void dump_image_write_to_ppm(struct anv_device *device, struct dump_image *image) { VkDevice vk_device = anv_device_to_handle(device); - MAYBE_UNUSED VkResult result; + ASSERTED VkResult result; VkMemoryRequirements reqs; anv_GetImageMemoryRequirements(vk_device, image->image, &reqs); @@ -249,7 +249,7 @@ anv_dump_image_to_ppm(struct anv_device *device, const char *filename) { VkDevice vk_device = anv_device_to_handle(device); - MAYBE_UNUSED VkResult result; + ASSERTED VkResult result; PFN_vkBeginCommandBuffer BeginCommandBuffer = (void *)anv_GetDeviceProcAddr(anv_device_to_handle(device),