diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-06-27 15:24:48 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-06-29 13:52:13 -0600 |
| commit | 72e1b146a6230276552444ff766f20ceaef56d24 (patch) | |
| tree | a352f5d2ccc532b58840becbcef14ba990f896d4 | |
| parent | 6cea77373058f62d7bb1079d6694b48c5d6b4039 (diff) | |
| download | usermoji-72e1b146a6230276552444ff766f20ceaef56d24.tar.xz | |
layers: Add DevLimits error codes to CV.h
Change-Id: I1c5a6eade6c1beeb9e9320357a000c3253e7d77c
| -rw-r--r-- | layers/core_validation_error_enums.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layers/core_validation_error_enums.h b/layers/core_validation_error_enums.h index 3918da75..d978d8e5 100644 --- a/layers/core_validation_error_enums.h +++ b/layers/core_validation_error_enums.h @@ -222,6 +222,7 @@ enum DRAW_STATE_ERROR { DRAWSTATE_PUSH_CONSTANTS_ERROR, // Push constants exceed maxPushConstantSize }; +// Shader Checker ERROR codes enum SHADER_CHECKER_ERROR { SHADER_CHECKER_NONE, SHADER_CHECKER_INTERFACE_TYPE_MISMATCH, // Type mismatch between shader stages or shader and pipeline @@ -242,4 +243,20 @@ enum SHADER_CHECKER_ERROR { SHADER_CHECKER_BAD_CAPABILITY, // Shader uses capability not supported by Vulkan (OpenCL features) }; +// Device Limits ERROR codes +enum DEV_LIMITS_ERROR { + DEVLIMITS_NONE, // Used for INFO & other non-error messages + DEVLIMITS_INVALID_INSTANCE, // Invalid instance used + DEVLIMITS_INVALID_PHYSICAL_DEVICE, // Invalid physical device used + DEVLIMITS_INVALID_INHERITED_QUERY, // Invalid use of inherited query + DEVLIMITS_INVALID_ATTACHMENT_COUNT, // Invalid value for the number of attachments + DEVLIMITS_MISSING_QUERY_COUNT, // Did not make initial call to an API to query the count + DEVLIMITS_MUST_QUERY_COUNT, // Failed to make initial call to an API to query the count + DEVLIMITS_INVALID_CALL_SEQUENCE, // Flag generic case of an invalid call sequence by the app + DEVLIMITS_INVALID_FEATURE_REQUESTED, // App requested a feature not supported by physical device + DEVLIMITS_COUNT_MISMATCH, // App requesting a count value different than actual value + DEVLIMITS_INVALID_QUEUE_CREATE_REQUEST, // Invalid queue requested based on queue family properties + DEVLIMITS_INVALID_UNIFORM_BUFFER_OFFSET, // Uniform buffer offset violates device limit granularity + DEVLIMITS_INVALID_STORAGE_BUFFER_OFFSET, // Storage buffer offset violates device limit granularity +}; #endif // CORE_VALIDATION_ERROR_ENUMS_H_ |
