diff options
| author | Michael Lentine <mlentine@google.com> | 2016-04-13 17:12:57 -0500 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-04-13 16:33:18 -0600 |
| commit | 3732cf72aa666873d2f31cbddf3a53e74efad2c8 (patch) | |
| tree | 30f94b8fb61ad28d56c897316d7761e2be6ba664 /layers/core_validation.cpp | |
| parent | 9153c4bc54dc0810b33213e21e3ea2dbeb74a97b (diff) | |
| download | usermoji-3732cf72aa666873d2f31cbddf3a53e74efad2c8.tar.xz | |
layers: Change access bit checks to warnings.
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 24365aa4..65f8a1ca 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -8184,7 +8184,7 @@ static bool ValidateMaskBits(const layer_data *my_data, VkCommandBuffer cmdBuffe } } else { if (!required_bit) { - skip_call |= log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__, + skip_call |= log_msg(my_data->report_data, VK_DEBUG_REPORT_WARNING_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__, DRAWSTATE_INVALID_BARRIER, "DS", "%s AccessMask %d %s must contain at least one of access bits %d " "%s when layout is %s, unless the app has previously added a " "barrier for this transition.", @@ -8197,7 +8197,7 @@ static bool ValidateMaskBits(const layer_data *my_data, VkCommandBuffer cmdBuffe ss << optional_bits; opt_bits = "and may have optional bits " + ss.str() + ' ' + string_VkAccessFlags(optional_bits); } - skip_call |= log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__, + skip_call |= log_msg(my_data->report_data, VK_DEBUG_REPORT_WARNING_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__, DRAWSTATE_INVALID_BARRIER, "DS", "%s AccessMask %d %s must have required access bit %d %s %s when " "layout is %s, unless the app has previously added a barrier for " "this transition.", |
