aboutsummaryrefslogtreecommitdiff
path: root/loader/LoaderAndLayerInterface.md
diff options
context:
space:
mode:
authorMark Young <marky@lunarg.com>2017-05-04 12:16:35 -0600
committerMark Young <marky@lunarg.com>2017-05-09 11:01:03 -0600
commitc5bd152da9aebd7b3a073bddbdf78dcd7dce5a86 (patch)
treedd0a217a46d238d5570fa31e8c802a0ed0cb6278 /loader/LoaderAndLayerInterface.md
parent3d876c1544ba6325720a64c248e8eb0214e55d6e (diff)
downloadusermoji-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 'loader/LoaderAndLayerInterface.md')
0 files changed, 0 insertions, 0 deletions