diff options
| author | Mark Young <marky@lunarg.com> | 2017-05-04 12:16:35 -0600 |
|---|---|---|
| committer | Mark Young <marky@lunarg.com> | 2017-05-09 11:01:03 -0600 |
| commit | c5bd152da9aebd7b3a073bddbdf78dcd7dce5a86 (patch) | |
| tree | dd0a217a46d238d5570fa31e8c802a0ed0cb6278 /layers/windows | |
| parent | 3d876c1544ba6325720a64c248e8eb0214e55d6e (diff) | |
| download | usermoji-c5bd152da9aebd7b3a073bddbdf78dcd7dce5a86.tar.xz | |
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
Diffstat (limited to 'layers/windows')
| -rw-r--r-- | layers/windows/VkLayer_standard_validation.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/windows/VkLayer_standard_validation.json b/layers/windows/VkLayer_standard_validation.json index f8f775db..9fee3627 100644 --- a/layers/windows/VkLayer_standard_validation.json +++ b/layers/windows/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": [ |
