KhronosGroup / Vulkan-LoaderAndValidationLayers

**Deprecated repository** for Vulkan loader and validation layers
Apache License 2.0
414 stars 172 forks source link

layers: Downgrade maxResourceSize check to warning #2487

Closed krOoze closed 6 years ago

krOoze commented 6 years ago

maybe addresses #2486

krOoze commented 6 years ago

PS: Ideally, it should trigger iff it actually returns the VK_ERROR_OUT_OF_DEVICE_MEMORY. Is there some obscure case where the image could actually use less resources than its parameters would suggest?

mark-lunarg commented 6 years ago

@krOoze, I'll to move this check to the assistant layer (#1612). I think we also talked about adding an interceptor to warn on any 'bad' return codes from the display driver, so I'll add that to the list as well (I think most of these have been removed from the layers).