Home
last modified time | relevance | path

Searched refs:imageLayout (Results 1 – 25 of 114) sorted by relevance

12345

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp441 vk::VkSubresourceLayout imageLayout; in readLinear() local
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() local
793 &imageLayout); in uploadLinear()
796 destPtr += imageLayout.offset; in uploadLinear()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
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, // VkImageLayout newLayout in iterate()
[all …]
DvktSynchronizationTimelineSemaphoreTests.cpp971 DE_ASSERT(writeSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
972 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
979 writeSync.imageLayout, // VkImageLayout oldLayout in iterate()
980 readSync.imageLayout, // VkImageLayout newLayout in iterate()
1530 DE_ASSERT(writeSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
1531 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
1538 writeSync.imageLayout, // VkImageLayout oldLayout in iterate()
1539 readSync.imageLayout, // VkImageLayout newLayout in iterate()
1919 DE_ASSERT(writeSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in recordBarrier()
1920 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in recordBarrier()
[all …]
DvktSynchronizationSignalOrderTests.cpp727 DE_ASSERT(writeSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
728 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
735 writeSync.imageLayout, // VkImageLayout oldLayout in iterate()
736 readSync.imageLayout, // VkImageLayout newLayout in iterate()
1405 DE_ASSERT(writeSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
1406 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
1413 writeSync.imageLayout, // VkImageLayout oldLayout in iterate()
1414 readSync.imageLayout, // VkImageLayout newLayout in iterate()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
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/
Dvf_avgblur_vulkan.c232 s->input_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
233 s->tmp_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL;
234 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL;
247 .newLayout = s->input_images[i].imageLayout,
260 .newLayout = s->tmp_images[i].imageLayout,
273 .newLayout = s->output_images[i].imageLayout,
Dvf_overlay_vulkan.c264 s->main_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
265 s->overlay_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
266 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL;
278 .newLayout = s->main_images[i].imageLayout,
291 .newLayout = s->overlay_images[i].imageLayout,
304 .newLayout = s->output_images[i].imageLayout,
Dvf_chromaber_vulkan.c196 s->input_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
197 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL;
209 .newLayout = s->input_images[i].imageLayout,
222 .newLayout = s->output_images[i].imageLayout,
Dvf_scale_vulkan.c314 s->input_images[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
323 s->output_images[i].imageLayout = VK_IMAGE_LAYOUT_GENERAL;
334 .newLayout = s->input_images[i].imageLayout,
355 .newLayout = s->output_images[i].imageLayout,
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h160 VkImageLayout imageLayout; member
169 VkImageLayout imageLayout; member
402 VkImageLayout imageLayout,
408 VkImageLayout imageLayout,
741 VkImageLayout imageLayout, in clearColorImage() argument
750 paramStruct->imageLayout = imageLayout; in clearColorImage()
757 VkImageLayout imageLayout, in clearDepthStencilImage() argument
766 paramStruct->imageLayout = imageLayout; in clearDepthStencilImage()
Dvk_wrapper.h231 VkImageLayout imageLayout,
236 VkImageLayout imageLayout,
723 VkImageLayout imageLayout,
730 vkCmdClearColorImage(mHandle, image.getHandle(), imageLayout, &color, 1, ranges);
735 VkImageLayout imageLayout,
742 vkCmdClearDepthStencilImage(mHandle, image.getHandle(), imageLayout, &depthStencil, 1, ranges);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVulkanSecondaryCommandBuffer.h69 VkImageLayout imageLayout,
74 VkImageLayout imageLayout,
276 VkImageLayout imageLayout, in clearColorImage() argument
282 CommandBuffer::clearColorImage(image, imageLayout, color, rangeCount, ranges); in clearColorImage()
287 VkImageLayout imageLayout, in clearDepthStencilImage() argument
293 CommandBuffer::clearDepthStencilImage(image, imageLayout, depthStencil, rangeCount, ranges); in clearDepthStencilImage()
DSecondaryCommandBuffer.h169 VkImageLayout imageLayout; member
178 VkImageLayout imageLayout; member
552 VkImageLayout imageLayout,
558 VkImageLayout imageLayout,
1048 VkImageLayout imageLayout, in clearColorImage() argument
1057 paramStruct->imageLayout = imageLayout; in clearColorImage()
1064 VkImageLayout imageLayout, in clearDepthStencilImage() argument
1073 paramStruct->imageLayout = imageLayout; in clearDepthStencilImage()
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() argument
1159 if (image->isReadBarrierNecessary(imageLayout)) in imageRead()
1161 updateImageLayoutAndBarrier(contextVk, image, aspectFlags, imageLayout); in imageRead()
1185 ImageLayout imageLayout, in imageWrite() argument
1192 updateImageLayoutAndBarrier(contextVk, image, aspectFlags, imageLayout); in imageWrite()
1432 ImageLayout imageLayout) in updateImageLayoutAndBarrier() argument
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemShaderImageAccessTests.cpp235 vk::VkImageLayout imageLayout,
778 vk::VkImageLayout imageLayout = vk::VK_IMAGE_LAYOUT_UNDEFINED; in executeFragmentTest() local
785 imageLayout = vk::VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in executeFragmentTest()
792 imageLayout = vk::VK_IMAGE_LAYOUT_GENERAL; in executeFragmentTest()
811 …copyToProtectedImage(m_protectedContext, **unprotectedImage, **imageSrc, imageLayout, IMAGE_WIDTH,… in executeFragmentTest()
1065 imageLayout, // newLayout in executeFragmentTest()
1103 return validateResult(resultImage, imageLayout, *texture2D, refSampler); in executeFragmentTest()
1124 …cessTestInstance::validateResult (vk::VkImage image, vk::VkImageLayout imageLayout, const tcu::Tex… in validateResult() argument
1139 …(!m_validator.validateImage(m_protectedContext, refData, image, m_params.imageFormat, imageLayout)) in validateResult()
DvktProtectedMemImageValidator.hpp56 const vk::VkImageLayout imageLayout) const;
DvktProtectedMemStackTests.cpp100 vk::VkImageLayout imageLayout,
371 bool StackTestInstance::validateResult (vk::VkImage image, vk::VkImageLayout imageLayout, const tcu… in validateResult() argument
386 …dator.validateImage(m_protectedContext, refData, image, vk::VK_FORMAT_R8G8B8A8_UNORM, imageLayout)) in validateResult()
DvktProtectedMemWorkgroupStorageTests.cpp99 vk::VkImageLayout imageLayout,
340 …rageTestInstance::validateResult (vk::VkImage image, vk::VkImageLayout imageLayout, const tcu::Tex… in validateResult() argument
355 …dator.validateImage(m_protectedContext, refData, image, vk::VK_FORMAT_R8G8B8A8_UNORM, imageLayout)) in validateResult()
DvktProtectedMemImageValidator.cpp115 …const vk::VkImage image, const vk::VkFormat imageFormat, const vk::VkImageLayout imageLayout) const in validateImage()
201 …:VkDescriptorImageInfo descSampledImg = makeDescriptorImageInfo(*sampler, *imageView, imageLayout); in validateImage()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkCmdUtil.cpp206 const VkImageLayout imageLayout, in beginRendering() argument
217 imageLayout, // VkImageLayout imageLayout; in beginRendering()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkCommandBuffer.hpp112 void clearColorImage(Image *image, VkImageLayout imageLayout, const VkClearColorValue *pColor,
114 …void clearDepthStencilImage(Image *image, VkImageLayout imageLayout, const VkClearDepthStencilValu…
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_fmask_expand.c143 .imageLayout = VK_IMAGE_LAYOUT_GENERAL}, in radv_expand_fmask_image_inplace()
153 .imageLayout = VK_IMAGE_LAYOUT_GENERAL}, in radv_expand_fmask_image_inplace()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp1932 const tcu::Maybe<vk::VkImageLayout> imageLayout);
1953 const tcu::Maybe<vk::VkImageLayout> imageLayout) in PipelineBarrier() argument
1959 , m_imageLayout (imageLayout) in PipelineBarrier()
2909 ImageCopyToBuffer (vk::VkImageLayout imageLayout) : m_imageLayout (imageLayout) {} in ImageCopyToBuffer() argument
3027 …opyFromBuffer (deUint32 seed, vk::VkImageLayout imageLayout) : m_seed(seed), m_imageLayout(imageL… in ImageCopyFromBuffer() argument
3140 …eCopyFromImage (deUint32 seed, vk::VkImageLayout imageLayout) : m_seed(seed), m_imageLayout(imageL… in ImageCopyFromImage() argument
3364 ImageCopyToImage (vk::VkImageLayout imageLayout) : m_imageLayout(imageLayout) {} in ImageCopyToImage() argument
3606 …seed, BlitScale scale, vk::VkImageLayout imageLayout) : m_seed(seed), m_scale(scale), m_imageLayou… in ImageBlitFromImage() argument
3882 …BlitToImage (BlitScale scale, vk::VkImageLayout imageLayout) : m_scale(scale), m_imageLayout(image… in ImageBlitToImage() argument
8007 , imageLayout (vk::VK_IMAGE_LAYOUT_UNDEFINED) in State()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp808 VkImageLayout imageLayout; in createRenderPass() local
811 imageLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; in createRenderPass()
813 imageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in createRenderPass()
824 imageLayout, // VkImageLayout initialLayout; in createRenderPass()
825 imageLayout, // VkImageLayout finalLayout; in createRenderPass()
836 imageLayout, // VkImageLayout layout; in createRenderPass()
901 VkImageLayout imageLayout; in createRenderPass() local
915 imageLayout = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL_KHR; in createRenderPass()
924 imageLayout = VK_IMAGE_LAYOUT_GENERAL; in createRenderPass()
948 imageLayout, // VkImageLayout layout; in createRenderPass()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupVk.cpp106 writeImageInfo[numWrites].imageLayout = in BindGroup()

12345