Home
last modified time | relevance | path

Searched refs:MemoryRequirement (Results 1 – 25 of 152) sorted by relevance

1234567

/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.hpp75 class MemoryRequirement class
78 static const MemoryRequirement Any;
79 static const MemoryRequirement HostVisible;
80 static const MemoryRequirement Coherent;
81 static const MemoryRequirement LazilyAllocated;
82 static const MemoryRequirement Protected;
84 inline MemoryRequirement operator| (MemoryRequirement requirement) const in operator |()
86 return MemoryRequirement(m_flags | requirement.m_flags); in operator |()
89 inline MemoryRequirement operator& (MemoryRequirement requirement) const in operator &()
91 return MemoryRequirement(m_flags & requirement.m_flags); in operator &()
[all …]
DvkMemUtil.cpp70 …DeviceMemoryProperties& deviceMemProps, deUint32 allowedMemTypeBits, MemoryRequirement requirement) in selectMatchingMemoryType()
104 const MemoryRequirement MemoryRequirement::Any = MemoryRequirement(0x0u);
105 const MemoryRequirement MemoryRequirement::HostVisible = MemoryRequirement(MemoryRequirement::FLAG…
106 const MemoryRequirement MemoryRequirement::Coherent = MemoryRequirement(MemoryRequirement::FLAG_C…
107 const MemoryRequirement MemoryRequirement::LazilyAllocated = MemoryRequirement(MemoryRequirement::F…
108 const MemoryRequirement MemoryRequirement::Protected = MemoryRequirement(MemoryRequirement::FLAG_P…
110 bool MemoryRequirement::matchesHeap (VkMemoryPropertyFlags heapFlags) const in matchesHeap()
139 MemoryRequirement::MemoryRequirement (deUint32 flags) in MemoryRequirement() function in vk::MemoryRequirement
188 …ion> SimpleAllocator::allocate (const VkMemoryRequirements& memReqs, MemoryRequirement requirement) in allocate()
202 if (requirement & MemoryRequirement::HostVisible) in allocate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferAndImageAllocationUtil.hpp35 class MemoryRequirement;
55 const MemoryRequirement& requirement,
67 const MemoryRequirement& requirement,
79 const MemoryRequirement& requirement,
91 const MemoryRequirement& requirement,
103 const MemoryRequirement& requirement,
115 const MemoryRequirement& requirement,
DvktApiBufferAndImageAllocationUtil.cpp46 const MemoryRequirement& requirement, in createTestBuffer()
74 const MemoryRequirement& requirement, in createTestBuffer()
113 const MemoryRequirement& requirement, in createTestImage()
149 const MemoryRequirement& requirement, in createTestImage()
DvktApiBufferViewAccessTests.cpp171 …Image(m_renderSize, m_colorFormat, context, memAlloc, m_colorImage, MemoryRequirement::Any, m_colo… in BufferViewTestInstance()
175 …Image(m_renderSize, m_colorFormat, context, memAlloc, m_colorImage, MemoryRequirement::Any, m_colo… in BufferViewTestInstance()
181 …BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible… in BufferViewTestInstance()
185 …BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible… in BufferViewTestInstance()
311 …AGE_UNIFORM_TEXEL_BUFFER_BIT, m_context, memAlloc, m_uniformBuffer, MemoryRequirement::HostVisible… in BufferViewTestInstance()
589 …UFFER_USAGE_VERTEX_BUFFER_BIT, m_context, memAlloc, m_vertexBuffer, MemoryRequirement::HostVisible… in BufferViewTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMakeUtil.hpp44 const vk::MemoryRequirement memoryRequirement);
65 const vk::MemoryRequirement memoryRequirement);
89 …evice, vk::Allocator& allocator, const vk::VkImage image, const vk::MemoryRequirement requirement);
90 …ice, vk::Allocator& allocator, const vk::VkBuffer buffer, const vk::MemoryRequirement requirement);
91 …vice, const vk::VkDevice device, const vk::VkImage image, const vk::MemoryRequirement requirement);
92 …ce, const vk::VkDevice device, const vk::VkBuffer buffer, const vk::MemoryRequirement requirement);
DvktPipelineMakeUtil.cpp42 const vk::MemoryRequirement memoryRequirement) in Buffer()
52 const vk::MemoryRequirement memoryRequirement) in Image()
282 …st VkDevice device, Allocator& allocator, const VkImage image, const MemoryRequirement requirement) in bindImage()
289 … VkDevice device, Allocator& allocator, const VkBuffer buffer, const MemoryRequirement requirement) in bindBuffer()
296 …Device physDevice, const VkDevice device, const VkImage image, const MemoryRequirement requirement) in bindImageDedicated()
303 …vice physDevice, const VkDevice device, const VkBuffer buffer, const MemoryRequirement requirement) in bindBufferDedicated()
DvktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp155 …Image> imageMS(new Image(deviceInterface, device, allocator, imageMSInfo, MemoryRequirement::Any)); in iterate()
163 …Image> imageRS(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any)); in iterate()
171 …aredPtr<Image>(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any)); in iterate()
372 …teInfo(vertexDataDesc.dataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
570 …o(bufferPerSampleFetchPassSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
709 …(new Buffer(deviceInterface, device, allocator, bufferSampleIDInfo, MemoryRequirement::HostVisible… in iterate()
873 …fferRS(new Buffer(deviceInterface, device, allocator, bufferRSInfo, MemoryRequirement::HostVisible… in iterate()
925 …uffer>(new Buffer(deviceInterface, device, allocator, bufferRSInfo, MemoryRequirement::HostVisible… in iterate()
DvktPipelineMultisampleBaseResolve.cpp83 …Image> imageMS(new Image(deviceInterface, device, allocator, imageMSInfo, MemoryRequirement::Any)); in iterate()
90 …Image> imageRS(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any)); in iterate()
205 …teInfo(vertexDataDesc.dataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
493 …fferRS(new Buffer(deviceInterface, device, allocator, bufferRSInfo, MemoryRequirement::HostVisible… in iterate()
DvktPipelineRenderToImageTests.cpp175 const MemoryRequirement requirement, in bindBuffer()
203 const MemoryRequirement requirement, in bindImage()
697 …DeviceMemoryProperties& deviceMemProps, deUint32 allowedMemTypeBits, MemoryRequirement requirement) in selectMatchingMemoryType()
770 return selectMatchingMemoryType(memoryProperties, memReqs.memoryTypeBits, MemoryRequirement::Any); in getMemoryTypeNdx()
985 …rBufferAlloc (bindBuffer(vki, vk, physDevice, device, *colorBuffer, MemoryRequirement::HostVisible… in testWithSizeReduction()
1017 …colorImageAlloc = bindImage(vki, vk, physDevice, device, *colorImage, MemoryRequirement::Any, allo… in testWithSizeReduction()
1027 …eAlloc = bindImage(vki, vk, physDevice, device, *depthStencilImage, MemoryRequirement::Any, alloca… in testWithSizeReduction()
1036 …vertexBufferAlloc = bindBuffer(vki, vk, physDevice, device, *vertexBuffer, MemoryRequirement::Host… in testWithSizeReduction()
1441 …rBufferAlloc (bindBuffer(vki, vk, physDevice, device, *colorBuffer, MemoryRequirement::HostVisible… in testRenderToMipMaps()
1465 …colorImageAlloc = bindImage(vki, vk, physDevice, device, *colorImage, MemoryRequirement::Any, allo… in testRenderToMipMaps()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.cpp313 vk::MemoryRequirement memReq = (protectionMode == PROTECTION_ENABLED) in createImage2D()
314 ? vk::MemoryRequirement::Protected in createImage2D()
315 : vk::MemoryRequirement::Any; in createImage2D()
317 vk::MemoryRequirement memReq = vk::MemoryRequirement::Any; in createImage2D()
328 vk::MemoryRequirement memReq) in makeBuffer()
338 vk::MemoryRequirement requirement = memReq; in makeBuffer()
341 vk::MemoryRequirement requirement = memReq & ( in makeBuffer()
342 vk::MemoryRequirement::HostVisible in makeBuffer()
343 | vk::MemoryRequirement::Coherent in makeBuffer()
344 | vk::MemoryRequirement::LazilyAllocated); in makeBuffer()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawBufferObjectUtil.hpp47 vk::MemoryRequirement allocationMemoryProperties = vk::MemoryRequirement::Any);
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp447 … Image(vk, device, allocator, imageData[imageNdx].getImageInfo(infoNdx), MemoryRequirement::Any))); in iterate()
560 MemoryRequirement::HostVisible); in copyDataToImage()
735 MemoryRequirement::HostVisible); in copyResultAndCompare()
952 Image resultImage (vk, device, allocator, decompressedImageInfo, MemoryRequirement::Any); in decompressImage()
953 …Image referenceImage (vk, device, allocator, decompressedImageInfo, MemoryRequirement::Any… in decompressImage()
954 …Image uncompressedImage (vk, device, allocator, compressedImageInfo, MemoryRequirement::Any… in decompressImage()
981 …makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in decompressImage()
983 …makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in decompressImage()
985 …_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in decompressImage()
1490 …teInfo(vertexBufferSizeInBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in prepareVertexBuffer()
[all …]
DvktImageTranscodingSupportTests.cpp341 …teInfo(vertexBufferSizeInBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in transcode()
346 …vePtr<Buffer>(new Buffer(vk, device, allocator, srcImageBufferInfo, MemoryRequirement::HostVisible… in transcode()
349 …ge> srcImage (new Image(vk, device, allocator, srcImageCreateInfo, MemoryRequirement::Any)); in transcode()
353 …e> dstImage (new Image(vk, device, allocator, dstImageCreateInfo, MemoryRequirement::Any)); in transcode()
357 …vePtr<Buffer>(new Buffer(vk, device, allocator, dstImageBufferInfo, MemoryRequirement::HostVisible… in transcode()
591 …teInfo(vertexBufferSizeInBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in transcode()
596 …vePtr<Buffer>(new Buffer(vk, device, allocator, srcImageBufferInfo, MemoryRequirement::HostVisible… in transcode()
599 …ge> srcImage (new Image(vk, device, allocator, srcImageCreateInfo, MemoryRequirement::Any)); in transcode()
603 …e> dstImage (new Image(vk, device, allocator, dstImageCreateInfo, MemoryRequirement::Any)); in transcode()
608 …vePtr<Buffer>(new Buffer(vk, device, allocator, dstImageBufferInfo, MemoryRequirement::HostVisible… in transcode()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.hpp60 const vk::MemoryRequirement memoryRequirement) in Buffer()
88 const vk::MemoryRequirement memoryRequirement) in Image()
179 …evice, vk::Allocator& allocator, const vk::VkImage image, const vk::MemoryRequirement requirement);
180 …ice, vk::Allocator& allocator, const vk::VkBuffer buffer, const vk::MemoryRequirement requirement);
DvktGeometryBasicClass.cpp80 MemoryRequirement::Any in iterate()
110 VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); in iterate()
112 VK_BUFFER_USAGE_VERTEX_BUFFER_BIT ), MemoryRequirement::HostVisible); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsBase.cpp325 … findMatchingMemoryType(instance, physicalDevice, imageMemoryRequirements, MemoryRequirement::Any); in iterate()
484 …oc (bindImage(deviceInterface, getDevice(), getAllocator(), *imageTexels, MemoryRequirement::Any)); in iterate()
491 …(bindImage(deviceInterface, getDevice(), getAllocator(), *imageResidency, MemoryRequirement::Any)); in iterate()
514 …dBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer, MemoryRequirement::HostVisible… in iterate()
573 …Buffer(deviceInterface, getDevice(), getAllocator(), *bufferTexels, MemoryRequirement::HostVisible… in iterate()
582 …fer(deviceInterface, getDevice(), getAllocator(), *bufferResidency, MemoryRequirement::HostVisible… in iterate()
DvktSparseResourcesBufferSparseBinding.cpp171 … = findMatchingMemoryType(instance, physicalDevice, bufferMemRequirement, MemoryRequirement::Any); in iterate()
240 …dBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer, MemoryRequirement::HostVisible… in iterate()
284 …Buffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirement::HostVisible… in iterate()
DvktSparseResourcesBufferSparseResidency.cpp216 … = findMatchingMemoryType(instance, physicalDevice, bufferMemRequirements, MemoryRequirement::Any); in iterate()
261 …dBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer, MemoryRequirement::HostVisible… in iterate()
279 …Buffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirement::HostVisible… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsMakeUtil.hpp47 …evice, vk::Allocator& allocator, const vk::VkImage image, const vk::MemoryRequirement requirement);
48 …ice, vk::Allocator& allocator, const vk::VkBuffer buffer, const vk::MemoryRequirement requirement);
DvktFragmentOperationsMakeUtil.cpp256 …st VkDevice device, Allocator& allocator, const VkImage image, const MemoryRequirement requirement) in bindImage()
263 … VkDevice device, Allocator& allocator, const VkBuffer buffer, const MemoryRequirement requirement) in bindBuffer()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp204 …ferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
375 …ferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
548 …ferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
710 const Image image(vk, device, allocator, imageParams, MemoryRequirement::Any); in iterate()
720 …ufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_SRC_BIT), MemoryRequirement::HostVisible… in iterate()
735 …ferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
920 const Image image(vk, device, allocator, imageParams, MemoryRequirement::Any); in iterate()
930 …ferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
945 …ufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in iterate()
1217 …ator, makeBufferCreateInfo(bufferSizeBytes, inputBufferUsageFlags), MemoryRequirement::HostVisible… in iterate()
[all …]
DvktComputeTestsUtil.hpp46 const vk::MemoryRequirement memoryRequirement);
67 const vk::MemoryRequirement memoryRequirement);
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPassthroughTests.cpp430 …CreateInfo(sizeof(TessLevels), VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
444 …CreateInfo(vertexDataSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
476 MemoryRequirement::Any); in iterate()
482 …CreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in iterate()
483 …CreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp112 …CreateInfo(vertexDataSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in VertexGrid()
128 …CreateInfo(indexBufferSizeBytes, VK_BUFFER_USAGE_INDEX_BUFFER_BIT), MemoryRequirement::HostVisible… in VertexGrid()
600 …makeBufferCreateInfo(m_resource.getBuffer().size, hostBufferUsage), MemoryRequirement::HostVisible… in Implementation()
706 MemoryRequirement::HostVisible)); in ImplementationBase()
719 MemoryRequirement::Any)); in ImplementationBase()
996 MemoryRequirement::Any)); in GraphicsPipeline()
1088 …f(VkDispatchIndirectCommand), VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT), MemoryRequirement::HostVisible… in ComputePipeline()
1153 …o(m_resource.getBuffer().size, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in BufferImplementation()
1288 MemoryRequirement::HostVisible)); in ImageImplementation()
1305 MemoryRequirement::Any)); in ImageImplementation()
[all …]

1234567