Lines Matching defs:image

48 namespace image
183 TCU_THROW(NotSupportedError, "Format feature host image transfer not supported for drm format modifier.");
198 TCU_THROW(NotSupportedError, "Format feature host image transfer not supported for drm format modifier.");
204 TCU_THROW(NotSupportedError, "Format feature host image transfer not supported for optimal tiling.");
207 TCU_THROW(NotSupportedError, "Format feature host image transfer not supported for optimal tiling.");
246 void transitionImageLayout (const Move<vk::VkCommandBuffer>* cmdBuffer, vk::VkImage image, vk::VkImageLayout oldLayout, vk::VkImageLayout newLayout, vk::VkImageSubresourceRange subresourceRange);
247 void copyMemoryToImage (const std::vector<deUint8> testData, vk::VkImage image, deUint32 texelSize, const vk::VkImageSubresourceLayers subresourceLayers, deInt32 xOffset, deInt32 yOffset, deUint32 width, deUint32 height);
255 void HostImageCopyTestInstance::transitionImageLayout (const Move<vk::VkCommandBuffer>* cmdBuffer, vk::VkImage image, vk::VkImageLayout oldLayout, vk::VkImageLayout newLayout, vk::VkImageSubresourceRange subresourceRange)
267 image, // VkImage image;
277 auto imageMemoryBarrier = makeImageMemoryBarrier(0u, vk::VK_ACCESS_TRANSFER_WRITE_BIT, oldLayout, newLayout, image, subresourceRange);
284 void HostImageCopyTestInstance::copyMemoryToImage (const std::vector<deUint8> testData, vk::VkImage image, deUint32 texelSize, const vk::VkImageSubresourceLayers subresourceLayers, deInt32 xOffset, deInt32 yOffset, deUint32 width, deUint32 height)
327 image, // VkImage dstImage;
390 // Create sampled image
440 sampledImage, // VkImage image;
449 imageViewCreateInfo.image = **sampledImageWithMemoryCopy;
454 // Create output image
488 **outputImage, // VkImage image;
682 // Load sampled image
686 commandsLog << "vkTransitionImageLayoutEXT() image " << sampledImage << " to layout " << getImageLayoutStr(m_parameters.dstLayout).toString() << "\n";
689 commandsLog << "vkCopyMemoryToImageEXT() with image " << sampledImage << ", xOffset (0), yOffset (0), width (" << mipImageSize.width << "), height (" << mipImageSize.height << ")\n";
712 commandsLog << "vkCopyMemoryToImageEXT() with image " << sampledImage << ", xOffset (" << xOffset << "), yOffset (" << yOffset << "), width (" << width << "), height (" << height << ")\n";
718 commandsLog << "vkTransitionImageLayoutEXT() image " << sampledImage << " to layout VK_IMAGE_LAYOUT_GENERAL\n";
730 commandsLog << "vkTransitionImageLayoutEXT() image " << sampledImage << " to layout" << getImageLayoutStr(m_parameters.dstLayout).toString() << "\n";
747 commandsLog << "vkCmdCopyBufferToImage() with image " << sampledImage << ", xOffset (" << copyRegion.imageOffset.x << "), yOffset (" << copyRegion.imageOffset.y << "), width (" << mipImageSize.width << "), height (" << mipImageSize.height << ")\n";
769 commandsLog << "vkTransitionImageLayoutEXT() image " << sampledImage << " to layout VK_IMAGE_LAYOUT_GENERAL\n";
811 commandsLog << "vkCopyImageToMemoryEXT() with image " << sampledImage << ", xOffset (" << region.imageOffset.x << "), yOffset (" << region.imageOffset.y << "), width (" << mipImageSize.width << "), height (" << mipImageSize.height << ")\n";
837 commandsLog << "vkCopyMemoryToImageEXT() with image " << **sampledImageWithMemoryCopy << ", xOffset (" << toImageRegion.imageOffset.x << "), yOffset (" << toImageRegion.imageOffset.y << "), width (" << toImageRegion.imageExtent.width << "), height (" << toImageRegion.imageExtent.height << ")\n";
843 // Transition output image
845 commandsLog << "vkTransitionImageLayoutEXT() image " << **outputImage << " to layout VK_IMAGE_LAYOUT_GENERAL\n";
893 **outputImage, // VkImage image
910 commandsLog << "vkCmdCopyImageToBuffer() with image " << **outputImage << ", xOffset (" << imageOffset.x << "), yOffset (" << imageOffset.y << "), width (" << renderArea.extent.width << "), height (" << renderArea.extent.height << "\n";
915 // Verify image
963 commandsLog << "vkCopyImageToMemoryEXT() with image " << **outputImage << "\n";
1011 << tcu::LogImage("image", "", bufferData)
1145 TCU_THROW(NotSupportedError, "Format feature host image transfer not supported for linear tiling.");
1147 TCU_THROW(NotSupportedError, "Format feature host image transfer not supported for optimal tiling.");
1152 TCU_THROW(NotSupportedError, "Required image mip levels not supported.");
1196 std::string image;
1200 image = "uimage2D";
1205 image = "image2D";
1214 << "layout (set=0, binding=1) uniform writeonly " << image << " outImage;\n"
1315 de::MovePtr<ImageWithMemory> image = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vk, device, alloc, createInfo, vk::MemoryRequirement::HostVisible));
1317 const vk::VkImage endImage = m_imageToImageCopy ? **copyImage : **image;
1320 vk::Allocation& allocation = image->getAllocation();
1342 vk.getImageMemoryRequirements(device, **image, &hostImageMemoryRequirements);
1355 image->get(), // VkImage image;
1369 copyImage->get(), // VkImage image;
1394 **image, // VkImage srcImage;
1441 **image, // VkImage image;
1457 vk.cmdCopyImageToBuffer(*cmdBuffer, **image, vk::VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **outputBuffer, 1u, &copyRegion);
1634 TCU_THROW(NotSupportedError, "Required image array layers not supported.");
1829 TCU_THROW(NotSupportedError, "Format feature sampled image bit not supported for optimal tiling.");
1831 TCU_THROW(NotSupportedError, "Format feature sampled image bit not supported for linear tiling.");
1856 // Copy from image to memory on host
1858 // Copy from image to memory on gpu
1965 // non-sparse image
1967 // sparse image
2232 } // image