Home
last modified time | relevance | path

Searched refs:memAlloc (Results 1 – 18 of 18) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.hpp120 Allocator& memAlloc,
130 Allocator& memAlloc,
141 Allocator& memAlloc,
156 …st DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc);
244 Allocator& memAlloc,
256 Allocator& memAlloc,
269 Allocator& memAlloc,
310 …iceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc) const;
331 …viceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc) const in setup()
333 …executor.setupUniformData(vkDevice, vk, queue, queueFamilyIndex, memAlloc, m_bindingLocation, m_de… in setup()
[all …]
DvktShaderExecutor.cpp460 Allocator& memAlloc,
465 Allocator& memAlloc,
594 void FragmentOutExecutor::addAttribute (const Context& ctx, Allocator& memAlloc, deUint32 bindingLo… in addAttribute() argument
637 …de::MovePtr<Allocation> alloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffe… in addAttribute()
647 void FragmentOutExecutor::bindAttributes (const Context& ctx, Allocator& memAlloc, int numValues, c… in bindAttributes() argument
680 …addAttribute(ctx, memAlloc, (deUint32)m_vertexBindingDescriptions.size(), format, elementSize * ve… in bindAttributes()
701 Allocator& memAlloc = ctx.getDefaultAllocator(); in execute() local
745 …addAttribute(ctx, memAlloc, 0u, VK_FORMAT_R32G32_SFLOAT, sizeof(tcu::Vec2), (deUint32)positions.si… in execute()
746 bindAttributes(ctx, memAlloc, numValues, inputs); in execute()
810 …de::MovePtr<Allocation> colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevic… in execute()
[all …]
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp2205 VkMemoryAllocateInfo memAlloc = {}; in TEST_F() local
2206 memAlloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
2207 memAlloc.pNext = NULL; in TEST_F()
2208 memAlloc.allocationSize = 0; in TEST_F()
2209 memAlloc.memoryTypeIndex = 0; in TEST_F()
2211 memAlloc.allocationSize = memReqs.size; in TEST_F()
2213 m_device->phy().set_memory_type(memReqs.memoryTypeBits, &memAlloc, 0); in TEST_F()
2215 err = vkAllocateMemory(m_device->device(), &memAlloc, NULL, &imageMem); in TEST_F()
6372 VkMemoryAllocateInfo memAlloc = {}; in TEST_F() local
6373 memAlloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp227 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in uploadImage() local
250 …bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirem… in uploadImage()
606 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstance… in CopyImageToImage() local
648 …m_sourceImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_source), Memory… in CopyImageToImage()
675 …m_destinationImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_destinatio… in CopyImageToImage()
702 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in iterate() local
781 …de::MovePtr<tcu::TextureLevel> resultTextureLevel = readImage(vk, vkDevice, queue, memAlloc, *m_de… in iterate()
842 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstance… in CopyBufferToBuffer() local
859 …m_sourceBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_source), Mem… in CopyBufferToBuffer()
878 …m_destinationBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_destinat… in CopyBufferToBuffer()
[all …]
DvktApiSmokeTests.cpp336 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInst… in renderTriangleTest() local
360 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(… in renderTriangleTest()
377 …const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirement… in renderTriangleTest()
401 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleTest()
948 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInst… in renderTriangleUnusedResolveAttachmentTest() local
972 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(… in renderTriangleUnusedResolveAttachmentTest()
989 …const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirement… in renderTriangleUnusedResolveAttachmentTest()
1013 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleUnusedResolveAttachmentTest()
DvktApiBufferViewCreateTests.cpp138 const VkMemoryAllocateInfo memAlloc = in iterate() local
162 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); in iterate()
DvktApiBufferViewAccessTests.cpp151 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstance… in BufferViewTestInstance() local
178 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in BufferViewTestInstance()
197 …m_resultBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_resultBuffer)… in BufferViewTestInstance()
335 …m_uniformBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_uniformBuffe… in BufferViewTestInstance()
611 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in BufferViewTestInstance()
DvktApiBufferTests.cpp161 const VkMemoryAllocateInfo memAlloc = in bufferCreateAndAllocTest() local
171 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); in bufferCreateAndAllocTest()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp358 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in ImageSamplingInstance() local
431 …m_imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_image), MemoryRequire… in ImageSamplingInstance()
435 uploadTestTexture(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_texture, *m_image); in ImageSamplingInstance()
509 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in ImageSamplingInstance()
836 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in ImageSamplingInstance()
999 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInst… in verifyImage() local
1000 …esult = readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_colorImage, m… in verifyImage()
DvktPipelineCacheTests.cpp464 …SimpleAllocator* memAlloc = new SimpleAllocator(vk, vkDevice, getPhysicalDeviceMemo… in createBufferAndBindMemory() local
481 …*pAlloc = memAlloc->allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequi… in createBufferAndBindMemory()
498 …SimpleAllocator* memAlloc = new SimpleAllocator(vk, vkDevice, getPhysicalDeviceMemo… in createImage2DAndBindMemory() local
522 …*pAlloc = memAlloc->allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::… in createImage2DAndBindMemory()
1120 …SimpleAllocator* memAlloc = new SimpleAllocator(vk, vkDevice, getPhysicalDeviceMemo… in verifyTestResult() local
1127 *memAlloc, in verifyTestResult()
1135 *memAlloc, in verifyTestResult()
DvktPipelinePushConstantTests.cpp476 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in PushConstantGraphicsTestInstance() local
506 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in PushConstantGraphicsTestInstance()
643 …m_uniformBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_uniformBuffe… in PushConstantGraphicsTestInstance()
932 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in PushConstantGraphicsTestInstance()
1260 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstance… in PushConstantComputeTestInstance() local
1291 …m_outBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outBuffer), Memo… in PushConstantComputeTestInstance()
DvktPipelineDepthTests.cpp233 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in DepthTestInstance() local
263 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in DepthTestInstance()
295 …m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), Mem… in DepthTestInstance()
683 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in DepthTestInstance()
DvktPipelineStencilTests.cpp322 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in StencilTestInstance() local
350 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in StencilTestInstance()
382 …m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage),… in StencilTestInstance()
761 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in StencilTestInstance()
DvktPipelineInputAssemblyTests.cpp925 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstan… in InputAssemblyInstance() local
972 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in InputAssemblyInstance()
1313 …m_indexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_indexBuffer), … in InputAssemblyInstance()
1318 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in InputAssemblyInstance()
DvktPipelineBlendTests.cpp305 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in BlendTestInstance() local
338 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in BlendTestInstance()
666 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in BlendTestInstance()
DvktPipelineMultisampleTests.cpp1287 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in MultisampleRenderer() local
1314 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in MultisampleRenderer()
1343 …m_resolveImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_resolveImage),… in MultisampleRenderer()
1692 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in MultisampleRenderer()
DvktPipelineTimestampTests.cpp858 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m… in createBufferAndBindMemory() local
873 …de::MovePtr<Allocation> vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDe… in createBufferAndBindMemory()
893 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m… in createImage2DAndBindMemory() local
931 …de::MovePtr<Allocation> colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevic… in createImage2DAndBindMemory()
DvktPipelineVertexInputTests.cpp650 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in VertexInputInstance() local
677 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in VertexInputInstance()
999 …de::MovePtr<Allocation> vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDe… in VertexInputInstance()