Validation layer to detect any result other than VK_SUCCESS

I’ve taken to wrapping functions in a VkAssert() function that checks to confirm the result is VK_SUCCESS. Maybe it would be a good idea to have a validation layer that did this automatically? I prefer the validation layers over error checks I have to manually insert.

VK_ERROR_* is usually not a logical error, so it would make no sense being part of validation. It is your (app’s) responsibility to handle runtime errors.

But this feature is due to be reimplemented in VK_LAYER_LUNARG_assistant_layer: Vulkan-ValidationLayers#24