• Home
  • Raw
  • Download

Lines Matching refs:imageLayout

1051 bool IsShaderReadOnlyLayout(const ImageMemoryBarrierData &imageLayout)  in IsShaderReadOnlyLayout()  argument
1055 return imageLayout.layout == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL || in IsShaderReadOnlyLayout()
1056 imageLayout.layout == VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL; in IsShaderReadOnlyLayout()
1372 VkImageLayout ConvertImageLayoutToVkImageLayout(ImageLayout imageLayout) in ConvertImageLayoutToVkImageLayout() argument
1374 return kImageMemoryBarrierData[imageLayout].layout; in ConvertImageLayoutToVkImageLayout()
1976 ImageLayout imageLayout, in imageReadImpl() argument
1980 if (image->isReadBarrierNecessary(context->getRenderer(), imageLayout)) in imageReadImpl()
1982 updateImageLayoutAndBarrier(context, image, aspectFlags, imageLayout, barrierType); in imageReadImpl()
1991 ImageLayout imageLayout, in imageWriteImpl() argument
1996 if (image->isWriteBarrierNecessary(imageLayout, level, 1, layerStart, layerCount)) in imageWriteImpl()
1998 updateImageLayoutAndBarrier(context, image, aspectFlags, imageLayout, barrierType); in imageWriteImpl()
2005 ImageLayout imageLayout, in updateImageLayoutAndBarrier() argument
2009 image->updateLayoutAndBarrier(context, aspectFlags, imageLayout, barrierType, mQueueSerial, in updateImageLayoutAndBarrier()
2111 ImageLayout imageLayout, in imageRead() argument
2119 imageReadImpl(context, aspectFlags, imageLayout, BarrierType::Pipeline, image); in imageRead()
2123 imageReadImpl(context, aspectFlags, imageLayout, BarrierType::Event, image); in imageRead()
2136 ImageLayout imageLayout, in imageWrite() argument
2139 imageWriteImpl(context, level, layerStart, layerCount, aspectFlags, imageLayout, in imageWrite()
2421 ImageLayout imageLayout, in imageRead() argument
2424 imageReadImpl(contextVk, aspectFlags, imageLayout, BarrierType::Event, image); in imageRead()
2435 ImageLayout imageLayout, in imageWrite() argument
2438 imageWriteImpl(contextVk, level, layerStart, layerCount, aspectFlags, imageLayout, in imageWrite()
2611 ImageLayout imageLayout; in finalizeColorImageLayout() local
2615 imageLayout = image->getCurrentImageLayout(); in finalizeColorImageLayout()
2616 ASSERT(imageLayout == ImageLayout::ColorWriteFragmentShaderFeedback || in finalizeColorImageLayout()
2617 imageLayout == ImageLayout::ColorWriteAllShadersFeedback); in finalizeColorImageLayout()
2627 imageLayout = hasUnresolve ? ImageLayout::MSRTTEmulationColorUnresolveAndResolve in finalizeColorImageLayout()
2633 ASSERT(imageLayout == ImageLayout::ColorWrite); in finalizeColorImageLayout()
2634 imageLayout = ImageLayout::ColorWriteAndInput; in finalizeColorImageLayout()
2639 ASSERT(imageLayout == ImageLayout::ColorWrite); in finalizeColorImageLayout()
2640 imageLayout = ImageLayout::SharedPresent; in finalizeColorImageLayout()
2643 updateImageLayoutAndBarrier(context, image, VK_IMAGE_ASPECT_COLOR_BIT, imageLayout, in finalizeColorImageLayout()
2649 mAttachmentOps.setLayouts(packedAttachmentIndex, imageLayout, imageLayout); in finalizeColorImageLayout()
2653 SetBitField(mAttachmentOps[packedAttachmentIndex].finalResolveLayout, imageLayout); in finalizeColorImageLayout()
2665 ASSERT(imageLayout != ImageLayout::SharedPresent); in finalizeColorImageLayout()
2747 ImageLayout imageLayout; in finalizeDepthStencilImageLayout() local
2765 imageLayout = depthStencilImage->getCurrentImageLayout(); in finalizeDepthStencilImageLayout()
2770 ASSERT(imageLayout == ImageLayout::DepthStencilFragmentShaderFeedback || in finalizeDepthStencilImageLayout()
2771 imageLayout == ImageLayout::DepthStencilAllShadersFeedback); in finalizeDepthStencilImageLayout()
2776 ASSERT(imageLayout == ImageLayout::DepthWriteStencilReadFragmentShaderStencilRead || in finalizeDepthStencilImageLayout()
2777 imageLayout == ImageLayout::DepthWriteStencilReadAllShadersStencilRead || in finalizeDepthStencilImageLayout()
2778 imageLayout == ImageLayout::DepthReadStencilWriteFragmentShaderDepthRead || in finalizeDepthStencilImageLayout()
2779 imageLayout == ImageLayout::DepthReadStencilWriteAllShadersDepthRead || in finalizeDepthStencilImageLayout()
2780 imageLayout == ImageLayout::DepthReadStencilReadFragmentShaderRead || in finalizeDepthStencilImageLayout()
2781 imageLayout == ImageLayout::DepthReadStencilReadAllShadersRead); in finalizeDepthStencilImageLayout()
2783 depthStencilImage->isReadBarrierNecessary(context->getRenderer(), imageLayout); in finalizeDepthStencilImageLayout()
2790 imageLayout = ImageLayout::DepthStencilWriteAndInput; in finalizeDepthStencilImageLayout()
2794 imageLayout = isReadOnlyStencil ? ImageLayout::DepthReadStencilRead in finalizeDepthStencilImageLayout()
2799 imageLayout = isReadOnlyStencil ? ImageLayout::DepthWriteStencilRead in finalizeDepthStencilImageLayout()
2805 depthStencilImage->isReadBarrierNecessary(context->getRenderer(), imageLayout); in finalizeDepthStencilImageLayout()
2808 mAttachmentOps.setLayouts(mDepthStencilAttachmentIndex, imageLayout, imageLayout); in finalizeDepthStencilImageLayout()
2815 updateImageLayoutAndBarrier(context, depthStencilImage, aspectFlags, imageLayout, in finalizeDepthStencilImageLayout()
2828 ImageLayout imageLayout = mRenderPassDesc.hasDepthStencilUnresolveAttachment() in finalizeDepthStencilResolveImageLayout() local
2835 updateImageLayoutAndBarrier(context, depthStencilResolveImage, aspectFlags, imageLayout, in finalizeDepthStencilResolveImageLayout()
2862 ImageLayout imageLayout = ImageLayout::FragmentShadingRateAttachmentReadOnly; in finalizeFragmentShadingRateImageLayout() local
2864 if (image->isReadBarrierNecessary(context->getRenderer(), imageLayout)) in finalizeFragmentShadingRateImageLayout()
2866 updateImageLayoutAndBarrier(context, image, VK_IMAGE_ASPECT_COLOR_BIT, imageLayout, in finalizeFragmentShadingRateImageLayout()
13415 ImageLayout imageLayout, in onImageRead() argument
13420 mReadImages.emplace_back(image, aspectFlags, imageLayout); in onImageRead()
13428 ImageLayout imageLayout, in onImageWrite() argument
13433 mWriteImages.emplace_back(CommandBufferImageAccess{image, aspectFlags, imageLayout}, levelStart, in onImageWrite()
13442 ImageLayout imageLayout, in onImageReadSubresources() argument
13447 mReadImageSubresources.emplace_back(CommandBufferImageAccess{image, aspectFlags, imageLayout}, in onImageReadSubresources()