Home
last modified time | relevance | path

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

123

/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp391 vk::VkSubresourceLayout imageLayout; in readLinear() local
392 deMemset(&imageLayout, 0, sizeof(imageLayout)); in readLinear()
394 m_vk.getImageSubresourceLayout(m_device, object(), &imageSubResource, &imageLayout); in readLinear()
397 srcPtr += imageLayout.offset; in readLinear()
398 srcPtr += offset.z * imageLayout.depthPitch; in readLinear()
399 srcPtr += offset.y * imageLayout.rowPitch; in readLinear()
403 imageLayout.rowPitch, imageLayout.depthPitch, srcPtr, data); in readLinear()
713 vk::VkSubresourceLayout imageLayout; in uploadLinear() local
718 &imageLayout); in uploadLinear()
721 destPtr += imageLayout.offset; in uploadLinear()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperationSingleQueueTests.cpp105 …writeSync.imageLayout, readSync.imageLayout, m_resource->getImage().handle, m_resource->getImage()… in iterate()
158 …writeSync.imageLayout, readSync.imageLayout, m_resource->getImage().handle, m_resource->getImage()… in iterate()
235 …writeSync.imageLayout, readSync.imageLayout, m_resource->getImage().handle, m_resource->getImage()… in iterate()
296 …writeSync.imageLayout, readSync.imageLayout, m_resource->getImage().handle, m_resource->getImage()… in iterate()
DvktSynchronizationOperation.hpp204 vk::VkImageLayout imageLayout; // src (for reads) or dst (for writes) image layout member
DvktSynchronizationCrossInstanceSharingTests.cpp889 writeSync.imageLayout, in recordWriteBarrier()
890 readSync.imageLayout, in recordWriteBarrier()
948 writeSync.imageLayout, in recordReadBarrier()
949 readSync.imageLayout, in recordReadBarrier()
DvktSynchronizationOperationMultiQueueTests.cpp238 …writeSync.imageLayout, readSync.imageLayout, resource.getImage().handle, resource.getImage().subre… in createBarrierMultiQueue()
DvktSynchronizationWin32KeyedMutexTests.cpp480 writeSync.imageLayout, in recordWriteBarrier()
481 readSync.imageLayout, in recordWriteBarrier()
539 writeSync.imageLayout, in recordReadBarrier()
540 readSync.imageLayout, in recordReadBarrier()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp837 m_descriptorImageInfo.imageLayout = VK_IMAGE_LAYOUT_GENERAL; in VkImageObj()
883 if (image_layout == m_descriptorImageInfo.imageLayout) { in SetLayout()
889 if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL) in SetLayout()
897 if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL) in SetLayout()
899 else if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) in SetLayout()
907 if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL) in SetLayout()
915 if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL) in SetLayout()
933 if (m_descriptorImageInfo.imageLayout == VK_IMAGE_LAYOUT_UNDEFINED) src_mask = 0; in SetLayout()
936 m_descriptorImageInfo.imageLayout = image_layout; in SetLayout()
940 if (image_layout == m_descriptorImageInfo.imageLayout) { in SetLayout()
[all …]
Dvkrenderframework.h221 …void ClearColorImage(VkImage image, VkImageLayout imageLayout, const VkClearColorValue *pColor, ui…
223 …void ClearDepthStencilImage(VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilVal…
273 void Layout(VkImageLayout const layout) { m_descriptorImageInfo.imageLayout = layout; } in Layout()
313 VkImageLayout Layout() const { return m_descriptorImageInfo.imageLayout; } in Layout()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemShaderImageAccessTests.cpp234 vk::VkImageLayout imageLayout,
773 vk::VkImageLayout imageLayout = vk::VK_IMAGE_LAYOUT_UNDEFINED; in executeFragmentTest() local
780 imageLayout = vk::VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in executeFragmentTest()
787 imageLayout = vk::VK_IMAGE_LAYOUT_GENERAL; in executeFragmentTest()
806 …copyToProtectedImage(m_protectedContext, **unprotectedImage, **imageSrc, imageLayout, IMAGE_WIDTH,… in executeFragmentTest()
1060 imageLayout, // newLayout in executeFragmentTest()
1098 return validateResult(resultImage, imageLayout, *texture2D, refSampler); in executeFragmentTest()
1119 …cessTestInstance::validateResult (vk::VkImage image, vk::VkImageLayout imageLayout, const tcu::Tex… in validateResult() argument
1134 …(!m_validator.validateImage(m_protectedContext, refData, image, m_params.imageFormat, imageLayout)) in validateResult()
DvktProtectedMemImageValidator.hpp56 const vk::VkImageLayout imageLayout) const;
DvktProtectedMemWorkgroupStorageTests.cpp98 vk::VkImageLayout imageLayout,
335 …rageTestInstance::validateResult (vk::VkImage image, vk::VkImageLayout imageLayout, const tcu::Tex… in validateResult() argument
350 …dator.validateImage(m_protectedContext, refData, image, vk::VK_FORMAT_R8G8B8A8_UNORM, imageLayout)) in validateResult()
DvktProtectedMemImageValidator.cpp114 …const vk::VkImage image, const vk::VkFormat imageFormat, const vk::VkImageLayout imageLayout) const in validateImage()
200 …:VkDescriptorImageInfo descSampledImg = makeDescriptorImageInfo(*sampler, *imageView, imageLayout); in validateImage()
/external/swiftshader/src/Vulkan/
DVkCommandBuffer.hpp101 void clearColorImage(VkImage image, VkImageLayout imageLayout, const VkClearColorValue* pColor,
103 …void clearDepthStencilImage(VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilVal…
DlibVulkan.cpp1474 …ColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearC… in vkCmdClearColorImage() argument
1477 commandBuffer, image, imageLayout, pColor, rangeCount, pRanges); in vkCmdClearColorImage()
1479 vk::Cast(commandBuffer)->clearColorImage(image, imageLayout, pColor, rangeCount, pRanges); in vkCmdClearColorImage()
1482 …encilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearD… in vkCmdClearDepthStencilImage() argument
1485 commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges); in vkCmdClearDepthStencilImage()
1487 …vk::Cast(commandBuffer)->clearDepthStencilImage(image, imageLayout, pDepthStencil, rangeCount, pRa… in vkCmdClearDepthStencilImage()
DVkCommandBuffer.cpp763 void CommandBuffer::clearColorImage(VkImage image, VkImageLayout imageLayout, const VkClearColorVal… in clearColorImage() argument
774 void CommandBuffer::clearDepthStencilImage(VkImage image, VkImageLayout imageLayout, const VkClearD… in clearDepthStencilImage() argument
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp1925 const tcu::Maybe<vk::VkImageLayout> imageLayout);
1946 const tcu::Maybe<vk::VkImageLayout> imageLayout) in PipelineBarrier() argument
1952 , m_imageLayout (imageLayout) in PipelineBarrier()
2901 ImageCopyToBuffer (vk::VkImageLayout imageLayout) : m_imageLayout (imageLayout) {} in ImageCopyToBuffer() argument
3019 …opyFromBuffer (deUint32 seed, vk::VkImageLayout imageLayout) : m_seed(seed), m_imageLayout(imageL… in ImageCopyFromBuffer() argument
3132 …eCopyFromImage (deUint32 seed, vk::VkImageLayout imageLayout) : m_seed(seed), m_imageLayout(imageL… in ImageCopyFromImage() argument
3356 ImageCopyToImage (vk::VkImageLayout imageLayout) : m_imageLayout(imageLayout) {} in ImageCopyToImage() argument
3598 …seed, BlitScale scale, vk::VkImageLayout imageLayout) : m_seed(seed), m_scale(scale), m_imageLayou… in ImageBlitFromImage() argument
3874 …BlitToImage (BlitScale scale, vk::VkImageLayout imageLayout) : m_scale(scale), m_imageLayout(image… in ImageBlitToImage() argument
7966 , imageLayout (vk::VK_IMAGE_LAYOUT_UNDEFINED) in State()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp622 const VkImageLayout imageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in TextureRenderer() local
633 imageLayout, // VkImageLayout initialLayout; in TextureRenderer()
634 imageLayout, // VkImageLayout finalLayout; in TextureRenderer()
644 imageLayout, // VkImageLayout initialLayout; in TextureRenderer()
645 imageLayout, // VkImageLayout finalLayout; in TextureRenderer()
652 imageLayout, // VkImageLayout layout; in TextureRenderer()
658 imageLayout, // VkImageLayout layout; in TextureRenderer()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp744 VkImageLayout imageLayout; in createRenderPass() local
747 imageLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; in createRenderPass()
749 imageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in createRenderPass()
760 imageLayout, // VkImageLayout initialLayout; in createRenderPass()
761 imageLayout, // VkImageLayout finalLayout; in createRenderPass()
772 imageLayout, // VkImageLayout layout; in createRenderPass()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl244 …eInfo makeDescriptorImageInfo (VkSampler sampler, VkImageView imageView, VkImageLayout imageLayout) argument
249 res.imageLayout = imageLayout;
/external/mesa3d/src/amd/vulkan/
Dradv_meta_bufimage.c995 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in itob_bind_descriptors()
1080 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in btoi_bind_descriptors()
1148 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in itoi_bind_descriptors()
1162 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in itoi_bind_descriptors()
1231 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in cleari_bind_descriptors()
Dradv_meta_resolve_cs.c337 … .imageLayout = VK_IMAGE_LAYOUT_GENERAL }, in emit_resolve()
350 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in emit_resolve()
Dradv_meta_clear.c1365 VkImageLayout imageLayout, in radv_CmdClearColorImage() argument
1386 radv_cmd_clear_image(cmd_buffer, image, imageLayout, in radv_CmdClearColorImage()
1396 VkImageLayout imageLayout, in radv_CmdClearDepthStencilImage() argument
1409 radv_cmd_clear_image(cmd_buffer, image, imageLayout, in radv_CmdClearDepthStencilImage()
Dradv_meta_fast_clear.c746 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in radv_decompress_dcc_compute()
760 .imageLayout = VK_IMAGE_LAYOUT_GENERAL, in radv_decompress_dcc_compute()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp1681 …ValidateCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, in PreCallValidateCmdClearColorImage() argument
1706 … VerifyClearImageLayout(device_data, cb_node, image_state, pRanges[i], imageLayout, "vkCmdClearCol… in PreCallValidateCmdClearColorImage()
1712 …llRecordCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, in PreCallRecordCmdClearColorImage() argument
1722 RecordClearImageLayout(device_data, cb_node, image, pRanges[i], imageLayout); in PreCallRecordCmdClearColorImage()
1727 …eCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, in PreCallValidateCmdClearDepthStencilImage() argument
1753 …VerifyClearImageLayout(device_data, cb_node, image_state, pRanges[i], imageLayout, "vkCmdClearDept… in PreCallValidateCmdClearDepthStencilImage()
1780 …dCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, in PreCallRecordCmdClearDepthStencilImage() argument
1790 RecordClearImageLayout(device_data, cb_node, image, pRanges[i], imageLayout); in PreCallRecordCmdClearDepthStencilImage()
3374 VkImageLayout imageLayout; in ValidateCmdBufImageLayouts() local
3376 if (FindLayout(device_data, overlayLayoutMap, cb_image_data.first, imageLayout) || in ValidateCmdBufImageLayouts()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp527 …const VkImageLayout imageLayout = (descType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) ? VK_IMAGE_LAY… in iterate() local
545 …nt32)numBytes, copyRegions, DE_NULL, VK_IMAGE_ASPECT_COLOR_BIT, 1u, 1u, image->get(), imageLayout); in iterate()

123