aboutsummaryrefslogtreecommitdiff
path: root/layers/multi.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-07 17:28:17 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-18 10:18:20 -0600
commitfd21d36c9c2eb1a207ce706ea8cb5ad55d8ef3ac (patch)
tree816f03587b704e6b03b1ab04c2c50044abb68f67 /layers/multi.cpp
parent8b9459466c3824e563d84baf129d1456cf118139 (diff)
downloadusermoji-fd21d36c9c2eb1a207ce706ea8cb5ad55d8ef3ac.tar.xz
loader: Only allow layer in chain once
If an application were to specify a "Validatio" layer and the environment specified a ParamChecker layer it was possible to load the same layer twice in one chain. Layers don't like that can only be referenced once and that's all they need to support multiple extensions from the one layer. This patch adds an alias pointer so that when putting together the lists of available extensions the loader can keep track of multiple extensions that are servied by the same library. Also now create specific activated_layers_list that contains only the list of layers that need to be activated.
Diffstat (limited to 'layers/multi.cpp')
0 files changed, 0 insertions, 0 deletions