vk: Add a couple vk_error calls
[mesa.git] / src / vulkan / device.c
index 8cb5b3f8c934a90e2b06449248c4825e8ad4fb0c..3df707429e1a12149a887d3461e5726aa7500d7f 100644 (file)
@@ -1221,7 +1221,7 @@ VkResult anv_GetObjectInfo(
       return VK_SUCCESS;
 
    default:
-      return VK_UNSUPPORTED;
+      return vk_error(VK_UNSUPPORTED);
    }
 
 }