diff options
| author | Chris Forbes <chrisforbes@google.com> | 2016-10-13 14:44:03 +1300 |
|---|---|---|
| committer | Chris Forbes <chrisforbes@google.com> | 2016-10-14 15:13:10 +1300 |
| commit | 439daddb93c746ca53220d4aa6af0068593978d9 (patch) | |
| tree | d4afaec880fea4aeee8e1b9a0fa2106f46043388 /layers/parameter_validation_utils.h | |
| parent | 1553e8f2a494913cc9d902f25f81ac73a5a7ba19 (diff) | |
| download | usermoji-439daddb93c746ca53220d4aa6af0068593978d9.tar.xz | |
layers: Suppress warning generation after app acknowledges an error
The app already knows about the problem-- it has requested that the call
be skipped. Producing another warning afterward is just noise.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'layers/parameter_validation_utils.h')
| -rw-r--r-- | layers/parameter_validation_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/parameter_validation_utils.h b/layers/parameter_validation_utils.h index 4fe740cd..099018ef 100644 --- a/layers/parameter_validation_utils.h +++ b/layers/parameter_validation_utils.h @@ -796,7 +796,7 @@ static std::string get_result_description(VkResult result) { * @param value VkResult value to validate. */ static void validate_result(debug_report_data *report_data, const char *apiName, VkResult result) { - if (result < 0) { + if (result < 0 && result != VK_ERROR_VALIDATION_FAILED_EXT) { std::string resultName = string_VkResult(result); if (resultName == UnsupportedResultString) { |
