From c5bd152da9aebd7b3a073bddbdf78dcd7dce5a86 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Thu, 4 May 2017 12:16:35 -0600 Subject: loader: Fix layer Enumerate bug This fixes a bug found by Timothee Besset regarding calling vkEnumerateDeviceLayerProperties when no layers are present. This resulted in a negative number being filled into a uint32_t which caused an invalid number of layers to be returned. Now that we have meta-layers implemented instead of hard-coded, I created two lists: an application provided list of layers, and an expanded list of layers (where meta-layers are broken up into their component layers). The former is used when working with the enumerate calls, but the later is used internally for final layer activation. Change-Id: If723fdfb5acb1dc57923282d2c641c582870ad1c --- layers/linux/VkLayer_standard_validation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layers/linux/VkLayer_standard_validation.json') diff --git a/layers/linux/VkLayer_standard_validation.json b/layers/linux/VkLayer_standard_validation.json index f8f775db..9fee3627 100644 --- a/layers/linux/VkLayer_standard_validation.json +++ b/layers/linux/VkLayer_standard_validation.json @@ -3,7 +3,7 @@ "layer": { "name": "VK_LAYER_LUNARG_standard_validation", "type": "GLOBAL", - "api_version": "1.0.49", + "api_version": "1.0.48", "implementation_version": "1", "description": "LunarG Standard Validation", "component_layers": [ -- cgit v1.2.3