diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-01-05 17:17:55 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-01-05 17:18:26 -0700 |
| commit | 6a541afad497aa09c14f48fe0350898bbd54c0b7 (patch) | |
| tree | dc57cd31e72c7e8c59b8729df55b16364d168c1b /layers/vk_layer_utils.cpp | |
| parent | e0a086b4063ce0392df4f949938e6d4d11f40287 (diff) | |
| download | usermoji-6a541afad497aa09c14f48fe0350898bbd54c0b7.tar.xz | |
layers: Fix circular make depency
Diffstat (limited to 'layers/vk_layer_utils.cpp')
| -rw-r--r-- | layers/vk_layer_utils.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/layers/vk_layer_utils.cpp b/layers/vk_layer_utils.cpp index 568d3b0c..36e3904d 100644 --- a/layers/vk_layer_utils.cpp +++ b/layers/vk_layer_utils.cpp @@ -577,24 +577,3 @@ unsigned int vk_format_get_channel_count(VkFormat format) { return vk_format_table[format].channel_count; } - -// Print readable FlagBits in FlagMask -std::string string_VkAccessFlags(VkAccessFlags accessMask) -{ - std::string result; - std::string separator; - - if (accessMask == 0) { - result = "[None]"; - } else { - result = "["; - for (auto i = 0; i < 32; i++) { - if (accessMask & (1 << i)) { - result = result + separator + string_VkAccessFlagBits((VkAccessFlagBits)(1 << i)); - separator = " | "; - } - } - result = result + "]"; - } - return result; -} |
