layers: Emit safe_*::ptr() members to eliminate some cast noise
authorChris Forbes <chrisforbes@google.com>
Wed, 27 Apr 2016 02:00:44 +0000 (14:00 +1200)
committerTobin Ehlis <tobine@google.com>
Wed, 27 Apr 2016 14:46:20 +0000 (08:46 -0600)
commitbe4a81d56a0be26f1d9dc61b733eb997b50e8813
tree96540877a56693ae3896615176294a293d84c90b
parent0fdb77e86a2673e042fa809171472aea4b6ac2da
layers: Emit safe_*::ptr() members to eliminate some cast noise

These casts were annoying noise, and uncheckable. Move them into the
generator where we know the one type that makes sense.

Drop spurious reinterpret_cast of stage create info to itself -- it's
all raw types once the root pCreateInfo is unwrapped.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
layers/core_validation.cpp
layers/descriptor_sets.h
vk_helper.py