aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Schultz <karl@lunarg.com>2016-03-07 17:54:07 -0700
committerKarl Schultz <karl@lunarg.com>2016-03-07 17:56:09 -0700
commit635272d014bafb1409a171fc3050d5d6f64a503f (patch)
treebf5002674223e8c1d46d2d19ed379b242020ff82
parent23ba2e196864117792d464af3815c73d77fbe43e (diff)
downloadusermoji-635272d014bafb1409a171fc3050d5d6f64a503f.tar.xz
demos: Change layer order in cube.c to put param_check sooner.
Also make the order match the standard meta layer. Change-Id: Id250b9fe89b9d85d9e8ab6b803474f2c449fc6b1
-rw-r--r--demos/cube.c24
1 files 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;