Lines Matching refs:mip_level
408 VkExtent3D extent(uint32_t mip_level) const { return extent(create_info_.extent, mip_level); } in extent() argument
425 …static VkImageSubresource subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_t arra…
426 …static VkImageSubresource subresource(const VkImageSubresourceRange &range, uint32_t mip_level, ui…
427 …static VkImageSubresourceLayers subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_…
429 …sourceLayers subresource(const VkImageSubresourceRange &range, uint32_t mip_level, uint32_t array_…
437 static VkExtent2D extent(const VkExtent2D &extent, uint32_t mip_level);
441 static VkExtent3D extent(const VkExtent3D &extent, uint32_t mip_level);
670 inline VkImageSubresource Image::subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_… in subresource() argument
676 subres.mipLevel = mip_level; in subresource()
681 …ource Image::subresource(const VkImageSubresourceRange &range, uint32_t mip_level, uint32_t array_… in subresource() argument
682 …return subresource(range.aspectMask, range.baseMipLevel + mip_level, range.baseArrayLayer + array_… in subresource()
685 inline VkImageSubresourceLayers Image::subresource(VkImageAspectFlags aspect, uint32_t mip_level, u… in subresource() argument
699 subres.mipLevel = mip_level; in subresource()
705 …ayers Image::subresource(const VkImageSubresourceRange &range, uint32_t mip_level, uint32_t array_… in subresource() argument
707 …return subresource(range.aspectMask, range.baseMipLevel + mip_level, range.baseArrayLayer + array_… in subresource()
739 inline VkExtent2D Image::extent(const VkExtent2D &extent, uint32_t mip_level) { in extent() argument
740 const int32_t width = (extent.width >> mip_level) ? extent.width >> mip_level : 1; in extent()
741 const int32_t height = (extent.height >> mip_level) ? extent.height >> mip_level : 1; in extent()
755 inline VkExtent3D Image::extent(const VkExtent3D &extent, uint32_t mip_level) { in extent() argument
756 const int32_t width = (extent.width >> mip_level) ? extent.width >> mip_level : 1; in extent()
757 const int32_t height = (extent.height >> mip_level) ? extent.height >> mip_level : 1; in extent()
758 const int32_t depth = (extent.depth >> mip_level) ? extent.depth >> mip_level : 1; in extent()