Lines Matching refs:currentLayout
93 VkImageLayout currentLayout = this->currentLayout(); in setImageLayout() local
96 newLayout == currentLayout) { in setImageLayout()
103 if (newLayout == currentLayout && in setImageLayout()
105 (VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL == currentLayout || in setImageLayout()
106 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == currentLayout || in setImageLayout()
107 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL == currentLayout)) { in setImageLayout()
111 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(currentLayout); in setImageLayout()
112 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(currentLayout); in setImageLayout()
142 currentLayout, // oldLayout in setImageLayout()
224 VkImageLayout layout = this->currentLayout(); in prepareForPresent()
241 this->setImageLayout(gpu, this->currentLayout(), 0, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, in releaseImage()