layers: Fix paramter_validation array name codegen
authorDustin Graves <dustin@lunarg.com>
Fri, 22 Jul 2016 19:20:44 +0000 (13:20 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Wed, 24 Aug 2016 19:28:02 +0000 (13:28 -0600)
commitd0a33d72b45719cde2f7a5c74333e3d45b16e984
tree1f5d7bc5e9c0c123b617f836bc3a0ee7a5dfc718
parent3755690f21851fc9a325acf2f6a68c680e40fe0d
layers: Fix paramter_validation array name codegen

Replace std::string with ParameterName for the generated
parameter_validation layer code so that the parameter names
printed by the generated code contain the correct array
subscript values.  Also updates the parameter_validation
tests to reflect the change to the printed names.

Issues-Addressed: GitHub #462
Change-Id: I3032e08052fc003ba066bbe613e5faf3ed049964
generator.py
tests/layer_validation_tests.cpp