Merge pull request #614 from asuessenbach/typeTraits

Improve VkIndexType typeTraits handling.
This commit is contained in:
Andreas Süßenbach 2020-05-19 16:29:40 +02:00 committed by GitHub
commit ef8ecd8faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4606,7 +4606,7 @@ void VulkanHppGenerator::appendIndexTypeTraits( std::string & str ) const
} }
else else
{ {
assert( value.vkValue == "eNoneKHR" ); assert( beginsWith( value.vkValue, "eNone" ) );
} }
if ( !cppType.empty() ) if ( !cppType.empty() )