projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40a9733
)
layers: Reduce noise in string conversion of objects
author
Chris Forbes
<chrisforbes@google.com>
Tue, 29 Mar 2016 21:20:37 +0000
(10:20 +1300)
committer
Tobin Ehlis
<tobine@google.com>
Wed, 30 Mar 2016 13:00:00 +0000
(07:00 -0600)
Signed-off-by: Chris Forbes <chrisforbes@google.com>
layers/core_validation.cpp
patch
|
blob
|
history
diff --git
a/layers/core_validation.cpp
b/layers/core_validation.cpp
index
f8f3882
..
d950dc0
100644
(file)
--- a/
layers/core_validation.cpp
+++ b/
layers/core_validation.cpp
@@
-739,13
+739,10
@@
static const char *object_type_to_string(VkDebugReportObjectTypeEXT type) {
switch (type) {
case VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT:
return "image";
- break;
case VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT:
return "buffer";
- break;
case VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT:
return "swapchain";
- break;
default:
return "unknown";
}