layers: Refactored pNext chain walks to template
authorJohn Zulauf <jzulauf@lunarg.com>
Thu, 26 Oct 2017 18:07:05 +0000 (12:07 -0600)
committerjzulauf-lunarg <32470354+jzulauf-lunarg@users.noreply.github.com>
Fri, 3 Nov 2017 15:31:30 +0000 (09:31 -0600)
commit5d0a751c3c980e086ef70f92da96e64509ba02f1
tree58be72e65f46ffe32e8fd9b3037b21e7f25bb7ab
parent9ef531dfcde2c23bd3d8008c36439ad4f6aa79ce
layers: Refactored pNext chain walks to template

The while loops for the walking the pNext chains were implemented by
repeated code. These were refactored into a common template.  Added
autogenerated 'traits' objects for the pNext linked structs.

Delete cut and paste duplicate pNext chain walk.

Change-Id: I46457bb5432219c74f9356e5230c70e4a9ef16df
CMakeLists.txt
build-android/android-generate.bat
build-android/android-generate.sh
layers/core_validation.cpp
layers/parameter_validation_utils.cpp
scripts/helper_file_generator.py
scripts/lvl_genvk.py