Home
last modified time | relevance | path

Searched refs:formatIdx (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Ddevice_vk.cpp597 … const uint32_t formatIdx = idx + DeviceFormatSupportConstants::ADDITIONAL_FORMAT_START_NUMBER; in FillFormatSupport() local
598 formats[currIdx] = FillDeviceFormatSupport(physicalDevice, static_cast<Format>(formatIdx)); in FillFormatSupport()
912 const uint32_t formatIdx = static_cast<uint32_t>(format); in GetFormatProperties() local
913 if (formatIdx < formatSupportSize) { in GetFormatProperties()
914 return formatProperties_[formatIdx]; in GetFormatProperties()
915 } else if ((formatIdx >= DeviceFormatSupportConstants::ADDITIONAL_FORMAT_START_NUMBER) && in GetFormatProperties()
916 (formatIdx <= DeviceFormatSupportConstants::ADDITIONAL_FORMAT_END_NUMBER)) { in GetFormatProperties()
917 … const uint32_t currIdx = formatIdx - DeviceFormatSupportConstants::ADDITIONAL_FORMAT_START_NUMBER; in GetFormatProperties()