diff options
-rw-r--r-- | src/intel/vulkan/anv_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 36f5d47e1a5..55402b25571 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -365,7 +365,7 @@ VkResult anv_BindImageMemory( device->info.has_llc ? 0 : I915_MMAP_WC); if (map == MAP_FAILED) - return vk_error(VK_ERROR_MEMORY_MAP_FAILED); + return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); memset(map, 0, image->aux_surface.isl.size); |