Home
last modified time | relevance | path

Searched refs:memAlloc (Results 1 - 25 of 70) sorted by relevance

123

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryBasicClass.cpp77 Allocator& memAlloc = m_context.getDefaultAllocator(); in iterate() local
83 memAlloc, in iterate()
114 const BufferWithMemory colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, in iterate()
116 const BufferWithMemory vertexBuffer (vk, device, memAlloc, makeBufferCreateInfo(vertexDataSizeBytes, in iterate()
167 bindDescriptorSets(vk, device, memAlloc, *cmdBuffer, *pipelineLayout); in iterate()
H A DvktGeometryBasicGeometryShaderTests.cpp101 Allocator& memAlloc = context.getDefaultAllocator(); in uploadImage() local
124 bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequirement::HostVisible); in uploadImage()
209 Allocator& memAlloc,
279 Allocator& memAlloc = m_context.getDefaultAllocator(); in createPipelineLayout() local
313 m_allocation = memAlloc.allocate(getImageMemoryRequirements(vk, device, *m_texture), MemoryRequirement::Any); in createPipelineLayout()
331 void VaryingOutputCountTestInstance::bindDescriptorSets (const DeviceInterface& vk, const VkDevice device, Allocator& memAlloc, in bindDescriptorSets() argument
339 m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), MemoryRequirement::HostVisible); in bindDescriptorSets()
523 Allocator& memAlloc = m_context.getDefaultAllocator(); in createIndicesBuffer() local
538 m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_indicesBuffer), MemoryRequirement::HostVisible); in createIndicesBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryBasicClass.cpp77 Allocator& memAlloc = m_context.getDefaultAllocator(); in iterate() local
83 memAlloc, in iterate()
114 const BufferWithMemory colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, in iterate()
116 const BufferWithMemory vertexBuffer (vk, device, memAlloc, makeBufferCreateInfo(vertexDataSizeBytes, in iterate()
167 bindDescriptorSets(vk, device, memAlloc, *cmdBuffer, *pipelineLayout); in iterate()
H A DvktGeometryBasicGeometryShaderTests.cpp101 Allocator& memAlloc = context.getDefaultAllocator(); in uploadImage() local
124 bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequirement::HostVisible); in uploadImage()
209 Allocator& memAlloc,
279 Allocator& memAlloc = m_context.getDefaultAllocator(); in createPipelineLayout() local
313 m_allocation = memAlloc.allocate(getImageMemoryRequirements(vk, device, *m_texture), MemoryRequirement::Any); in createPipelineLayout()
331 void VaryingOutputCountTestInstance::bindDescriptorSets (const DeviceInterface& vk, const VkDevice device, Allocator& memAlloc, in bindDescriptorSets() argument
339 m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), MemoryRequirement::HostVisible); in bindDescriptorSets()
523 Allocator& memAlloc = m_context.getDefaultAllocator(); in createIndicesBuffer() local
538 m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_indicesBuffer), MemoryRequirement::HostVisible); in createIndicesBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustnessIndexAccessTests.cpp108 SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(vki, physicalDevice)); in iterate()
129 BufferWithMemory vertexBuffer(vk, *m_device, memAlloc, vertexBufferInfo, MemoryRequirement::HostVisible); in iterate()
139 BufferWithMemory indexBuffer(vk, *m_device, memAlloc, indexBufferInfo, MemoryRequirement::HostVisible); in iterate()
153 BufferWithMemory indirectBuffer(vk, *m_device, memAlloc, indirectBufferInfo, MemoryRequirement::HostVisible); in iterate()
162 BufferWithMemory indirectCountBuffer(vk, *m_device, memAlloc, indirectCountBufferInfo, MemoryRequirement::HostVisible); in iterate()
172 BufferWithMemory outputBuffer(vk, *m_device, memAlloc, outputBufferInfo, MemoryRequirement::HostVisible); in iterate()
195 ImageWithMemory colorImage(vk, *m_device, memAlloc, imageCreateInfo, MemoryRequirement::Any); in iterate()
H A DvktRobustnessVertexAccessTests.cpp507 SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(vki, physicalDevice)); in VertexAccessInstance()
602 m_vertexRateBufferAlloc = memAlloc.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in VertexAccessInstance()
630 m_instanceRateBufferAlloc = memAlloc.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in VertexAccessInstance()
654 m_vertexNumBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_vertexNumBuffer), MemoryRequirement::HostVisible); in VertexAccessInstance()
677 m_indexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_indexBuffer), MemoryRequirement::HostVisible); in VertexAccessInstance()
704 m_outBufferAlloc = memAlloc.allocate(requirements, MemoryRequirement::HostVisible); in VertexAccessInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryBindingTests.cpp607 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, DE_NULL); in createMemory() local
610 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, (m_params.priorityMode == PRIORITY_MODE_STATIC) ? &priority : DE_NULL); in createMemory() local
614 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
640 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, DE_NULL); in createMemory() local
643 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, (m_params.priorityMode == PRIORITY_MODE_STATIC) ? &priority : DE_NULL); in createMemory() local
648 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
676 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, (const void *)&dedicatedAllocationInfo); in createMemory() local
679 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, (m_params.priorityMode == PRIORITY_MODE_STATIC) ? &priority : (const void *)&dedicatedAllocationInfo); in createMemory() local
684 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory()
712 const VkMemoryAllocateInfo memAlloc in createMemory() local
715 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, m_params.priorityMode ? &priority : (const void *)&dedicatedAllocationInfo); createMemory() local
892 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(m_context, memReqs, MemoryHostVisible); createBuffer() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryBindingTests.cpp607 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, DE_NULL); in createMemory() local
610 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, (m_params.priorityMode == PRIORITY_MODE_STATIC) ? &priority : DE_NULL); in createMemory() local
614 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
640 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, DE_NULL); in createMemory() local
643 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, (m_params.priorityMode == PRIORITY_MODE_STATIC) ? &priority : DE_NULL); in createMemory() local
648 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
676 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, (const void *)&dedicatedAllocationInfo); in createMemory() local
679 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, (m_params.priorityMode == PRIORITY_MODE_STATIC) ? &priority : (const void *)&dedicatedAllocationInfo); in createMemory() local
684 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory()
712 const VkMemoryAllocateInfo memAlloc in createMemory() local
715 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, m_params.priorityMode ? &priority : (const void *)&dedicatedAllocationInfo); createMemory() local
892 const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(m_context, memReqs, MemoryHostVisible); createBuffer() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiSmokeTests.cpp338 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); in renderTriangleTest()
362 const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible)); in renderTriangleTest()
379 const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *readImageBuffer), MemoryRequirement::HostVisible)); in renderTriangleTest()
403 const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleTest()
599 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); in renderTriangleUnusedResolveAttachmentTest()
623 const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible)); in renderTriangleUnusedResolveAttachmentTest()
640 const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *readImageBuffer), MemoryRequirement::HostVisible)); in renderTriangleUnusedResolveAttachmentTest()
664 const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleUnusedResolveAttachmentTest()
H A DvktApiBufferViewAccessTests.cpp197 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); in BufferViewTestInstance()
203 ImageDedicatedAllocation().createTestImage(m_renderSize, m_colorFormat, context, memAlloc, m_colorImage, MemoryRequirement::Any, m_colorImageAlloc); in BufferViewTestInstance()
207 ImageSuballocation().createTestImage(m_renderSize, m_colorFormat, context, memAlloc, m_colorImage, MemoryRequirement::Any, m_colorImageAlloc); in BufferViewTestInstance()
213 BufferDedicatedAllocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible, m_resultBufferAlloc); in BufferViewTestInstance()
217 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible, m_resultBufferAlloc); in BufferViewTestInstance()
295 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, uniformSize, testCase.createUsage, m_context, memAlloc, m_uniformBuffer, MemoryRequirement::HostVisible, m_uniformBufferAlloc); in BufferViewTestInstance()
409 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, vertexDataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, m_context, memAlloc, m_vertexBuffer, MemoryRequirement::HostVisible, m_vertexBufferAlloc); in BufferViewTestInstance()
668 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); in BufferViewAllFormatsTestInstance()
673 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, sizeof(tcu::Vec4[4]), VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible, m_resultBufferAlloc); in BufferViewAllFormatsTestInstance()
716 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, sourceBuffer.size(), testCase.createUsage, m_context, memAlloc, m_uniformBuffe in BufferViewAllFormatsTestInstance()
[all...]
H A DvktApiMemoryRequirementInvarianceTests.cpp111 Allocator& memAlloc = context.getDefaultAllocator(); in allocate() local
127 memAlloc, in allocate()
199 Allocator& memAlloc = context.getDefaultAllocator(); in allocate() local
212 memAlloc, in allocate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiSmokeTests.cpp338 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); in renderTriangleTest()
362 const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible)); in renderTriangleTest()
379 const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *readImageBuffer), MemoryRequirement::HostVisible)); in renderTriangleTest()
403 const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleTest()
599 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); in renderTriangleUnusedResolveAttachmentTest()
623 const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible)); in renderTriangleUnusedResolveAttachmentTest()
640 const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *readImageBuffer), MemoryRequirement::HostVisible)); in renderTriangleUnusedResolveAttachmentTest()
664 const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleUnusedResolveAttachmentTest()
H A DvktApiBufferViewAccessTests.cpp194 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); in BufferViewTestInstance()
200 ImageDedicatedAllocation().createTestImage(m_renderSize, m_colorFormat, context, memAlloc, m_colorImage, MemoryRequirement::Any, m_colorImageAlloc); in BufferViewTestInstance()
204 ImageSuballocation().createTestImage(m_renderSize, m_colorFormat, context, memAlloc, m_colorImage, MemoryRequirement::Any, m_colorImageAlloc); in BufferViewTestInstance()
210 BufferDedicatedAllocation().createTestBuffer(m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible, m_resultBufferAlloc); in BufferViewTestInstance()
214 BufferSuballocation().createTestBuffer(m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible, m_resultBufferAlloc); in BufferViewTestInstance()
292 BufferSuballocation().createTestBuffer(uniformSize, testCase.usage, m_context, memAlloc, m_uniformBuffer, MemoryRequirement::HostVisible, m_uniformBufferAlloc); in BufferViewTestInstance()
406 BufferSuballocation().createTestBuffer(vertexDataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, m_context, memAlloc, m_vertexBuffer, MemoryRequirement::HostVisible, m_vertexBufferAlloc); in BufferViewTestInstance()
658 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); in BufferViewAllFormatsTestInstance()
662 BufferSuballocation().createTestBuffer(sizeof(tcu::Vec4[4]), VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible, m_resultBufferAlloc); in BufferViewAllFormatsTestInstance() local
705 BufferSuballocation().createTestBuffer(sourceBuffer.size(), testCase.usage, m_context, memAlloc, m_uniformBuffe in BufferViewAllFormatsTestInstance()
[all...]
H A DvktApiFillBufferTests.cpp95 Allocator& memAlloc = context.getDefaultAllocator(); in FillWholeBufferTestInstance() local
99 testParams.bufferAllocator->createTestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, context, memAlloc, m_destination, MemoryRequirement::HostVisible, m_destinationBufferAlloc); in FillWholeBufferTestInstance()
221 Allocator& memAlloc = context.getDefaultAllocator(); in FillBufferTestInstance() local
229 testParams.bufferAllocator->createTestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, context, memAlloc, m_destination, MemoryRequirement::HostVisible, m_destinationBufferAlloc); in FillBufferTestInstance()
H A DvktApiMemoryRequirementInvarianceTests.cpp108 Allocator& memAlloc = context.getDefaultAllocator(); in allocate() local
121 memAlloc, in allocate()
193 Allocator& memAlloc = context.getDefaultAllocator(); in allocate() local
206 memAlloc, in allocate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassFragmentDensityMapTests.cpp227 SimpleAllocator& memAlloc, in createVertexBuffer()
245 vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible); in createVertexBuffer()
255 SimpleAllocator& memAlloc, in prepareImageAndImageView()
293 imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any); in prepareImageAndImageView()
1496 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), vkPhysicalDevice)); in FragmentDensityMapTestInstance()
1535 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, colorImageFormat, in FragmentDensityMapTestInstance()
1543 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, colorImageFormat, in FragmentDensityMapTestInstance()
1552 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, colorImageFormat, in FragmentDensityMapTestInstance()
1559 prepareImageAndImageView(vk, vkDevice, memAlloc, 0u, colorImageFormat, in FragmentDensityMapTestInstance()
1571 prepareImageAndImageView(vk, vkDevice, memAlloc, in FragmentDensityMapTestInstance()
224 createVertexBuffer(const DeviceInterface& vk, VkDevice vkDevice, const deUint32& queueFamilyIndex, SimpleAllocator& memAlloc, const std::vector<T>& vertices, Move<VkBuffer>& vertexBuffer, de::MovePtr<Allocation>& vertexAlloc) createVertexBuffer() argument
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
[all...]
H A DvktRenderPassUnusedAttachmentSparseFillingTests.cpp266 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in InputAttachmentSparseFillingTestInstance()
306 auto inputImageAlloc = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, **inputImage), MemoryRequirement::Any).release()); in InputAttachmentSparseFillingTestInstance()
340 m_outputImageMemory = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, **m_outputImage), MemoryRequirement::Any).release()); in InputAttachmentSparseFillingTestInstance()
371 m_outputBufferMemory = safeSharedPtr(memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, **m_outputBuffer), MemoryRequirement::HostVisible).release()); in InputAttachmentSparseFillingTestInstance()
544 m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer), MemoryRequirement::HostVisible); in InputAttachmentSparseFillingTestInstance()
H A DvktRenderPassUnusedAttachmentTests.cpp358 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in UnusedAttachmentTestInstance()
389 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); in UnusedAttachmentTestInstance()
420 m_unusedImageAlloc = memAlloc.allocate(memoryRequirements, MemoryRequirement::Any); in UnusedAttachmentTestInstance()
523 m_inputImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_inputImage), MemoryRequirement::Any); in UnusedAttachmentTestInstance()
818 m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer), MemoryRequirement::HostVisible); in UnusedAttachmentTestInstance()
H A DvktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp276 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in MultipleSubpassesMultipleCommandBuffersTestInstance()
302 m_colorImageAllocA = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageA), MemoryRequirement::Any); in MultipleSubpassesMultipleCommandBuffersTestInstance()
306 m_colorImageAllocB = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageB), MemoryRequirement::Any); in MultipleSubpassesMultipleCommandBuffersTestInstance()
552 m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer), MemoryRequirement::HostVisible); in MultipleSubpassesMultipleCommandBuffersTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassFragmentDensityMapTests.cpp223 SimpleAllocator& memAlloc, in createVertexBuffer()
241 vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible); in createVertexBuffer()
251 SimpleAllocator& memAlloc, in prepareImageAndImageView()
289 imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any); in prepareImageAndImageView()
1455 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), vkPhysicalDevice)); in FragmentDensityMapTestInstance()
1494 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, colorImageFormat, in FragmentDensityMapTestInstance()
1502 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, colorImageFormat, in FragmentDensityMapTestInstance()
1511 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, colorImageFormat, in FragmentDensityMapTestInstance()
1518 prepareImageAndImageView(vk, vkDevice, memAlloc, 0u, colorImageFormat, in FragmentDensityMapTestInstance()
1530 prepareImageAndImageView(vk, vkDevice, memAlloc, in FragmentDensityMapTestInstance()
220 createVertexBuffer(const DeviceInterface& vk, VkDevice vkDevice, const deUint32& queueFamilyIndex, SimpleAllocator& memAlloc, const std::vector<T>& vertices, Move<VkBuffer>& vertexBuffer, de::MovePtr<Allocation>& vertexAlloc) createVertexBuffer() argument
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
[all...]
H A DvktRenderPassUnusedAttachmentSparseFillingTests.cpp268 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in InputAttachmentSparseFillingTestInstance()
308 auto inputImageAlloc = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, **inputImage), MemoryRequirement::Any).release()); in InputAttachmentSparseFillingTestInstance()
342 m_outputImageMemory = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, **m_outputImage), MemoryRequirement::Any).release()); in InputAttachmentSparseFillingTestInstance()
373 m_outputBufferMemory = safeSharedPtr(memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, **m_outputBuffer), MemoryRequirement::HostVisible).release()); in InputAttachmentSparseFillingTestInstance()
546 m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer), MemoryRequirement::HostVisible); in InputAttachmentSparseFillingTestInstance()
H A DvktRenderPassUnusedAttachmentTests.cpp360 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in UnusedAttachmentTestInstance()
391 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); in UnusedAttachmentTestInstance()
422 m_unusedImageAlloc = memAlloc.allocate(memoryRequirements, MemoryRequirement::Any); in UnusedAttachmentTestInstance()
525 m_inputImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_inputImage), MemoryRequirement::Any); in UnusedAttachmentTestInstance()
820 m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer), MemoryRequirement::HostVisible); in UnusedAttachmentTestInstance()
H A DvktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp277 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); in MultipleSubpassesMultipleCommandBuffersTestInstance()
303 m_colorImageAllocA = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageA), MemoryRequirement::Any); in MultipleSubpassesMultipleCommandBuffersTestInstance()
307 m_colorImageAllocB = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageB), MemoryRequirement::Any); in MultipleSubpassesMultipleCommandBuffersTestInstance()
553 m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer), MemoryRequirement::HostVisible); in MultipleSubpassesMultipleCommandBuffersTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustnessIndexAccessTests.cpp126 SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(vki, physicalDevice)); in iterate()
147 BufferWithMemory vertexBuffer(vk, *m_device, memAlloc, vertexBufferInfo, MemoryRequirement::HostVisible); in iterate()
157 BufferWithMemory indexBuffer(vk, *m_device, memAlloc, indexBufferInfo, MemoryRequirement::HostVisible); in iterate()
171 BufferWithMemory indirectBuffer(vk, *m_device, memAlloc, indirectBufferInfo, MemoryRequirement::HostVisible); in iterate()
180 BufferWithMemory indirectCountBuffer(vk, *m_device, memAlloc, indirectCountBufferInfo, MemoryRequirement::HostVisible); in iterate()
190 BufferWithMemory outputBuffer(vk, *m_device, memAlloc, outputBufferInfo, MemoryRequirement::HostVisible); in iterate()
213 ImageWithMemory colorImage(vk, *m_device, memAlloc, imageCreateInfo, MemoryRequirement::Any); in iterate()
H A DvktRobustnessVertexAccessTests.cpp500 SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(vki, physicalDevice)); in VertexAccessInstance()
595 m_vertexRateBufferAlloc = memAlloc.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in VertexAccessInstance()
623 m_instanceRateBufferAlloc = memAlloc.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in VertexAccessInstance()
647 m_vertexNumBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_vertexNumBuffer), MemoryRequirement::HostVisible); in VertexAccessInstance()
670 m_indexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_indexBuffer), MemoryRequirement::HostVisible); in VertexAccessInstance()
697 m_outBufferAlloc = memAlloc.allocate(requirements, MemoryRequirement::HostVisible); in VertexAccessInstance()

Completed in 42 milliseconds

123