Home
last modified time | relevance | path

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

12345

/external/deqp/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()
451 DE_ASSERT(lastSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
452 DE_ASSERT(currentSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
459 lastSync.imageLayout, // VkImageLayout oldLayout in iterate()
460 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()
DvktSynchronizationOperation.hpp232 vk::VkImageLayout imageLayout; // src (for reads) or dst (for writes) image layout member
/external/deqp/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 …]
/external/deqp/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()
/external/angle/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h164 VkImageLayout imageLayout; member
173 VkImageLayout imageLayout; member
533 VkImageLayout imageLayout,
539 VkImageLayout imageLayout,
1019 VkImageLayout imageLayout, in clearColorImage() argument
1028 paramStruct->imageLayout = imageLayout; in clearColorImage()
1035 VkImageLayout imageLayout, in clearDepthStencilImage() argument
1044 paramStruct->imageLayout = imageLayout; in clearDepthStencilImage()
Dvk_helpers.cpp728 bool IsShaderReadOnlyLayout(const ImageMemoryBarrierData &imageLayout) in IsShaderReadOnlyLayout() argument
730 return imageLayout.layout == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in IsShaderReadOnlyLayout()
839 VkImageLayout ConvertImageLayoutToVkImageLayout(ImageLayout imageLayout) in ConvertImageLayoutToVkImageLayout() argument
841 return kImageMemoryBarrierData[imageLayout].layout; in ConvertImageLayoutToVkImageLayout()
1051 ImageLayout imageLayout, in imageRead() argument
1056 if (image->isReadBarrierNecessary(imageLayout)) in imageRead()
1058 updateImageLayoutAndBarrier(contextVk, image, aspectFlags, imageLayout); in imageRead()
1077 ImageLayout imageLayout, in imageWrite() argument
1084 updateImageLayoutAndBarrier(contextVk, image, aspectFlags, imageLayout); in imageWrite()
1324 ImageLayout imageLayout) in updateImageLayoutAndBarrier() argument
[all …]
DUtilsVk.cpp2344 imageInfos[0].imageLayout = src->getCurrentLayout(); in blitResolveImpl()
2349 imageInfos[0].imageLayout = src->getCurrentLayout(); in blitResolveImpl()
2354 imageInfos[1].imageLayout = src->getCurrentLayout(); in blitResolveImpl()
2537 imageInfo.imageLayout = src->getCurrentLayout(); in stencilBlitResolveNoShaderExport()
2765 imageInfo.imageLayout = src->getCurrentLayout(); in copyImage()
3063 destImageInfos[level].imageLayout = dest->getCurrentLayout(); in generateMipmap()
3068 srcImageInfo.imageLayout = src->getCurrentLayout(); in generateMipmap()
3224 inputImageInfo[attachmentIndex].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in unresolve()
3231 inputImageInfo[depthStencilBindingIndex].imageLayout = in unresolve()
3238 inputImageInfo[depthStencilBindingIndex].imageLayout = in unresolve()
[all …]
Dvk_helpers.h1040 ImageLayout imageLayout,
1047 ImageLayout imageLayout,
1241 ImageLayout imageLayout);
1388 VkImageLayout ConvertImageLayoutToVkImageLayout(ImageLayout imageLayout);
2593 ImageLayout imageLayout; member
2678 void onImageRead(VkImageAspectFlags aspectFlags, ImageLayout imageLayout, ImageHelper *image);
2684 ImageLayout imageLayout,
DSecondaryCommandBuffer.cpp278 vkCmdClearColorImage(cmdBuffer, params->image, params->imageLayout, in executeCommands()
286 vkCmdClearDepthStencilImage(cmdBuffer, params->image, params->imageLayout, in executeCommands()
DContextVk.h472 vk::ImageLayout imageLayout, in onImageRenderPassRead() argument
476 mRenderPassCommands->imageRead(this, aspectFlags, imageLayout, image); in onImageRenderPassRead()
483 vk::ImageLayout imageLayout, in onImageRenderPassWrite() argument
488 imageLayout, vk::AliasingMode::Allowed, image); in onImageRenderPassWrite()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp996 m_descriptorImageInfo.imageLayout = VK_IMAGE_LAYOUT_GENERAL; in VkImageObj()
1043 if (image_layout == m_descriptorImageInfo.imageLayout) { in SetLayout()
1049 if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL) in SetLayout()
1057 if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL) in SetLayout()
1059 else if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) in SetLayout()
1067 if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL) in SetLayout()
1075 if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL) in SetLayout()
1093 if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_UNDEFINED) src_mask = 0; in SetLayout()
1096 m_descriptorImageInfo.imageLayout = image_layout; in SetLayout()
1100 if (image_layout == m_descriptorImageInfo.imageLayout) { in SetLayout()
[all …]
Dvkrenderframework.h215 …void ClearColorImage(VkImage image, VkImageLayout imageLayout, const VkClearColorValue *pColor, ui…
217 …void ClearDepthStencilImage(VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilVal…
268 void Layout(VkImageLayout const layout) { m_descriptorImageInfo.imageLayout = layout; } in Layout()
311 VkImageLayout Layout() const { return m_descriptorImageInfo.imageLayout; } in Layout()
/external/swiftshader/src/Vulkan/
DVkCommandBuffer.hpp116 void clearColorImage(Image *image, VkImageLayout imageLayout, const VkClearColorValue *pColor,
118 …void clearDepthStencilImage(Image *image, VkImageLayout imageLayout, const VkClearDepthStencilValu…
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp1929 const tcu::Maybe<vk::VkImageLayout> imageLayout);
1950 const tcu::Maybe<vk::VkImageLayout> imageLayout) in PipelineBarrier() argument
1956 , m_imageLayout (imageLayout) in PipelineBarrier()
2905 ImageCopyToBuffer (vk::VkImageLayout imageLayout) : m_imageLayout (imageLayout) {} in ImageCopyToBuffer() argument
3023 …opyFromBuffer (deUint32 seed, vk::VkImageLayout imageLayout) : m_seed(seed), m_imageLayout(imageL… in ImageCopyFromBuffer() argument
3136 …eCopyFromImage (deUint32 seed, vk::VkImageLayout imageLayout) : m_seed(seed), m_imageLayout(imageL… in ImageCopyFromImage() argument
3360 ImageCopyToImage (vk::VkImageLayout imageLayout) : m_imageLayout(imageLayout) {} in ImageCopyToImage() argument
3602 …seed, BlitScale scale, vk::VkImageLayout imageLayout) : m_seed(seed), m_scale(scale), m_imageLayou… in ImageBlitFromImage() argument
3878 …BlitToImage (BlitScale scale, vk::VkImageLayout imageLayout) : m_scale(scale), m_imageLayout(image… in ImageBlitToImage() argument
8001 , imageLayout (vk::VK_IMAGE_LAYOUT_UNDEFINED) in State()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp793 VkImageLayout imageLayout; in createRenderPass() local
796 imageLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; in createRenderPass()
798 imageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in createRenderPass()
809 imageLayout, // VkImageLayout initialLayout; in createRenderPass()
810 imageLayout, // VkImageLayout finalLayout; in createRenderPass()
821 imageLayout, // VkImageLayout layout; in createRenderPass()
886 VkImageLayout imageLayout; in createRenderPass() local
900 imageLayout = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL_KHR; in createRenderPass()
909 imageLayout = VK_IMAGE_LAYOUT_GENERAL; in createRenderPass()
933 imageLayout, // VkImageLayout layout; in createRenderPass()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp640 const VkImageLayout imageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in TextureRenderer() local
651 imageLayout, // VkImageLayout initialLayout; in TextureRenderer()
652 imageLayout, // VkImageLayout finalLayout; in TextureRenderer()
662 imageLayout, // VkImageLayout initialLayout; in TextureRenderer()
663 imageLayout, // VkImageLayout finalLayout; in TextureRenderer()
670 imageLayout, // VkImageLayout layout; in TextureRenderer()
676 imageLayout, // VkImageLayout layout; in TextureRenderer()
/external/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c858 VkImageLayout imageLayout, in sqtt_CmdClearColorImage() argument
863 EVENT_MARKER(ClearColorImage, commandBuffer, image_h, imageLayout, in sqtt_CmdClearColorImage()
870 VkImageLayout imageLayout, in sqtt_CmdClearDepthStencilImage() argument
876 imageLayout, pDepthStencil, rangeCount, pRanges); in sqtt_CmdClearDepthStencilImage()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve_cs.c662 … .imageLayout = VK_IMAGE_LAYOUT_GENERAL }, in emit_resolve()
675 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in emit_resolve()
731 … .imageLayout = VK_IMAGE_LAYOUT_GENERAL }, in emit_depth_stencil_resolve()
744 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in emit_depth_stencil_resolve()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl264 …eInfo makeDescriptorImageInfo (VkSampler sampler, VkImageView imageView, VkImageLayout imageLayout) argument
269 res.imageLayout = imageLayout;

12345