layers: Add error codes for parameter_validation
authorDustin Graves <dustin@lunarg.com>
Thu, 5 May 2016 19:44:21 +0000 (13:44 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Mon, 9 May 2016 17:46:23 +0000 (11:46 -0600)
commita0f0b6723c062a5e010cd2c99e5f06d668c2d464
treeea2b549fe41ab657300635f3f7fb794c01866a03
parentfd533e358307f6264fb7824a5367eb243df2e85e
layers: Add error codes for parameter_validation

Add error codes to the parameter_validation layer:
- Add parameter_validation::ErrorCode enum defining common parameter
  validation errors to parameter_validation_utils.h
- Replace the '1' in parameter_validation log_msg calls with the
  appropriate error code
- Add parameter_validation error code documentation to
  vk_validation_layer_details.md
- Remove 'typedef enum' declaration requirement for error code
  enumerations from vk_layer_documentation_generate.py; It will
  now recognize error code enmerations declared wihtout the typedef

Change-Id: Icf18b9124000159f7436f66e48a95d0c58047a07
layers/parameter_validation.cpp
layers/parameter_validation_utils.h
layers/vk_validation_layer_details.md
vk_layer_documentation_generate.py