layers: Fix transposed messages
Fix parameter_validation::get_result_rescription utility
function, which had the messages for VK_ERROR_DEVICE_LOST
and VK_ERROR_INITIALIZATION_FAILED transposed.
Change-Id: I47126389cbfafce663ec474fa04b899e6f2f663c
diff --git a/layers/parameter_validation_utils.h b/layers/parameter_validation_utils.h
index 1683f31..effd053 100644
--- a/layers/parameter_validation_utils.h
+++ b/layers/parameter_validation_utils.h
@@ -717,8 +717,8 @@
case VK_INCOMPLETE: return "a return array was too small for the result";
case VK_ERROR_OUT_OF_HOST_MEMORY: return "a host memory allocation has failed";
case VK_ERROR_OUT_OF_DEVICE_MEMORY: return "a device memory allocation has failed";
- case VK_ERROR_INITIALIZATION_FAILED: return "the logical device has been lost";
- case VK_ERROR_DEVICE_LOST: return "initialization of an object has failed";
+ case VK_ERROR_INITIALIZATION_FAILED: return "initialization of an object has failed";
+ case VK_ERROR_DEVICE_LOST: return "the logical device has been lost";
case VK_ERROR_MEMORY_MAP_FAILED: return "mapping of a memory object has failed";
case VK_ERROR_LAYER_NOT_PRESENT: return "the specified layer does not exist";
case VK_ERROR_EXTENSION_NOT_PRESENT: return "the specified extension does not exist";