Home
last modified time | relevance | path

Searched refs:newLayout (Results 1 - 25 of 120) sorted by relevance

12345

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkBarrierUtil.cpp81 const VkImageLayout newLayout, in makeImageMemoryBarrier()
94 newLayout, // VkImageLayout newLayout; in makeImageMemoryBarrier()
107 const VkImageLayout newLayout, in makeImageMemoryBarrier2()
122 newLayout, // VkImageLayout newLayout; in makeImageMemoryBarrier2()
78 makeImageMemoryBarrier(const VkAccessFlags srcAccessMask, const VkAccessFlags dstAccessMask, const VkImageLayout oldLayout, const VkImageLayout newLayout, const VkImage image, const VkImageSubresourceRange subresourceRange, const deUint32 srcQueueFamilyIndex, const deUint32 dstQueueFamilyIndex) makeImageMemoryBarrier() argument
102 makeImageMemoryBarrier2(const VkPipelineStageFlags2KHR srcStageMask, const VkAccessFlags2KHR srcAccessMask, const VkPipelineStageFlags2KHR dstStageMask, const VkAccessFlags2KHR dstAccessMask, const VkImageLayout oldLayout, const VkImageLayout newLayout, const VkImage image, const VkImageSubresourceRange subresourceRange, const deUint32 srcQueueFamilyIndex, const deUint32 dstQueueFamilyIndex) makeImageMemoryBarrier2() argument
H A DvkBarrierUtil.hpp53 const VkImageLayout newLayout,
64 const VkImageLayout newLayout,
H A DvkImageUtil.hpp320 vk::VkImageLayout newLayout,
334 vk::VkImageLayout newLayout,
358 vk::VkImageLayout newLayout,
387 vk::VkImageLayout newLayout,
409 vk::VkImageLayout newLayout,
H A DvkWsiUtil.cpp1040 const auto newLayout = (m_explicitLayoutTransitions ? VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_PRESENT_SRC_KHR); in recordFrame() local
1046 const auto barrier = makeImageMemoryBarrier(srcMask, dstMask, m_attachmentLayouts[imageNdx], newLayout, m_aliasImages[imageNdx], range); in recordFrame()
1049 m_attachmentLayouts[imageNdx] = newLayout; in recordFrame()
1092 const auto newLayout = (m_explicitLayoutTransitions ? VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_PRESENT_SRC_KHR); in recordDeviceGroupFrame() local
1098 const auto barrier = makeImageMemoryBarrier(srcMask, dstMask, m_attachmentLayouts[imageNdx], newLayout, m_aliasImages[imageNdx], range); in recordDeviceGroupFrame()
1101 m_attachmentLayouts[imageNdx] = newLayout; in recordDeviceGroupFrame()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DUtil.cpp72 void transitionImageLayout(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Image image, vk::Format format, vk::ImageLayout oldLayout, vk::ImageLayout newLayout) in transitionImageLayout() argument
78 barrier.newLayout = newLayout; in transitionImageLayout()
91 if(oldLayout == vk::ImageLayout::eUndefined && newLayout == vk::ImageLayout::eTransferDstOptimal) in transitionImageLayout()
99 else if(oldLayout == vk::ImageLayout::eTransferDstOptimal && newLayout == vk::ImageLayout::eShaderReadOnlyOptimal) in transitionImageLayout()
H A DUtil.hpp31 void transitionImageLayout(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Image image, vk::Format format, vk::ImageLayout oldLayout, vk::ImageLayout newLayout);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderSyncTests.cpp966 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL); in iterate() local
967 if (newLayout != currentLayout) in iterate()
969 const auto preCopyBarrier = makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_BIT, currentLayout, newLayout, imageResource->get(), colorSRR); in iterate()
971 currentLayout = newLayout; in iterate()
982 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; in iterate() local
983 if (newLayout != currentLayout) in iterate()
985 const auto preWriteBarrier = makeImageMemoryBarrier(0u, (VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT), currentLayout, newLayout, imageResource->get(), colorSRR); in iterate()
987 currentLayout = newLayout; in iterate()
1013 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); in iterate() local
1014 const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout, newLayout, imageResourc in iterate()
1032 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; iterate() local
1103 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); iterate() local
[all...]
H A DvktMeshShaderSyncTestsEXT.cpp1169 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL); in iterate() local
1170 if (newLayout != currentLayout) in iterate()
1172 const auto preCopyBarrier = makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_BIT, currentLayout, newLayout, imageResource->get(), colorSRR); in iterate()
1174 currentLayout = newLayout; in iterate()
1185 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; in iterate() local
1186 if (newLayout != currentLayout) in iterate()
1188 const auto preWriteBarrier = makeImageMemoryBarrier(0u, (VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT), currentLayout, newLayout, imageResource->get(), colorSRR); in iterate()
1190 currentLayout = newLayout; in iterate()
1216 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); in iterate() local
1217 const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout, newLayout, imageResourc in iterate()
1284 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; iterate() local
1326 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderSyncTests.cpp966 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL); in iterate() local
967 if (newLayout != currentLayout) in iterate()
969 const auto preCopyBarrier = makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_BIT, currentLayout, newLayout, imageResource->get(), colorSRR); in iterate()
971 currentLayout = newLayout; in iterate()
982 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; in iterate() local
983 if (newLayout != currentLayout) in iterate()
985 const auto preWriteBarrier = makeImageMemoryBarrier(0u, (VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT), currentLayout, newLayout, imageResource->get(), colorSRR); in iterate()
987 currentLayout = newLayout; in iterate()
1013 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); in iterate() local
1014 const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout, newLayout, imageResourc in iterate()
1032 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; iterate() local
1103 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); iterate() local
[all...]
H A DvktMeshShaderSyncTestsEXT.cpp1169 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL); in iterate() local
1170 if (newLayout != currentLayout) in iterate()
1172 const auto preCopyBarrier = makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_BIT, currentLayout, newLayout, imageResource->get(), colorSRR); in iterate()
1174 currentLayout = newLayout; in iterate()
1185 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; in iterate() local
1186 if (newLayout != currentLayout) in iterate()
1188 const auto preWriteBarrier = makeImageMemoryBarrier(0u, (VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT), currentLayout, newLayout, imageResource->get(), colorSRR); in iterate()
1190 currentLayout = newLayout; in iterate()
1216 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); in iterate() local
1217 const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout, newLayout, imageResourc in iterate()
1284 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; iterate() local
1326 const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); iterate() local
[all...]
/third_party/skia/src/gpu/vk/
H A DGrVkImage.h134 VkImageLayout newLayout,
141 VkImageLayout newLayout, in setImageLayout()
145 this->setImageLayoutAndQueueIndex(gpu, newLayout, dstAccessMask, dstStageMask, byRegion, in setImageLayout()
165 void updateImageLayout(VkImageLayout newLayout) { in updateImageLayout() argument
169 fMutableState->setImageLayout(newLayout); in updateImageLayout()
140 setImageLayout(const GrVkGpu* gpu, VkImageLayout newLayout, VkAccessFlags dstAccessMask, VkPipelineStageFlags dstStageMask, bool byRegion) setImageLayout() argument
H A DGrVkImage.cpp382 VkImageLayout newLayout, in setImageLayoutAndQueueIndex()
397 SkASSERT(newLayout == this->currentLayout() || in setImageLayoutAndQueueIndex()
398 (VK_IMAGE_LAYOUT_UNDEFINED != newLayout && in setImageLayoutAndQueueIndex()
399 VK_IMAGE_LAYOUT_PREINITIALIZED != newLayout)); in setImageLayoutAndQueueIndex()
441 if (newLayout == currentLayout && currentQueueIndex == newQueueFamilyIndex && in setImageLayoutAndQueueIndex()
459 newLayout, // newLayout in setImageLayoutAndQueueIndex()
469 this->updateImageLayout(newLayout); in setImageLayoutAndQueueIndex()
381 setImageLayoutAndQueueIndex(const GrVkGpu* gpu, VkImageLayout newLayout, VkAccessFlags dstAccessMask, VkPipelineStageFlags dstStageMask, bool byRegion, uint32_t newQueueFamilyIndex) setImageLayoutAndQueueIndex() argument
/third_party/ffmpeg/libavfilter/
H A Dvf_avgblur_vulkan.c256 .newLayout = s->input_images[i].imageLayout, in process_frames()
269 .newLayout = s->tmp_images[i].imageLayout, in process_frames()
282 .newLayout = s->output_images[i].imageLayout, in process_frames()
296 in->layout[i] = bar[0].newLayout; in process_frames()
299 tmp->layout[i] = bar[1].newLayout; in process_frames()
302 out->layout[i] = bar[2].newLayout; in process_frames()
H A Dvf_blend_vulkan.c277 .newLayout = s->top_images[i].imageLayout, in process_frames()
290 .newLayout = s->bottom_images[i].imageLayout, in process_frames()
303 .newLayout = s->output_images[i].imageLayout, in process_frames()
317 top->layout[i] = barriers[0].newLayout; in process_frames()
320 bottom->layout[i] = barriers[1].newLayout; in process_frames()
323 out->layout[i] = barriers[2].newLayout; in process_frames()
H A Dvf_gblur_vulkan.c350 .newLayout = s->input_images[i].imageLayout, in process_frames()
363 .newLayout = s->tmp_images[i].imageLayout, in process_frames()
376 .newLayout = s->output_images[i].imageLayout, in process_frames()
390 in->layout[i] = barriers[0].newLayout; in process_frames()
393 tmp->layout[i] = barriers[1].newLayout; in process_frames()
396 out->layout[i] = barriers[2].newLayout; in process_frames()
H A Dvf_overlay_vulkan.c286 .newLayout = s->main_images[i].imageLayout, in process_frames()
299 .newLayout = s->overlay_images[i].imageLayout, in process_frames()
312 .newLayout = s->output_images[i].imageLayout, in process_frames()
326 main->layout[i] = bar[0].newLayout; in process_frames()
329 overlay->layout[i] = bar[1].newLayout; in process_frames()
332 out->layout[i] = bar[2].newLayout; in process_frames()
H A Dvf_chromaber_vulkan.c214 .newLayout = s->input_images[i].imageLayout, in process_frames()
227 .newLayout = s->output_images[i].imageLayout, in process_frames()
241 in->layout[i] = bar[0].newLayout; in process_frames()
244 out->layout[i] = bar[1].newLayout; in process_frames()
H A Dvf_flip_vulkan.c180 .newLayout = s->input_images[i].imageLayout, in process_frames()
193 .newLayout = s->output_images[i].imageLayout, in process_frames()
207 in->layout[i] = barriers[0].newLayout; in process_frames()
210 out->layout[i] = barriers[1].newLayout; in process_frames()
H A Dvf_transpose_vulkan.c164 .newLayout = s->input_images[i].imageLayout, in process_frames()
177 .newLayout = s->output_images[i].imageLayout, in process_frames()
191 in->layout[i] = barriers[0].newLayout; in process_frames()
194 out->layout[i] = barriers[1].newLayout; in process_frames()
H A Dvf_scale_vulkan.c333 .newLayout = s->input_images[i].imageLayout, in process_frames()
344 in->layout[i] = bar.newLayout; in process_frames()
354 .newLayout = s->output_images[i].imageLayout, in process_frames()
365 out->layout[i] = bar.newLayout; in process_frames()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A DVulkanHelper.h91 // and will be in |newLayout| after the memory barrier. |semaphore|
95 VkImageLayout newLayout,
100 // |oldLayout| and will be in |newLayout| after the memory barrier. The
104 VkImageLayout newLayout,
H A DVulkanHelper.cpp121 VkImageLayout newLayout)
129 /* .newLayout = */ newLayout,
810 VkImageLayout newLayout,
838 VK_QUEUE_FAMILY_EXTERNAL, oldLayout, newLayout);
870 VkImageLayout newLayout,
898 mGraphicsQueueFamilyIndex, oldLayout, newLayout);
1037 /* .newLayout = */ VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DTextureVk.cpp177 barrier.newLayout = VulkanImageLayout(texture, usage); in BuildMemoryBarrier()
792 barrier.newLayout = barrier.oldLayout; in ExportExternalTexture()
794 barrier.newLayout = desiredLayout; in ExportExternalTexture()
818 *releasedNewLayout = barrier.newLayout; in ExportExternalTexture()
920 VkImageLayout desiredLayout = barrier->newLayout; in TweakTransitionForExternalUsage()
929 barrier->newLayout = desiredLayout; in TweakTransitionForExternalUsage()
932 barrier->newLayout = mPendingAcquireNewLayout; in TweakTransitionForExternalUsage()
936 if (barrier->newLayout != desiredLayout) { in TweakTransitionForExternalUsage()
944 layoutBarrier.oldLayout = barrier->newLayout; in TweakTransitionForExternalUsage()
945 layoutBarrier.newLayout in TweakTransitionForExternalUsage()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_helpers.h1702 void setCurrentImageLayout(ImageLayout newLayout) in setCurrentImageLayout() argument
1709 mCurrentLayout = newLayout; in setCurrentImageLayout()
1881 ImageLayout newLayout, in recordWriteBarrier()
1884 barrierImpl(context, aspectMask, newLayout, mCurrentQueueFamilyIndex, commandBuffer); in recordWriteBarrier()
1888 ImageLayout newLayout, in recordWriteBarrierOneOff()
1891 barrierImpl(context, getAspectFlags(), newLayout, mCurrentQueueFamilyIndex, commandBuffer); in recordWriteBarrierOneOff()
1895 bool isReadBarrierNecessary(ImageLayout newLayout) const;
1899 ImageLayout newLayout, in recordReadBarrier()
1902 if (!isReadBarrierNecessary(newLayout)) in recordReadBarrier()
1907 barrierImpl(context, aspectMask, newLayout, mCurrentQueueFamilyInde in recordReadBarrier()
1879 recordWriteBarrier(Context *context, VkImageAspectFlags aspectMask, ImageLayout newLayout, CommandBuffer *commandBuffer) recordWriteBarrier() argument
1887 recordWriteBarrierOneOff(Context *context, ImageLayout newLayout, PrimaryCommandBuffer *commandBuffer) recordWriteBarrierOneOff() argument
1897 recordReadBarrier(Context *context, VkImageAspectFlags aspectMask, ImageLayout newLayout, CommandBuffer *commandBuffer) recordReadBarrier() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawImageObjectUtil.cpp347 barrier.newLayout = vk::VK_IMAGE_LAYOUT_GENERAL; in readUsingBuffer()
648 barrier.newLayout = vk::VK_IMAGE_LAYOUT_GENERAL; in upload()
744 barrier.newLayout = vk::VK_IMAGE_LAYOUT_GENERAL; in uploadUsingBuffer()
842 vk::VkImageLayout newLayout, in transition2DImage()
855 barrier.newLayout = newLayout; in transition2DImage()
837 transition2DImage(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage image, vk::VkImageAspectFlags aspectMask, vk::VkImageLayout oldLayout, vk::VkImageLayout newLayout, vk::VkAccessFlags srcAccessMask, vk::VkAccessFlags dstAccessMask, vk::VkPipelineStageFlags srcStageMask, vk::VkPipelineStageFlags dstStageMask, deUint32 numLayers) transition2DImage() argument

Completed in 28 milliseconds

12345