aboutsummaryrefslogtreecommitdiff
path: root/layers/parameter_validation_utils.h
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2016-04-02 22:06:13 +0100
committerEric Engestrom <eric@engestrom.ch>2016-04-02 22:06:13 +0100
commitd66939f4449827f334cb77f1c4b4d99c30d1c507 (patch)
tree9089c802dba64444aa94091c487758ed65e64cb6 /layers/parameter_validation_utils.h
parentf7ace8cfdfa35b209d7cd2e9ea4f4773367c4dd1 (diff)
downloadusermoji-d66939f4449827f334cb77f1c4b4d99c30d1c507.tar.xz
layers: fix spelling mistakes
Diffstat (limited to 'layers/parameter_validation_utils.h')
-rw-r--r--layers/parameter_validation_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/parameter_validation_utils.h b/layers/parameter_validation_utils.h
index e3489f26..7003ccdd 100644
--- a/layers/parameter_validation_utils.h
+++ b/layers/parameter_validation_utils.h
@@ -538,7 +538,7 @@ static std::string get_result_description(VkResult result) {
"sharing an image";
case VK_ERROR_VALIDATION_FAILED_EXT: return "API validation has detected an invalid use of the API";
case VK_ERROR_INVALID_SHADER_NV: return "one or more shaders failed to compile or link";
- default: return "an error has occured";
+ default: return "an error has occurred";
};
// clang-format on
}
@@ -559,7 +559,7 @@ static void validate_result(debug_report_data *report_data, const char *apiName,
if (resultName == UnsupportedResultString) {
// Unrecognized result code
log_msg(report_data, VK_DEBUG_REPORT_WARNING_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__, 1,
- ParameterValidationName, "%s: returned a result code indicating that an error has occured", apiName);
+ ParameterValidationName, "%s: returned a result code indicating that an error has occurred", apiName);
} else {
std::string resultDesc = get_result_description(result);
log_msg(report_data, VK_DEBUG_REPORT_WARNING_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__, 1,