layers: MR181/GL102 Fix unique_objects to correctly assign local vars under ptrs
authorTobin Ehlis <tobine@google.com>
Fri, 29 Jan 2016 16:24:46 +0000 (09:24 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Fri, 29 Jan 2016 18:21:03 +0000 (11:21 -0700)
commit7b69f0ebefd1f256f7c67b814169057f0134849a
tree8222d0b47aa4b4494b7c98a1ec51686ed32b7566
parentb090e4f08947bfc3719f1c74f5d3a3bb55197a98
layers: MR181/GL102 Fix unique_objects to correctly assign local vars under ptrs

If a variable that needs to be restored is below a ptr, then need to declare
it at the top level, but only assign it if the ptr(s) that it's below are
non-null.
vk-layer-generate.py