diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-04-14 14:12:59 -0600 |
|---|---|---|
| committer | Chia-I Wu <olv@lunarg.com> | 2015-04-16 17:48:20 +0800 |
| commit | 94b12ef51a6495efbec92d56754ef6c2947daf98 (patch) | |
| tree | e6828aa68fb420bb0d479e6293d62d3c8c53c6af /layers/param_checker.cpp | |
| parent | e2a7a99a62b5f3945c777ec2046f678fe45c77d2 (diff) | |
| download | usermoji-94b12ef51a6495efbec92d56754ef6c2947daf98.tar.xz | |
layers: Add extension Validation so loader will add layers with Validation
Also fix extension supported list in DrawState and ObjectTracker to include
their local extensions in GetGlobalExtensionInfo()
Diffstat (limited to 'layers/param_checker.cpp')
| -rw-r--r-- | layers/param_checker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp index c3cc8392..94550745 100644 --- a/layers/param_checker.cpp +++ b/layers/param_checker.cpp @@ -262,10 +262,11 @@ struct extProps { const char * const name; }; -#define PARAM_CHECKER_LAYER_EXT_ARRAY_SIZE 1 +#define PARAM_CHECKER_LAYER_EXT_ARRAY_SIZE 2 static const struct extProps pcExts[PARAM_CHECKER_LAYER_EXT_ARRAY_SIZE] = { // TODO what is the version? 0x10, "ParamChecker", + 0x10, "Validation", }; VK_LAYER_EXPORT VkResult VKAPI vkGetGlobalExtensionInfo( |
