layers: Add 0 check for VkFlags array elements
authorDustin Graves <dustin@lunarg.com>
Thu, 28 Apr 2016 23:58:59 +0000 (17:58 -0600)
committerDustin Graves <dustin@lunarg.com>
Fri, 29 Apr 2016 00:10:08 +0000 (18:10 -0600)
commit69d0d7f5fcfca65fc27a185e6376d7b925afcb85
tree36d126b94950e33d377377a528b3c6daef38af5d
parentd33465e2c8a578a4e1bbd15e76d5e0f674aa7364
layers: Add 0 check for VkFlags array elements

- Add parameter validation for the case where the elements in an
  array of VkFlags values must not be 0
- Replace the template parameter in the VkFlags validation functions
  with the VkFlags base type.

Change-Id: Ie85d4d048b21e73409ff817425a1db64570e1b2f
generator.py
layers/parameter_validation_utils.h