Improve VkIndexType typeTraits handling.

This commit is contained in:
asuessenbach 2020-05-19 15:31:07 +02:00
parent 68b041129e
commit 75819e5dce

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() )