Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp72 Allocator& memAlloc = m_context.getDefaultAllocator(); in iterate() local
78 memAlloc, in iterate()
109 const Buffer colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, in iterate()
111 const Buffer vertexBuffer (vk, device, memAlloc, makeBufferCreateInfo(vertexDataSizeBytes, in iterate()
162 bindDescriptorSets(vk, device, memAlloc, *cmdBuffer, *pipelineLayout); in iterate()
DvktGeometryBasicGeometryShaderTests.cpp98 Allocator& memAlloc = context.getDefaultAllocator(); in uploadImage() local
121 …bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequiremen… in uploadImage()
304 Allocator& memAlloc,
374 Allocator& memAlloc = m_context.getDefaultAllocator(); in createPipelineLayout() local
408 …m_allocation = memAlloc.allocate(getImageMemoryRequirements(vk, device, *m_texture), MemoryRequire… in createPipelineLayout()
426 …nstance::bindDescriptorSets (const DeviceInterface& vk, const VkDevice device, Allocator& memAlloc, in bindDescriptorSets() argument
434 …m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), Memor… in bindDescriptorSets()
618 Allocator& memAlloc = m_context.getDefaultAllocator(); in createIndicesBuffer() local
633 …m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_indicesBuffer), Memory… in createIndicesBuffer()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewAccessTests.cpp165 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getIns… in BufferViewTestInstance() local
171 …ImageDedicatedAllocation().createTestImage(m_renderSize, m_colorFormat, context, memAlloc, m_color… in BufferViewTestInstance()
175 …ImageSuballocation().createTestImage(m_renderSize, m_colorFormat, context, memAlloc, m_colorImage,… in BufferViewTestInstance()
181 …estBuffer(m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, … in BufferViewTestInstance()
185 …estBuffer(m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, … in BufferViewTestInstance()
311 …uffer(uniformSize, VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, m_context, memAlloc, m_uniformBuffer,… in BufferViewTestInstance()
589 …estBuffer(vertexDataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, m_context, memAlloc, m_vertexBuffer, … in BufferViewTestInstance()
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.cpp169 const VkMemoryAllocateInfo memAlloc = in createTestBuffer() local
179 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer()
DvktApiFillBufferTests.cpp113 Allocator& memAlloc = context.getDefaultAllocator(); in FillBufferTestInstance() local
124 …TestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, context, memAlloc, m_destination, M… in FillBufferTestInstance()
DvktApiGranularityTests.cpp163 …SimpleAllocator memAlloc (vk, device, getPhysicalDeviceMemoryProperties(m_context.getInstanceI… in initImages() local
188 …de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, device, *ima… in initImages()
DvktApiCopiesAndBlittingTests.cpp429 Allocator& memAlloc = m_context.getDefaultAllocator(); in uploadImageAspect() local
451 …i, vk, vkPhysDevice, vkDevice, *buffer, MemoryRequirement::HostVisible, memAlloc, m_params.allocat… in uploadImageAspect()
825 Allocator& memAlloc = context.getDefaultAllocator(); in CopyImageToImage() local
876 …age(vki, vk, vkPhysDevice, vkDevice, *m_source, MemoryRequirement::Any, memAlloc, m_params.allocat… in CopyImageToImage()
903 …ki, vk, vkPhysDevice, vkDevice, *m_destination, MemoryRequirement::Any, memAlloc, m_params.allocat… in CopyImageToImage()
1170 Allocator& memAlloc = context.getDefaultAllocator(); in CopyBufferToBuffer() local
1187 … vk, vkPhysDevice, vkDevice, *m_source, MemoryRequirement::HostVisible, memAlloc, m_params.allocat… in CopyBufferToBuffer()
1206 …vkPhysDevice, vkDevice, *m_destination, MemoryRequirement::HostVisible, memAlloc, m_params.allocat… in CopyBufferToBuffer()
1341 Allocator& memAlloc = context.getDefaultAllocator(); in CopyImageToBuffer() local
1366 …age(vki, vk, vkPhysDevice, vkDevice, *m_source, MemoryRequirement::Any, memAlloc, m_params.allocat… in CopyImageToBuffer()
[all …]
DvktApiBufferTests.cpp394 memAlloc = in bufferCreateAndAllocTest() local
402 result = vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in bufferCreateAndAllocTest()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp494 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, DE_NULL); in createMemory() local
497 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
519 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, DE_NULL); in createMemory() local
522 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
546 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, &dedicatedAllocationI… in createMemory() local
549 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory()
572 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, &dedicatedAllocationI… in createMemory() local
575 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory()
784 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(ctx, memReqs, MemoryHostVisib… in createBuffer() local
787 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createBuffer()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp607 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in PushConstantGraphicsTestInstance() local
637 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in PushConstantGraphicsTestInstance()
774 …m_uniformBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_uniformBuffe… in PushConstantGraphicsTestInstance()
1063 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in PushConstantGraphicsTestInstance()
1398 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstance… in PushConstantComputeTestInstance() local
1429 …m_outBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outBuffer), Memo… in PushConstantComputeTestInstance()
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()
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()
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()
DvktPipelineImageSamplingInstance.cpp221 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in ImageSamplingInstance() local
320 …, vk, physDevice, vkDevice, **m_images[imgNdx], MemoryRequirement::Any, memAlloc, m_allocationKind… in ImageSamplingInstance()
324 …uploadTestTexture(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_texture, **m_images[imgNdx]); in ImageSamplingInstance()
425 … physDevice, vkDevice, **m_colorImages[imgNdx], MemoryRequirement::Any, memAlloc, m_allocationKind… in ImageSamplingInstance()
759 … physDevice, vkDevice, *m_vertexBuffer, MemoryRequirement::HostVisible, memAlloc, m_allocationKind… in ImageSamplingInstance()
DvktPipelineMultisampleTests.cpp1465 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in initialize() local
1492 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in initialize()
1521 …m_resolveImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_resolveImage),… in initialize()
1550 …m_depthStencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthSten… in initialize()
1938 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in initialize()
DvktPipelineTimestampTests.cpp837 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m… in createBufferAndBindMemory() local
852 …de::MovePtr<Allocation> vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDe… in createBufferAndBindMemory()
872 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m… in createImage2DAndBindMemory() local
910 …de::MovePtr<Allocation> colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevic… in createImage2DAndBindMemory()
DvktPipelineVertexInputTests.cpp695 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in VertexInputInstance() local
732 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in VertexInputInstance()
1050 …de::MovePtr<Allocation> vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDe… in VertexInputInstance()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp2625 VkMemoryAllocateInfo memAlloc = {}; in TEST_F() local
2626 memAlloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
2627 memAlloc.pNext = NULL; in TEST_F()
2628 memAlloc.allocationSize = 0; in TEST_F()
2629 memAlloc.memoryTypeIndex = 0; in TEST_F()
2632 memAlloc.allocationSize = memReqs.size; in TEST_F()
2633 pass = m_device->phy().set_memory_type(memReqs.memoryTypeBits, &memAlloc, 0); in TEST_F()
2635 err = vkAllocateMemory(m_device->device(), &memAlloc, NULL, &srcMem); in TEST_F()
2639 memAlloc.allocationSize = memReqs.size; in TEST_F()
2640 pass = m_device->phy().set_memory_type(memReqs.memoryTypeBits, &memAlloc, 0); in TEST_F()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp737 Allocator& memAlloc = m_context.getDefaultAllocator(); in execute() local
846 …de::MovePtr<Allocation> colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevic… in execute()
1339 …const de::UniquePtr<Allocation> readImageBufferMemory(memAlloc.allocate(getBufferMemoryRequirement… in execute()
1809 Allocator& memAlloc = m_context.getDefaultAllocator(); in initBuffers() local
1824 …m_inputAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_inputBuffer), Memory… in initBuffers()
1841 …m_outputAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outputBuffer), Memo… in initBuffers()
2146 Allocator& memAlloc = m_context.getDefaultAllocator(); in renderTess() local
2201 …colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *colorImage), MemoryR… in renderTess()