From 635272d014bafb1409a171fc3050d5d6f64a503f Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Mon, 7 Mar 2016 17:54:07 -0700 Subject: demos: Change layer order in cube.c to put param_check sooner. Also make the order match the standard meta layer. Change-Id: Id250b9fe89b9d85d9e8ab6b803474f2c449fc6b1 --- demos/cube.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/demos/cube.c b/demos/cube.c index e85747c8..6b6b429d 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -2134,21 +2134,21 @@ static void demo_init_vk(struct demo *demo) { uint32_t enabled_layer_count = 0; char *instance_validation_layers[] = { - "VK_LAYER_GOOGLE_threading", "VK_LAYER_LUNARG_mem_tracker", - "VK_LAYER_LUNARG_object_tracker", "VK_LAYER_LUNARG_draw_state", - "VK_LAYER_LUNARG_param_checker", "VK_LAYER_LUNARG_swapchain", - "VK_LAYER_LUNARG_device_limits", "VK_LAYER_LUNARG_image", - "VK_LAYER_GOOGLE_unique_objects", + "VK_LAYER_GOOGLE_threading", "VK_LAYER_LUNARG_param_checker", + "VK_LAYER_LUNARG_device_limits", "VK_LAYER_LUNARG_object_tracker", + "VK_LAYER_LUNARG_image", "VK_LAYER_LUNARG_mem_tracker", + "VK_LAYER_LUNARG_draw_state", "VK_LAYER_LUNARG_swapchain", + "VK_LAYER_GOOGLE_unique_objects" }; demo->device_validation_layers[0] = "VK_LAYER_GOOGLE_threading"; - demo->device_validation_layers[1] = "VK_LAYER_LUNARG_mem_tracker"; - demo->device_validation_layers[2] = "VK_LAYER_LUNARG_object_tracker"; - demo->device_validation_layers[3] = "VK_LAYER_LUNARG_draw_state"; - demo->device_validation_layers[4] = "VK_LAYER_LUNARG_param_checker"; - demo->device_validation_layers[5] = "VK_LAYER_LUNARG_swapchain"; - demo->device_validation_layers[6] = "VK_LAYER_LUNARG_device_limits"; - demo->device_validation_layers[7] = "VK_LAYER_LUNARG_image"; + demo->device_validation_layers[1] = "VK_LAYER_LUNARG_param_checker"; + demo->device_validation_layers[2] = "VK_LAYER_LUNARG_device_limits"; + demo->device_validation_layers[3] = "VK_LAYER_LUNARG_object_tracker"; + demo->device_validation_layers[4] = "VK_LAYER_LUNARG_image"; + demo->device_validation_layers[5] = "VK_LAYER_LUNARG_mem_tracker"; + demo->device_validation_layers[6] = "VK_LAYER_LUNARG_draw_state"; + demo->device_validation_layers[7] = "VK_LAYER_LUNARG_swapchain"; demo->device_validation_layers[8] = "VK_LAYER_GOOGLE_unique_objects"; device_validation_layer_count = 9; -- cgit v1.2.3