Home
last modified time | relevance | path

Searched refs:imageLayout (Results 1 - 25 of 147) sorted by relevance

123456

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationOperationSingleQueueTests.cpp107 writeSync.imageLayout, // VkImageLayout oldLayout in iterate()
108 readSync.imageLayout, // VkImageLayout newLayout in iterate()
191 writeSync.imageLayout, // VkImageLayout oldLayout in iterate()
192 readSync.imageLayout, // VkImageLayout newLayout in iterate()
303 writeSync.imageLayout, // VkImageLayout oldLayout in iterate()
304 readSync.imageLayout, // VkImageLayout newLayout in iterate()
449 DE_ASSERT(lastSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
450 DE_ASSERT(currentSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
457 lastSync.imageLayout, // VkImageLayout oldLayout in iterate()
458 currentSync.imageLayout, // VkImageLayou in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationOperationSingleQueueTests.cpp107 writeSync.imageLayout, // VkImageLayout oldLayout in iterate()
108 readSync.imageLayout, // VkImageLayout newLayout in iterate()
191 writeSync.imageLayout, // VkImageLayout oldLayout in iterate()
192 readSync.imageLayout, // VkImageLayout newLayout in iterate()
303 writeSync.imageLayout, // VkImageLayout oldLayout in iterate()
304 readSync.imageLayout, // VkImageLayout newLayout in iterate()
449 DE_ASSERT(lastSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
450 DE_ASSERT(currentSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
457 lastSync.imageLayout, // VkImageLayout oldLayout in iterate()
458 currentSync.imageLayout, // VkImageLayou in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawImageObjectUtil.cpp441 vk::VkSubresourceLayout imageLayout; in readLinear()
442 deMemset(&imageLayout, 0, sizeof(imageLayout)); in readLinear()
444 m_vk.getImageSubresourceLayout(m_device, object(), &imageSubResource, &imageLayout); in readLinear()
447 srcPtr += imageLayout.offset; in readLinear()
448 srcPtr += offset.z * imageLayout.depthPitch; in readLinear()
449 srcPtr += offset.y * imageLayout.rowPitch; in readLinear()
453 imageLayout.rowPitch, imageLayout.depthPitch, srcPtr, data); in readLinear()
788 vk::VkSubresourceLayout imageLayout; in uploadLinear()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawImageObjectUtil.cpp441 vk::VkSubresourceLayout imageLayout; in readLinear()
442 deMemset(&imageLayout, 0, sizeof(imageLayout)); in readLinear()
444 m_vk.getImageSubresourceLayout(m_device, object(), &imageSubResource, &imageLayout); in readLinear()
447 srcPtr += imageLayout.offset; in readLinear()
448 srcPtr += offset.z * imageLayout.depthPitch; in readLinear()
449 srcPtr += offset.y * imageLayout.rowPitch; in readLinear()
453 imageLayout.rowPitch, imageLayout.depthPitch, srcPtr, data); in readLinear()
788 vk::VkSubresourceLayout imageLayout; in uploadLinear()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DBindGroupVk.cpp108 writeImageInfo[numWrites].imageLayout = VulkanImageLayout( in BindGroup()
128 writeImageInfo[numWrites].imageLayout = VK_IMAGE_LAYOUT_GENERAL; in BindGroup()
146 writeImageInfo[numWrites].imageLayout = VulkanImageLayout( in BindGroup()
/third_party/ffmpeg/libavfilter/
H A Dvf_avgblur_vulkan.c241 s->input_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in process_frames()
242 s->tmp_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL; in process_frames()
243 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL; in process_frames()
256 .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()
H A Dvf_blend_vulkan.c263 s->top_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in process_frames()
264 s->bottom_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in process_frames()
265 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL; in process_frames()
277 .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()
H A Dvf_gblur_vulkan.c335 s->input_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in process_frames()
336 s->tmp_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL; in process_frames()
337 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL; in process_frames()
350 .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()
H A Dvf_overlay_vulkan.c272 s->main_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in process_frames()
273 s->overlay_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in process_frames()
274 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL; in process_frames()
286 .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()
H A Dvf_chromaber_vulkan.c201 s->input_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in process_frames()
202 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL; in process_frames()
214 .newLayout = s->input_images[i].imageLayout, in process_frames()
227 .newLayout = s->output_images[i].imageLayout, in process_frames()
H A Dvf_flip_vulkan.c167 s->input_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in process_frames()
168 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL; in process_frames()
180 .newLayout = s->input_images[i].imageLayout, in process_frames()
193 .newLayout = s->output_images[i].imageLayout, in process_frames()
H A Dvf_transpose_vulkan.c151 s->input_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in process_frames()
152 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL; in process_frames()
164 .newLayout = s->input_images[i].imageLayout, in process_frames()
177 .newLayout = s->output_images[i].imageLayout, in process_frames()
H A Dvf_scale_vulkan.c321 s->input_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in process_frames()
322 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL; in process_frames()
333 .newLayout = s->input_images[i].imageLayout, in process_frames()
354 .newLayout = s->output_images[i].imageLayout, in process_frames()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DVulkanSecondaryCommandBuffer.h69 VkImageLayout imageLayout,
74 VkImageLayout imageLayout,
276 VkImageLayout imageLayout, in clearColorImage()
282 CommandBuffer::clearColorImage(image, imageLayout, color, rangeCount, ranges); in clearColorImage()
287 VkImageLayout imageLayout, in clearDepthStencilImage()
293 CommandBuffer::clearDepthStencilImage(image, imageLayout, depthStencil, rangeCount, ranges); in clearDepthStencilImage()
274 clearColorImage( const Image &image, VkImageLayout imageLayout, const VkClearColorValue &color, uint32_t rangeCount, const VkImageSubresourceRange *ranges) clearColorImage() argument
285 clearDepthStencilImage( const Image &image, VkImageLayout imageLayout, const VkClearDepthStencilValue &depthStencil, uint32_t rangeCount, const VkImageSubresourceRange *ranges) clearDepthStencilImage() argument
H A Dvk_helpers.cpp739 bool IsShaderReadOnlyLayout(const ImageMemoryBarrierData &imageLayout) in IsShaderReadOnlyLayout() argument
741 return imageLayout.layout == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in IsShaderReadOnlyLayout()
927 VkImageLayout ConvertImageLayoutToVkImageLayout(ImageLayout imageLayout) in ConvertImageLayoutToVkImageLayout() argument
929 return kImageMemoryBarrierData[imageLayout].layout; in ConvertImageLayoutToVkImageLayout()
1156 ImageLayout imageLayout, in imageRead()
1159 if (image->isReadBarrierNecessary(imageLayout)) in imageRead()
1161 updateImageLayoutAndBarrier(contextVk, image, aspectFlags, imageLayout); in imageRead()
1185 ImageLayout imageLayout, in imageWrite()
1192 updateImageLayoutAndBarrier(contextVk, image, aspectFlags, imageLayout); in imageWrite()
1432 ImageLayout imageLayout) in updateImageLayoutAndBarrier()
1154 imageRead(ContextVk *contextVk, VkImageAspectFlags aspectFlags, ImageLayout imageLayout, ImageHelper *image) imageRead() argument
1180 imageWrite(ContextVk *contextVk, gl::LevelIndex level, uint32_t layerStart, uint32_t layerCount, VkImageAspectFlags aspectFlags, ImageLayout imageLayout, AliasingMode aliasingMode, ImageHelper *image) imageWrite() argument
1429 updateImageLayoutAndBarrier(Context *context, ImageHelper *image, VkImageAspectFlags aspectFlags, ImageLayout imageLayout) updateImageLayoutAndBarrier() argument
1494 ImageLayout imageLayout; finalizeDepthStencilImageLayout() local
1543 ImageLayout imageLayout = ImageLayout::DepthStencilResolveAttachment; finalizeDepthStencilResolveImageLayout() local
8661 onImageRead(VkImageAspectFlags aspectFlags, ImageLayout imageLayout, ImageHelper *image) onImageRead() argument
8670 onImageWrite(gl::LevelIndex levelStart, uint32_t levelCount, uint32_t layerStart, uint32_t layerCount, VkImageAspectFlags aspectFlags, ImageLayout imageLayout, ImageHelper *image) onImageWrite() argument
[all...]
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_blit.c85 VkImageLayout imageLayout, in pvr_CmdClearColorImage()
95 VkImageLayout imageLayout, in pvr_CmdClearDepthStencilImage()
83 pvr_CmdClearColorImage(VkCommandBuffer commandBuffer, VkImage _image, VkImageLayout imageLayout, const VkClearColorValue *pColor, uint32_t rangeCount, const VkImageSubresourceRange *pRanges) pvr_CmdClearColorImage() argument
93 pvr_CmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image_h, VkImageLayout imageLayout, const VkClearDepthStencilValue *pDepthStencil, uint32_t rangeCount, const VkImageSubresourceRange *pRanges) pvr_CmdClearDepthStencilImage() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageSamplingInstance.hpp85 , imageLayout (imageLayout_) in ImageSamplingInstanceParams()
104 const vk::VkImageLayout imageLayout; member
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineImageSamplingInstance.hpp83 , imageLayout (imageLayout_) in ImageSamplingInstanceParams()
102 const vk::VkImageLayout imageLayout; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemShaderImageAccessTests.cpp254 vk::VkImageLayout imageLayout,
835 vk::VkImageLayout imageLayout = vk::VK_IMAGE_LAYOUT_UNDEFINED; in executeFragmentTest() local
842 imageLayout = vk::VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in executeFragmentTest()
849 imageLayout = vk::VK_IMAGE_LAYOUT_GENERAL; in executeFragmentTest()
868 copyToProtectedImage(m_protectedContext, **unprotectedImage, **imageSrc, imageLayout, IMAGE_WIDTH, IMAGE_HEIGHT, m_params.protectionMode); in executeFragmentTest()
1123 imageLayout, // newLayout in executeFragmentTest()
1161 return validateResult(resultImage, imageLayout, *texture2D, refSampler); in executeFragmentTest()
1182 tcu::TestStatus ImageAccessTestInstance::validateResult (vk::VkImage image, vk::VkImageLayout imageLayout, const tcu::Texture2D& texture2D, const tcu::Sampler& refSampler) in validateResult() argument
1197 if (!m_validator.validateImage(m_protectedContext, refData, image, m_params.imageFormat, imageLayout)) in validateResult()
H A DvktProtectedMemImageValidator.hpp56 const vk::VkImageLayout imageLayout) const;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A DvktProtectedMemShaderImageAccessTests.cpp252 vk::VkImageLayout imageLayout,
799 vk::VkImageLayout imageLayout = vk::VK_IMAGE_LAYOUT_UNDEFINED; in executeFragmentTest() local
806 imageLayout = vk::VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in executeFragmentTest()
813 imageLayout = vk::VK_IMAGE_LAYOUT_GENERAL; in executeFragmentTest()
832 copyToProtectedImage(m_protectedContext, **unprotectedImage, **imageSrc, imageLayout, IMAGE_WIDTH, IMAGE_HEIGHT, m_params.protectionMode); in executeFragmentTest()
1087 imageLayout, // newLayout in executeFragmentTest()
1125 return validateResult(resultImage, imageLayout, *texture2D, refSampler); in executeFragmentTest()
1146 tcu::TestStatus ImageAccessTestInstance::validateResult (vk::VkImage image, vk::VkImageLayout imageLayout, const tcu::Texture2D& texture2D, const tcu::Sampler& refSampler) in validateResult() argument
1161 if (!m_validator.validateImage(m_protectedContext, refData, image, m_params.imageFormat, imageLayout)) in validateResult()
H A DvktProtectedMemImageValidator.hpp56 const vk::VkImageLayout imageLayout) const;
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_decompress.c429 .imageLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, in radv_process_depth_image_layer()
437 .imageLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, in radv_process_depth_image_layer()
601 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in radv_expand_depth_stencil_compute()
613 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in radv_expand_depth_stencil_compute()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiImageClearingTests.cpp889 VkImageLayout imageLayout; in createRenderPass() local
892 imageLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; in createRenderPass()
894 imageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in createRenderPass()
905 imageLayout, // VkImageLayout initialLayout; in createRenderPass()
906 imageLayout, // VkImageLayout finalLayout; in createRenderPass()
918 imageLayout, // VkImageLayout initialLayout; in createRenderPass()
919 imageLayout, // VkImageLayout finalLayout; in createRenderPass()
935 imageLayout, // VkImageLayout layout; in createRenderPass()
941 imageLayout, // VkImageLayout layout; in createRenderPass()
1009 VkImageLayout imageLayout; in createRenderPass() local
[all...]
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_render_pass.c953 .imageLayout = sp_att->layout, in vk_get_command_buffer_inheritance_as_rendering_resume()
972 .imageLayout = sp_att->layout, in vk_get_command_buffer_inheritance_as_rendering_resume()
983 .imageLayout = sp_att->stencil_layout, in vk_get_command_buffer_inheritance_as_rendering_resume()
999 .imageLayout = sp_att->layout, in vk_get_command_buffer_inheritance_as_rendering_resume()
1519 .imageLayout = layout, in load_attachment()
1528 .imageLayout = stencil_layout, in load_attachment()
1602 .imageLayout = sp_att->layout, in begin_subpass()
1708 depth_attachment.imageLayout = sp_att->layout; in begin_subpass()
1714 stencil_attachment.imageLayout = sp_att->stencil_layout; in begin_subpass()
2069 .imageLayout in begin_subpass()
[all...]

Completed in 34 milliseconds

123456