summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/hellovulkancubes/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vulkan/hellovulkancubes/main.cpp')
-rw-r--r--examples/vulkan/hellovulkancubes/main.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/examples/vulkan/hellovulkancubes/main.cpp b/examples/vulkan/hellovulkancubes/main.cpp
index 4ec4d48645..9c5244bbdf 100644
--- a/examples/vulkan/hellovulkancubes/main.cpp
+++ b/examples/vulkan/hellovulkancubes/main.cpp
@@ -63,19 +63,7 @@ int main(int argc, char **argv)
if (dbg) {
QLoggingCategory::setFilterRules(QStringLiteral("qt.vulkan=true"));
-
-#ifndef Q_OS_ANDROID
- inst.setLayers(QByteArrayList() << "VK_LAYER_LUNARG_standard_validation");
-#else
- inst.setLayers(QByteArrayList()
- << "VK_LAYER_GOOGLE_threading"
- << "VK_LAYER_LUNARG_parameter_validation"
- << "VK_LAYER_LUNARG_object_tracker"
- << "VK_LAYER_LUNARG_core_validation"
- << "VK_LAYER_LUNARG_image"
- << "VK_LAYER_LUNARG_swapchain"
- << "VK_LAYER_GOOGLE_unique_objects");
-#endif
+ inst.setLayers({ "VK_LAYER_KHRONOS_validation" });
}
if (!inst.create())