diff options
| author | Dustin Graves <dustin@lunarg.com> | 2016-04-26 15:37:10 -0600 |
|---|---|---|
| committer | Dustin Graves <dustin@lunarg.com> | 2016-04-28 17:24:42 -0600 |
| commit | d33465e2c8a578a4e1bbd15e76d5e0f674aa7364 (patch) | |
| tree | b06eedc0c87de76650c68c31607bb3cea07aebb8 /layers/core_validation.cpp | |
| parent | 298e942df7ae24098c8338a98163556566afed1e (diff) | |
| download | usermoji-d33465e2c8a578a4e1bbd15e76d5e0f674aa7364.tar.xz | |
layers: Add VkFlags parameter validation
Add parameter validation for VkFlags derived types to the
parameter_validation layer's code generation scripts. The following
validation checks are performed:
- If a VkFlags parameter is not marked as optional in the XML, a message
is generated when the parameter is 0.
- If a VkFlags parameter is not 0, a message is generated if it combines
bits that are not defined by its associated flag bits enumeration.
- If a VkFlags parameter does not have an associated flag bits
enumeration it is treated as a reserved value that must be 0.
Change-Id: I6daed360cde46e2a27c84deda1e0798621f92d50
Diffstat (limited to 'layers/core_validation.cpp')
0 files changed, 0 insertions, 0 deletions
