diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-08-16 01:48:57 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-08-16 01:48:57 +0000 |
| commit | ee4dc68b011c4609fd9b2e455c83c1ffbf807cb3 (patch) | |
| tree | 6b743161bdf9855779b792f053ac05e003b97eb4 /Graphics/GraphicsEngineVulkan | |
| parent | Fixed 32-bit Windows build (diff) | |
| download | DiligentCore-ee4dc68b011c4609fd9b2e455c83c1ffbf807cb3.tar.gz DiligentCore-ee4dc68b011c4609fd9b2e455c83c1ffbf807cb3.zip | |
Vk backend: using VK_LAYER_KHRONOS_validation on all platforms
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/include/VulkanUtilities/VulkanDebug.hpp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/VulkanUtilities/VulkanDebug.hpp b/Graphics/GraphicsEngineVulkan/include/VulkanUtilities/VulkanDebug.hpp index 89ec3d87..0a2f04ad 100644 --- a/Graphics/GraphicsEngineVulkan/include/VulkanUtilities/VulkanDebug.hpp +++ b/Graphics/GraphicsEngineVulkan/include/VulkanUtilities/VulkanDebug.hpp @@ -7,25 +7,11 @@ namespace VulkanUtilities { // clang-format off -// Default validation layers -#if !PLATFORM_ANDROID -// On desktop the LunarG loaders exposes a meta layer that contains all layers +// Unified validation layer used on Desktop and Mobile platforms static constexpr const char* ValidationLayerNames[] = { "VK_LAYER_KHRONOS_validation" }; -#else -// On Android we need to explicitly select all layers -static constexpr const char *ValidationLayerNames[] = -{ - "VK_LAYER_GOOGLE_threading", - "VK_LAYER_LUNARG_parameter_validation", - "VK_LAYER_LUNARG_object_tracker", - "VK_LAYER_LUNARG_core_validation", - "VK_LAYER_LUNARG_swapchain", - "VK_LAYER_GOOGLE_unique_objects" -}; -#endif // clang-format on // Load debug function pointers and set debug callback |
