Searched refs:image_subresource_range (Results 1 – 2 of 2) sorted by relevance
286 … VkImageSubresourceRange image_subresource_range, const VkImageLayout &layout) { in SetImageLayout() argument289 … for (uint32_t level_index = 0; level_index < image_subresource_range.levelCount; ++level_index) { in SetImageLayout()290 uint32_t level = image_subresource_range.baseMipLevel + level_index; in SetImageLayout()291 … for (uint32_t layer_index = 0; layer_index < image_subresource_range.layerCount; layer_index++) { in SetImageLayout()292 uint32_t layer = image_subresource_range.baseArrayLayer + layer_index; in SetImageLayout()293 VkImageSubresource sub = {image_subresource_range.aspectMask, level, layer}; in SetImageLayout()296 …if (image_subresource_range.aspectMask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)… in SetImageLayout()321 VkImageSubresourceRange image_subresource_range; in SetImageLayout() local322 image_subresource_range.aspectMask = image_subresource_layers.aspectMask; in SetImageLayout()323 image_subresource_range.baseArrayLayer = image_subresource_layers.baseArrayLayer; in SetImageLayout()[all …]
689 … VkImageSubresourceRange image_subresource_range, const VkImageLayout& layout);