Lines Matching refs:mip_level
496 VkExtent3D extent(uint32_t mip_level) const { return extent(create_info_.extent, mip_level); } in extent() argument
519 …static VkImageSubresource subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_t arra…
520 …static VkImageSubresource subresource(const VkImageSubresourceRange &range, uint32_t mip_level, ui…
521 …static VkImageSubresourceLayers subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_…
523 …sourceLayers subresource(const VkImageSubresourceRange &range, uint32_t mip_level, uint32_t array_…
531 static VkExtent2D extent(const VkExtent2D &extent, uint32_t mip_level);
535 static VkExtent3D extent(const VkExtent3D &extent, uint32_t mip_level);
808 inline VkImageSubresource Image::subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_… in subresource() argument
814 subres.mipLevel = mip_level; in subresource()
819 …ource Image::subresource(const VkImageSubresourceRange &range, uint32_t mip_level, uint32_t array_… in subresource() argument
820 …return subresource(range.aspectMask, range.baseMipLevel + mip_level, range.baseArrayLayer + array_… in subresource()
823 inline VkImageSubresourceLayers Image::subresource(VkImageAspectFlags aspect, uint32_t mip_level, u… in subresource() argument
837 subres.mipLevel = mip_level; in subresource()
843 …ayers Image::subresource(const VkImageSubresourceRange &range, uint32_t mip_level, uint32_t array_… in subresource() argument
845 …return subresource(range.aspectMask, range.baseMipLevel + mip_level, range.baseArrayLayer + array_… in subresource()
877 inline VkExtent2D Image::extent(const VkExtent2D &extent, uint32_t mip_level) { in extent() argument
878 const int32_t width = (extent.width >> mip_level) ? extent.width >> mip_level : 1; in extent()
879 const int32_t height = (extent.height >> mip_level) ? extent.height >> mip_level : 1; in extent()
893 inline VkExtent3D Image::extent(const VkExtent3D &extent, uint32_t mip_level) { in extent() argument
894 const int32_t width = (extent.width >> mip_level) ? extent.width >> mip_level : 1; in extent()
895 const int32_t height = (extent.height >> mip_level) ? extent.height >> mip_level : 1; in extent()
896 const int32_t depth = (extent.depth >> mip_level) ? extent.depth >> mip_level : 1; in extent()