Lines Matching refs:vkTexture
778 Move<VkImage> vkTexture = createImage(vk, vkDevice, &imageCreateInfo); in createImage2D() local
779 return vkTexture; in createImage2D()
783 const VkImage& vkTexture) in uploadImage2D() argument
788 …location = m_memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, vkTexture), MemoryRequirem… in uploadImage2D()
789 …VK_CHECK(vk.bindImageMemory(vkDevice, vkTexture, allocation->getMemory(), allocation->getOffset())… in uploadImage2D()
799 vk.getImageSubresourceLayout(vkDevice, vkTexture, &subres, &layout); in uploadImage2D()
953 Move<VkImage> vkTexture; in useSampler2D() local
958 vkTexture = createImage2D(refTexture, format, VK_IMAGE_USAGE_SAMPLED_BIT, VK_IMAGE_TILING_LINEAR); in useSampler2D()
959 allocation = uploadImage2D(refTexture, *vkTexture); in useSampler2D()
967 vkTexture = createImage2D(refTexture, format, dstUsageFlags, VK_IMAGE_TILING_OPTIMAL); in useSampler2D()
968 …allocation = m_memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *vkTexture), MemoryRequi… in useSampler2D()
969 …VK_CHECK(vk.bindImageMemory(vkDevice, *vkTexture, allocation->getMemory(), allocation->getOffset()… in useSampler2D()
971 …copyTilingImageToOptimal(*stagingTexture, *vkTexture, refTexture.getWidth(), refTexture.getHeight(… in useSampler2D()
987 *vkTexture, // VkImage image; in useSampler2D()
1018 uniform->image = VkImageSp(new vk::Unique<VkImage>(vkTexture)); in useSampler2D()