src/third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp
// These functions look at the mandatory format for support, and fallback to querying the device (if
// necessary) to test the availability of the bits.
These functions look at the mandatory format for support, and fallback to querying the device (if
necessary) to test the availability of the bits.
These functions look at the mandatory format for support and fallback to querying the device ( if necessary ) to test the availability of the bits .
bool RendererVk::hasLinearImageFormatFeatureBits(VkFormat format,
                                                 const VkFormatFeatureFlags featureBits) const
{
    return hasFormatFeatureBits<&VkFormatProperties::linearTilingFeatures>(format, featureBits);
}
bool RendererVk :: hasLinearImageFormatFeatureBits ( VkFormat format , const VkFormatFeatureFlags featureBits ) const { return hasFormatFeatureBits < & VkFormatProperties :: linearTilingFeatures > ( format , featureBits ) ; }
These functions look at the mandatory format for support, and fallback to querying the device (if
necessary) to test the availability of the bits.
These functions look at the mandatory format for support and fallback to querying the device ( if necessary ) to test the availability of the bits .