Home
last modified time | relevance | path

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

12345678

/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp70 …DeviceMemoryProperties& deviceMemProps, deUint32 allowedMemTypeBits, MemoryRequirement requirement) in selectMatchingMemoryType()
114 const MemoryRequirement MemoryRequirement::Any = MemoryRequirement(0x0u);
115 const MemoryRequirement MemoryRequirement::HostVisible = MemoryRequirement(MemoryRequirement::FLAG…
116 const MemoryRequirement MemoryRequirement::Coherent = MemoryRequirement(MemoryRequirement::FLAG_C…
117 const MemoryRequirement MemoryRequirement::LazilyAllocated = MemoryRequirement(MemoryRequirement::F…
118 const MemoryRequirement MemoryRequirement::Protected = MemoryRequirement(MemoryRequirement::FLAG_P…
119 const MemoryRequirement MemoryRequirement::Local = MemoryRequirement(MemoryRequirement::FLAG_LOCA…
120 const MemoryRequirement MemoryRequirement::Cached = MemoryRequirement(MemoryRequirement::FLAG_CAC…
121 const MemoryRequirement MemoryRequirement::NonLocal = MemoryRequirement(MemoryRequirement::FLAG_N…
123 bool MemoryRequirement::matchesHeap (VkMemoryPropertyFlags heapFlags) const in matchesHeap()
[all …]
DvkMemUtil.hpp78 class MemoryRequirement class
81 static const MemoryRequirement Any;
82 static const MemoryRequirement HostVisible;
83 static const MemoryRequirement Coherent;
84 static const MemoryRequirement LazilyAllocated;
85 static const MemoryRequirement Protected;
86 static const MemoryRequirement Local;
87 static const MemoryRequirement Cached;
88 static const MemoryRequirement NonLocal;
90 inline MemoryRequirement operator| (MemoryRequirement requirement) const in operator |()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiMemoryRequirementInvarianceTests.cpp44 const MemoryRequirement legalMemoryTypes[legalMemoryTypeCount] =
46 MemoryRequirement::Any,
47 MemoryRequirement::HostVisible | MemoryRequirement::Coherent,
48 MemoryRequirement::HostVisible | MemoryRequirement::Cached,
49 MemoryRequirement::HostVisible | MemoryRequirement::Cached | MemoryRequirement::Coherent,
50 MemoryRequirement::Local,
51 MemoryRequirement::Local | MemoryRequirement::HostVisible | MemoryRequirement::Coherent,
52 MemoryRequirement::Local | MemoryRequirement::HostVisible | MemoryRequirement::Cached,
53MemoryRequirement::Local | MemoryRequirement::HostVisible | MemoryRequirement::Cached | MemoryRe…
54 MemoryRequirement::Local | MemoryRequirement::LazilyAllocated,
[all …]
DvktApiBufferAndImageAllocationUtil.hpp35 class MemoryRequirement;
55 const MemoryRequirement& requirement,
67 const MemoryRequirement& requirement,
79 const MemoryRequirement& requirement,
91 const MemoryRequirement& requirement,
104 const MemoryRequirement& requirement,
117 const MemoryRequirement& requirement,
DvktApiBufferAndImageAllocationUtil.cpp46 const MemoryRequirement& requirement, in createTestBuffer()
74 const MemoryRequirement& requirement, in createTestBuffer()
113 const MemoryRequirement& requirement, in createTestImage()
151 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()
263 …AGE_UNIFORM_TEXEL_BUFFER_BIT, m_context, memAlloc, m_uniformBuffer, MemoryRequirement::HostVisible… in BufferViewTestInstance()
377 …UFFER_USAGE_VERTEX_BUFFER_BIT, m_context, memAlloc, m_vertexBuffer, MemoryRequirement::HostVisible… in BufferViewTestInstance()
DvktApiSmokeTests.cpp362 ….allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible… in renderTriangleTest()
379 …locate(getBufferMemoryRequirements(vk, vkDevice, *readImageBuffer), MemoryRequirement::HostVisible… in renderTriangleTest()
403 …y (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleTest()
625 ….allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible… in renderTriangleUnusedResolveAttachmentTest()
642 …locate(getBufferMemoryRequirements(vk, vkDevice, *readImageBuffer), MemoryRequirement::HostVisible… in renderTriangleUnusedResolveAttachmentTest()
666 …y (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleUnusedResolveAttachmentTest()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMakeUtil.hpp44 const vk::MemoryRequirement memoryRequirement);
65 const vk::MemoryRequirement memoryRequirement);
87 …evice, vk::Allocator& allocator, const vk::VkImage image, const vk::MemoryRequirement requirement);
88 …ice, vk::Allocator& allocator, const vk::VkBuffer buffer, const vk::MemoryRequirement requirement);
89 …vice, const vk::VkDevice device, const vk::VkImage image, const vk::MemoryRequirement requirement);
90 …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()
203 …st VkDevice device, Allocator& allocator, const VkImage image, const MemoryRequirement requirement) in bindImage()
210 … VkDevice device, Allocator& allocator, const VkBuffer buffer, const MemoryRequirement requirement) in bindBuffer()
217 …Device physDevice, const VkDevice device, const VkImage image, const MemoryRequirement requirement) in bindImageDedicated()
224 …vice physDevice, const VkDevice device, const VkBuffer buffer, const MemoryRequirement requirement) in bindBufferDedicated()
DvktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp160 …Image> imageMS(new Image(deviceInterface, device, allocator, imageMSInfo, MemoryRequirement::Any)); in iterate()
168 …Image> imageRS(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any)); in iterate()
176 …aredPtr<Image>(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any)); in iterate()
377 …teInfo(vertexDataDesc.dataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
443 …o(bufferPerSampleFetchPassSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
499 …(new Buffer(deviceInterface, device, allocator, bufferSampleIDInfo, MemoryRequirement::HostVisible… in iterate()
645 …fferRS(new Buffer(deviceInterface, device, allocator, bufferRSInfo, MemoryRequirement::HostVisible… in iterate()
697 …uffer>(new Buffer(deviceInterface, device, allocator, bufferRSInfo, MemoryRequirement::HostVisible… in iterate()
DvktPipelineMultisampleBaseResolve.cpp88 …Image> imageMS(new Image(deviceInterface, device, allocator, imageMSInfo, MemoryRequirement::Any)); in iterate()
95 …Image> imageRS(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any)); in iterate()
210 …teInfo(vertexDataDesc.dataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
348 …fferRS(new Buffer(deviceInterface, device, allocator, bufferRSInfo, MemoryRequirement::HostVisible… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.cpp318 vk::MemoryRequirement memReq = (protectionMode == PROTECTION_ENABLED) in createImage2D()
319 ? vk::MemoryRequirement::Protected in createImage2D()
320 : vk::MemoryRequirement::Any; in createImage2D()
322 vk::MemoryRequirement memReq = vk::MemoryRequirement::Any; in createImage2D()
333 vk::MemoryRequirement memReq) in makeBuffer()
343 vk::MemoryRequirement requirement = memReq; in makeBuffer()
347 vk::MemoryRequirement requirement = memReq & ( in makeBuffer()
348 vk::MemoryRequirement::HostVisible in makeBuffer()
349 | vk::MemoryRequirement::Coherent in makeBuffer()
350 | vk::MemoryRequirement::LazilyAllocated); in makeBuffer()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawBufferObjectUtil.hpp47 vk::MemoryRequirement allocationMemoryProperties = vk::MemoryRequirement::Any);
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.hpp60 const vk::MemoryRequirement memoryRequirement) in Buffer()
88 const vk::MemoryRequirement memoryRequirement) in Image()
177 …evice, vk::Allocator& allocator, const vk::VkImage image, const vk::MemoryRequirement requirement);
178 …ice, vk::Allocator& allocator, const vk::VkBuffer buffer, const vk::MemoryRequirement requirement);
DvktGeometryBasicClass.cpp83 MemoryRequirement::Any in iterate()
113 VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); in iterate()
115 VK_BUFFER_USAGE_VERTEX_BUFFER_BIT ), MemoryRequirement::HostVisible); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsMakeUtil.hpp45 …evice, vk::Allocator& allocator, const vk::VkImage image, const vk::MemoryRequirement requirement);
46 …ice, vk::Allocator& allocator, const vk::VkBuffer buffer, const vk::MemoryRequirement requirement);
DvktFragmentOperationsEarlyFragmentTests.cpp344 …ocation> colorImageAlloc (bindImage(vk, device, allocator, *colorImage, MemoryRequirement::Any)); in iterate()
367 …location> testImageAlloc (bindImage(vk, device, allocator, *testImage, MemoryRequirement::Any)); in iterate()
377 …ertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible… in iterate()
398 …esultBufferAlloc (bindBuffer(vk, device, allocator, *resultBuffer, MemoryRequirement::HostVisible… in iterate()
411 … colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible… in iterate()
DvktFragmentOperationsMakeUtil.cpp178 …st VkDevice device, Allocator& allocator, const VkImage image, const MemoryRequirement requirement) in bindImage()
185 … VkDevice device, Allocator& allocator, const VkBuffer buffer, const MemoryRequirement requirement) in bindBuffer()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp556 … Image(vk, device, allocator, imageData[imageNdx].getImageInfo(infoNdx), MemoryRequirement::Any))); in iterate()
676 MemoryRequirement::HostVisible); in copyDataToImage()
851 MemoryRequirement::HostVisible); in copyResultAndCompare()
1084 Image resultImage (vk, device, allocator, decompressedImageInfo, MemoryRequirement::Any); in decompressImage()
1085 …Image referenceImage (vk, device, allocator, decompressedImageInfo, MemoryRequirement::Any… in decompressImage()
1086 …Image uncompressedImage (vk, device, allocator, compressedImageInfo, MemoryRequirement::Any… in decompressImage()
1113 …makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in decompressImage()
1115 …makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in decompressImage()
1117 …_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in decompressImage()
1643 …teInfo(vertexBufferSizeInBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in prepareVertexBuffer()
[all …]
DvktImageTranscodingSupportTests.cpp343 …teInfo(vertexBufferSizeInBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in transcode()
348 …vePtr<Buffer>(new Buffer(vk, device, allocator, srcImageBufferInfo, MemoryRequirement::HostVisible… in transcode()
351 …ge> srcImage (new Image(vk, device, allocator, srcImageCreateInfo, MemoryRequirement::Any)); in transcode()
355 …e> dstImage (new Image(vk, device, allocator, dstImageCreateInfo, MemoryRequirement::Any)); in transcode()
359 …vePtr<Buffer>(new Buffer(vk, device, allocator, dstImageBufferInfo, MemoryRequirement::HostVisible… in transcode()
593 …teInfo(vertexBufferSizeInBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in transcode()
598 …vePtr<Buffer>(new Buffer(vk, device, allocator, srcImageBufferInfo, MemoryRequirement::HostVisible… in transcode()
601 …ge> srcImage (new Image(vk, device, allocator, srcImageCreateInfo, MemoryRequirement::Any)); in transcode()
605 …e> dstImage (new Image(vk, device, allocator, dstImageCreateInfo, MemoryRequirement::Any)); in transcode()
610 …vePtr<Buffer>(new Buffer(vk, device, allocator, dstImageBufferInfo, MemoryRequirement::HostVisible… in transcode()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsBase.cpp316 … findMatchingMemoryType(instance, physicalDevice, imageMemoryRequirements, MemoryRequirement::Any); in iterate()
475 …oc (bindImage(deviceInterface, getDevice(), getAllocator(), *imageTexels, MemoryRequirement::Any)); in iterate()
482 …(bindImage(deviceInterface, getDevice(), getAllocator(), *imageResidency, MemoryRequirement::Any)); in iterate()
505 …dBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer, MemoryRequirement::HostVisible… in iterate()
564 …Buffer(deviceInterface, getDevice(), getAllocator(), *bufferTexels, MemoryRequirement::HostVisible… in iterate()
573 …fer(deviceInterface, getDevice(), getAllocator(), *bufferResidency, MemoryRequirement::HostVisible… in iterate()
DvktSparseResourcesBufferSparseBinding.cpp173 …oryType(instance, getPhysicalDevice(secondDeviceID), bufferMemRequirement, MemoryRequirement::Any); in iterate()
255 …dBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer, MemoryRequirement::HostVisible… in iterate()
299 …Buffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirement::HostVisible… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp206 …ferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
377 …ferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
550 …ferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
712 const Image image(vk, device, allocator, imageParams, MemoryRequirement::Any); in iterate()
722 …ufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_SRC_BIT), MemoryRequirement::HostVisible… in iterate()
737 …ferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
907 const Image image(vk, device, allocator, imageParams, MemoryRequirement::Any); in iterate()
917 …ferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
932 …ufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in iterate()
1194 …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.cpp433 …CreateInfo(sizeof(TessLevels), VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
447 …CreateInfo(vertexDataSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
479 MemoryRequirement::Any); in iterate()
485 …CreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in iterate()
486 …CreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in iterate()

12345678