Home
last modified time | relevance | path

Searched refs:imageAlloc (Results 1 - 16 of 16) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiGranularityTests.cpp190 de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement::Any); in initImages() local
191 VK_CHECK(vk.bindImageMemory(device, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in initImages()
235 m_imageAllocs.push_back(AllocationSp(imageAlloc.release())); in initImages()
H A DvktApiGetMemoryCommitment.cpp160 de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(memoryRequirements, MemoryRequirement::LazilyAllocated); in iterate() local
162 VK_CHECK(vkd.bindImageMemory(device, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiGranularityTests.cpp199 de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement::Any); in initImages() local
200 VK_CHECK(vk.bindImageMemory(device, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in initImages()
224 m_imageAllocs.push_back(AllocationSp(imageAlloc.release())); in initImages()
H A DvktApiGetMemoryCommitment.cpp159 de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(memoryRequirements, MemoryRequirement::LazilyAllocated); in iterate() local
161 VK_CHECK(vkd.bindImageMemory(device, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageSubresourceLayoutTests.cpp451 de::MovePtr<Allocation> imageAlloc = allocator.allocate(req, MemoryRequirement::HostVisible); in iterateAspect() local
453 VK_CHECK(vkd.bindImageMemory(device, *image, imageAlloc->getMemory(), m_params.imageOffset ? req.alignment : 0u)); in iterateAspect()
454 auto* imagePtr = reinterpret_cast<unsigned char*>(imageAlloc->getHostPtr()); in iterateAspect()
506 invalidateAlloc(vkd, device, *imageAlloc); in iterateAspect()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmComputeShaderCase.cpp530 AllocationMp imageAlloc; in iterate() local
531 ImageHandleUp* image = new ImageHandleUp(createImageAndBindMemory(vkdi, device, descType, m_shaderSpec.inputFormat, allocator, queueFamilyIndex, &imageAlloc)); in iterate()
539 inputAllocs.push_back(de::SharedPtr<Allocation>(imageAlloc.release())); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmComputeShaderCase.cpp530 AllocationMp imageAlloc; in iterate() local
531 ImageHandleUp* image = new ImageHandleUp(createImageAndBindMemory(vkdi, device, descType, allocator, queueFamilyIndex, &imageAlloc)); in iterate()
539 inputAllocs.push_back(de::SharedPtr<Allocation>(imageAlloc.release())); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageSubresourceLayoutTests.cpp456 de::MovePtr<Allocation> imageAlloc = allocator.allocate(req, MemoryRequirement::HostVisible); in iterateAspect() local
458 VK_CHECK(vkd.bindImageMemory(device, *image, imageAlloc->getMemory(), m_params.imageOffset ? req.alignment : 0u)); in iterateAspect()
459 auto* imagePtr = reinterpret_cast<unsigned char*>(imageAlloc->getHostPtr()); in iterateAspect()
511 invalidateAlloc(vkd, device, *imageAlloc); in iterateAspect()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassDitheringTests.cpp614 de::MovePtr<Allocation> imageAlloc = m_memAlloc.allocate(memoryRequirements, MemoryRequirement::Any); in createDrawResources() local
615 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in createDrawResources()
643 m_drawResources[resourceNdx].attachmentImageAllocs.emplace_back(imageAlloc); in createDrawResources()
H A DvktRenderPassFragmentDensityMapTests.cpp268 de::MovePtr<Allocation>& imageAlloc, in prepareImageAndImageView()
293 imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any); in prepareImageAndImageView()
294 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in prepareImageAndImageView()
253 prepareImageAndImageView(const DeviceInterface& vk, VkDevice vkDevice, SimpleAllocator& memAlloc, VkImageCreateFlags imageCreateFlags, VkFormat format, VkExtent3D extent, deUint32 arrayLayers, VkSampleCountFlagBits samples, VkImageUsageFlags usage, deUint32 queueFamilyIndex, VkImageViewCreateFlags viewFlags, VkImageViewType viewType, const VkComponentMapping& channels, const VkImageSubresourceRange& subresourceRange, Move<VkImage>& image, de::MovePtr<Allocation>& imageAlloc, Move<VkImageView>& imageView) prepareImageAndImageView() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustness1VertexAccessTests.cpp537 auto imageAlloc = allocator.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement::Any);
538 VK_CHECK(vk.bindImageMemory(device, *image, imageAlloc->getMemory(), imageAlloc->getOffset()));
553 colorImageAllocs.emplace_back(imageAlloc);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassDitheringTests.cpp616 de::MovePtr<Allocation> imageAlloc = m_memAlloc.allocate(memoryRequirements, MemoryRequirement::Any); in createDrawResources() local
617 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in createDrawResources()
645 m_drawResources[resourceNdx].attachmentImageAllocs.emplace_back(imageAlloc); in createDrawResources()
H A DvktRenderPassFragmentDensityMapTests.cpp264 de::MovePtr<Allocation>& imageAlloc, in prepareImageAndImageView()
289 imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any); in prepareImageAndImageView()
290 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in prepareImageAndImageView()
249 prepareImageAndImageView(const DeviceInterface& vk, VkDevice vkDevice, SimpleAllocator& memAlloc, VkImageCreateFlags imageCreateFlags, VkFormat format, VkExtent3D extent, deUint32 arrayLayers, VkSampleCountFlagBits samples, VkImageUsageFlags usage, deUint32 queueFamilyIndex, VkImageViewCreateFlags viewFlags, VkImageViewType viewType, const VkComponentMapping& channels, const VkImageSubresourceRange& subresourceRange, Move<VkImage>& image, de::MovePtr<Allocation>& imageAlloc, Move<VkImageView>& imageView) prepareImageAndImageView() argument
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustness1VertexAccessTests.cpp517 auto imageAlloc = allocator.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement::Any);
518 VK_CHECK(vk.bindImageMemory(device, *image, imageAlloc->getMemory(), imageAlloc->getOffset()));
533 colorImageAllocs.emplace_back(imageAlloc);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineFramebufferAttachmentTests.cpp806 const MovePtr<Allocation> imageAlloc = bindImage(vk, device, allocator, *image, MemoryRequirement::Any); in testNoAtt() local
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineFramebufferAttachmentTests.cpp814 const MovePtr<Allocation> imageAlloc = bindImage(vk, device, allocator, *image, MemoryRequirement::Any); in testNoAtt() local

Completed in 33 milliseconds