Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp75 Allocator& memAlloc = m_context.getDefaultAllocator(); in iterate() local
81 memAlloc, in iterate()
112 const Buffer colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, in iterate()
114 const Buffer vertexBuffer (vk, device, memAlloc, makeBufferCreateInfo(vertexDataSizeBytes, in iterate()
165 bindDescriptorSets(vk, device, memAlloc, *cmdBuffer, *pipelineLayout); in iterate()
DvktGeometryBasicGeometryShaderTests.cpp101 Allocator& memAlloc = context.getDefaultAllocator(); in uploadImage() local
124 …bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequiremen… in uploadImage()
209 Allocator& memAlloc,
279 Allocator& memAlloc = m_context.getDefaultAllocator(); in createPipelineLayout() local
313 …m_allocation = memAlloc.allocate(getImageMemoryRequirements(vk, device, *m_texture), MemoryRequire… in createPipelineLayout()
331 …nstance::bindDescriptorSets (const DeviceInterface& vk, const VkDevice device, Allocator& memAlloc, in bindDescriptorSets() argument
339 …m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), Memor… in bindDescriptorSets()
523 Allocator& memAlloc = m_context.getDefaultAllocator(); in createIndicesBuffer() local
538 …m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_indicesBuffer), Memory… in createIndicesBuffer()
/third_party/vk-gl-cts/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()
263 …uffer(uniformSize, VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, m_context, memAlloc, m_uniformBuffer,… in BufferViewTestInstance()
377 …estBuffer(vertexDataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, m_context, memAlloc, m_vertexBuffer, … in BufferViewTestInstance()
DvktApiSmokeTests.cpp338 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInst… in renderTriangleTest() local
362 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(… in renderTriangleTest()
379 …const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirement… in renderTriangleTest()
403 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleTest()
599 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.get… in renderTriangleDummyExtStructTest() local
630 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequireme… in renderTriangleDummyExtStructTest()
647 …const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequire… in renderTriangleDummyExtStructTest()
671 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk… in renderTriangleDummyExtStructTest()
1196 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInst… in renderTriangleUnusedResolveAttachmentTest() local
1220 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(… in renderTriangleUnusedResolveAttachmentTest()
[all …]
DvktApiFillBufferTests.cpp95 Allocator& memAlloc = context.getDefaultAllocator(); in FillWholeBufferTestInstance() local
99 …TestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, context, memAlloc, m_destination, M… in FillWholeBufferTestInstance()
221 Allocator& memAlloc = context.getDefaultAllocator(); in FillBufferTestInstance() local
229 …TestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, context, memAlloc, m_destination, M… in FillBufferTestInstance()
DvktApiMemoryRequirementInvarianceTests.cpp104 Allocator& memAlloc = context.getDefaultAllocator(); in allocate() local
117 memAlloc, in allocate()
189 Allocator& memAlloc = context.getDefaultAllocator(); in allocate() local
202 memAlloc, in allocate()
DvktApiBufferViewCreateTests.cpp183 const VkMemoryAllocateInfo memAlloc = in createTestBuffer() local
193 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer()
DvktApiGetMemoryCommitment.cpp117 Allocator& memAlloc = m_context.getDefaultAllocator(); in iterate() local
160 …de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(memoryRequirements, MemoryRequirement::L… in iterate()
DvktApiGranularityTests.cpp165 …SimpleAllocator memAlloc (vk, device, getPhysicalDeviceMemoryProperties(m_context.getInstanceI… in initImages() local
190 …de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, device, *ima… in initImages()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp496 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, params.usePriority ? … in createMemory() local
499 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
522 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, params.usePriority ? … in createMemory() local
525 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
550 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, params.usePriority ? … in createMemory() local
553 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory()
577 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, params.usePriority ? … in createMemory() local
580 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory()
787 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(ctx, memReqs, MemoryHostVisib… in createBuffer() local
790 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassFragmentDensityMapTests.cpp221 SimpleAllocator& memAlloc, in createVertexBuffer() argument
239 …vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryR… in createVertexBuffer()
249 SimpleAllocator& memAlloc, in prepareImageAndImageView() argument
287 …imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement… in prepareImageAndImageView()
1417 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInst… in FragmentDensityMapTestInstance() local
1458 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, colorImageFormat, in FragmentDensityMapTestInstance()
1466 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, colorImageFormat, in FragmentDensityMapTestInstance()
1475 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, colorImageFormat, in FragmentDensityMapTestInstance()
1482 prepareImageAndImageView(vk, vkDevice, memAlloc, 0u, colorImageFormat, in FragmentDensityMapTestInstance()
1494 prepareImageAndImageView(vk, vkDevice, memAlloc, 0u, m_testParams.densityMapFormat, in FragmentDensityMapTestInstance()
[all …]
DvktRenderPassUnusedAttachmentSparseFillingTests.cpp267 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getIns… in InputAttachmentSparseFillingTestInstance() local
307 …auto inputImageAlloc = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, … in InputAttachmentSparseFillingTestInstance()
341 …m_outputImageMemory = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, **m… in InputAttachmentSparseFillingTestInstance()
372 …m_outputBufferMemory = safeSharedPtr(memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *… in InputAttachmentSparseFillingTestInstance()
545 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in InputAttachmentSparseFillingTestInstance()
DvktRenderPassUnusedAttachmentTests.cpp359 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInsta… in UnusedAttachmentTestInstance() local
390 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in UnusedAttachmentTestInstance()
421 m_unusedImageAlloc = memAlloc.allocate(memoryRequirements, MemoryRequirement::Any); in UnusedAttachmentTestInstance()
524 …m_inputImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_inputImage), Mem… in UnusedAttachmentTestInstance()
819 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in UnusedAttachmentTestInstance()
DvktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp277 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInsta… in MultipleSubpassesMultipleCommandBuffersTestInstance() local
303 …m_colorImageAllocA = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageA), M… in MultipleSubpassesMultipleCommandBuffersTestInstance()
307 …m_colorImageAllocB = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageB), M… in MultipleSubpassesMultipleCommandBuffersTestInstance()
553 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in MultipleSubpassesMultipleCommandBuffersTestInstance()
DvktRenderPassUnusedClearAttachmentTests.cpp446 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInsta… in UnusedClearAttachmentTestInstance() local
495 …m_colorImageAllocs.emplace_back(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colo… in UnusedClearAttachmentTestInstance()
594 …m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), Mem… in UnusedClearAttachmentTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp465 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInst… in VertexAccessInstance() local
560 m_vertexRateBufferAlloc = memAlloc.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in VertexAccessInstance()
588 m_instanceRateBufferAlloc = memAlloc.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in VertexAccessInstance()
612 …m_vertexNumBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_vertexNum… in VertexAccessInstance()
635 …m_indexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_indexBuffer),… in VertexAccessInstance()
661 …m_outBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_outBuffer), Mem… in VertexAccessInstance()
DvktRobustnessBufferAccessTests.cpp690 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInst… in BufferAccessInstance() local
765 m_inBufferAlloc = memAlloc.allocate(inBufferMemoryReqs, MemoryRequirement::HostVisible); in BufferAccessInstance()
800 m_outBufferAlloc = memAlloc.allocate(outBufferMemoryReqs, MemoryRequirement::HostVisible); in BufferAccessInstance()
845 …m_indicesBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_indicesBuf… in BufferAccessInstance()
1017 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_vertexBuffer… in BufferAccessInstance()
DvktRobustnessUtil.cpp325 …SimpleAllocator memAlloc (vk, m_device, getPhysicalDeviceMemoryProperties(m_context.getInsta… in GraphicsEnvironment() local
349 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, m_device, *m_colorImage), Me… in GraphicsEnvironment()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineStencilTests.cpp362 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in StencilTestInstance() local
391 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in StencilTestInstance()
421 …m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage),… in StencilTestInstance()
640 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in StencilTestInstance()
DvktPipelinePushConstantTests.cpp292 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getIn… in init() local
323 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in init()
392 …m_uniformBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_uniformBuffe… in init()
549 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in init()
1774 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstance… in PushConstantComputeTestInstance() local
1805 …m_outBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outBuffer), Memo… in PushConstantComputeTestInstance()
2100 …SimpleAllocator memAlloc(vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceI… in init() local
2128 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Mem… in init()
2198 …m_outBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outBuffer), Memo… in init()
2353 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in init()
DvktPipelineDepthTests.cpp319 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in DepthTestInstance() local
350 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in DepthTestInstance()
379 …m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), Mem… in DepthTestInstance()
602 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in DepthTestInstance()
DvktPipelineLogicOpTests.cpp252 Allocator& memAlloc = m_context.getDefaultAllocator(); in LogicOpTestInstance() local
277 …m_colorImage = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vk, vkDevice, memAlloc, m_colorI… in LogicOpTestInstance()
DvktPipelineBlendTests.cpp599 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in BlendTestInstance() local
629 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in BlendTestInstance()
789 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in BlendTestInstance()
1189 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in DualSourceBlendTestInstance() local
1219 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in DualSourceBlendTestInstance()
1385 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in DualSourceBlendTestInstance()
DvktPipelineInputAssemblyTests.cpp1141 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstan… in InputAssemblyInstance() local
1170 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in InputAssemblyInstance()
1495 …m_indexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_indexBuffer), … in InputAssemblyInstance()
1500 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in InputAssemblyInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp349 …SimpleAllocator memAlloc (vk, *m_deviceGroup, getPhysicalDeviceMemoryProperties(m_context.ge… in iterate() local
471 …stagingVertexBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *sta… in iterate()
543 …stagingIndexBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *stag… in iterate()
615 …stagingUniformBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *st… in iterate()
686 …stagingSboBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *stagin… in iterate()
1605 …const UniquePtr<Allocation> readImageBufferMemory(memAlloc.allocate(getBufferMemoryRequirements(vk… in iterate()

12