Home
last modified time | relevance | path

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

1234567891011

/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.hpp81 class MemoryRequirement class
84 static const MemoryRequirement Any;
85 static const MemoryRequirement HostVisible;
86 static const MemoryRequirement Coherent;
87 static const MemoryRequirement LazilyAllocated;
88 static const MemoryRequirement Protected;
89 static const MemoryRequirement Local;
90 static const MemoryRequirement Cached;
91 static const MemoryRequirement NonLocal;
92 static const MemoryRequirement DeviceAddress;
[all …]
DvkMemUtil.cpp75 …DeviceMemoryProperties& deviceMemProps, deUint32 allowedMemTypeBits, MemoryRequirement requirement) in selectMatchingMemoryType()
119 const MemoryRequirement MemoryRequirement::Any = MemoryRequirement(0x0u);
120 const MemoryRequirement MemoryRequirement::HostVisible = MemoryRequirement(MemoryRequirement::FLAG…
121 const MemoryRequirement MemoryRequirement::Coherent = MemoryRequirement(MemoryRequirement::FLAG_C…
122 const MemoryRequirement MemoryRequirement::LazilyAllocated = MemoryRequirement(MemoryRequirement::F…
123 const MemoryRequirement MemoryRequirement::Protected = MemoryRequirement(MemoryRequirement::FLAG_P…
124 const MemoryRequirement MemoryRequirement::Local = MemoryRequirement(MemoryRequirement::FLAG_LOCA…
125 const MemoryRequirement MemoryRequirement::Cached = MemoryRequirement(MemoryRequirement::FLAG_CAC…
126 const MemoryRequirement MemoryRequirement::NonLocal = MemoryRequirement(MemoryRequirement::FLAG_N…
127 const MemoryRequirement MemoryRequirement::DeviceAddress = MemoryRequirement(MemoryRequirement::FLA…
[all …]
DvkRayTracingUtil.cpp544 …or, bufferCreateInfo, MemoryRequirement::Cached | MemoryRequirement::HostVisible | MemoryRequireme… in SerialStorage()
549 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in SerialStorage()
707 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in createVertexBuffer()
748 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in createIndexBuffer()
1005 …or, bufferCreateInfo, MemoryRequirement::Cached | MemoryRequirement::HostVisible | MemoryRequireme… in create()
1010 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in create()
1038 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in create()
1504 …or, bufferCreateInfo, MemoryRequirement::Cached | MemoryRequirement::HostVisible | MemoryRequireme… in createInstanceBuffer()
1509 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in createInstanceBuffer()
1800 …or, bufferCreateInfo, MemoryRequirement::Cached | MemoryRequirement::HostVisible | MemoryRequireme… in create()
[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()
109 const MemoryRequirement& requirement, in createTestImage()
147 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()
630 ….allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible… in renderTriangleDummyExtStructTest()
647 …locate(getBufferMemoryRequirements(vk, vkDevice, *readImageBuffer), MemoryRequirement::HostVisible… in renderTriangleDummyExtStructTest()
671 … (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleDummyExtStructTest()
1220 ….allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible… in renderTriangleUnusedResolveAttachmentTest()
1237 …locate(getBufferMemoryRequirements(vk, vkDevice, *readImageBuffer), MemoryRequirement::HostVisible… in renderTriangleUnusedResolveAttachmentTest()
1261 …y (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleUnusedResolveAttachmentTest()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMakeUtil.cpp42 const vk::MemoryRequirement memoryRequirement) in Buffer()
52 const vk::MemoryRequirement memoryRequirement) in Image()
92 …Device physDevice, const VkDevice device, const VkImage image, const MemoryRequirement requirement) in bindImageDedicated()
99 …vice physDevice, const VkDevice device, const VkBuffer buffer, const MemoryRequirement requirement) in bindBufferDedicated()
DvktPipelineMakeUtil.hpp44 const vk::MemoryRequirement memoryRequirement);
65 const vk::MemoryRequirement memoryRequirement);
81 …vice, const vk::VkDevice device, const vk::VkImage image, const vk::MemoryRequirement requirement);
82 …ce, const vk::VkDevice device, const vk::VkBuffer buffer, const vk::MemoryRequirement requirement);
DvktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp163 …Image> imageMS(new Image(deviceInterface, device, allocator, imageMSInfo, MemoryRequirement::Any)); in iterate()
171 …Image> imageRS(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any)); in iterate()
179 …aredPtr<Image>(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any)); in iterate()
396 …teInfo(vertexDataDesc.dataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
462 …o(bufferPerSampleFetchPassSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
518 …(new Buffer(deviceInterface, device, allocator, bufferSampleIDInfo, MemoryRequirement::HostVisible… in iterate()
664 …fferRS(new Buffer(deviceInterface, device, allocator, bufferRSInfo, MemoryRequirement::HostVisible… in iterate()
716 …uffer>(new Buffer(deviceInterface, device, allocator, bufferRSInfo, MemoryRequirement::HostVisible… in iterate()
DvktPipelineMultisampleBaseResolve.cpp101 …Image> imageMS(new Image(deviceInterface, device, allocator, imageMSInfo, MemoryRequirement::Any)); in iterate()
108 …Image> imageRS(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any)); in iterate()
236 …teInfo(vertexDataDesc.dataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
378 …fferRS(new Buffer(deviceInterface, device, allocator, bufferRSInfo, MemoryRequirement::HostVisible… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.cpp307 vk::MemoryRequirement memReq = (protectionMode == PROTECTION_ENABLED) in createImage2D()
308 ? vk::MemoryRequirement::Protected in createImage2D()
309 : vk::MemoryRequirement::Any; in createImage2D()
311 vk::MemoryRequirement memReq = vk::MemoryRequirement::Any; in createImage2D()
322 vk::MemoryRequirement memReq) in makeBuffer()
332 vk::MemoryRequirement requirement = memReq; in makeBuffer()
336 vk::MemoryRequirement requirement = memReq & ( in makeBuffer()
337 vk::MemoryRequirement::HostVisible in makeBuffer()
338 | vk::MemoryRequirement::Coherent in makeBuffer()
339 | vk::MemoryRequirement::LazilyAllocated); in makeBuffer()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingCaptureReplayTests.cpp379 …RESS_CAPTURE_REPLAY_BIT, VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT, MemoryRequirement::DeviceAddre… in initShaderBindingTables()
380 …RESS_CAPTURE_REPLAY_BIT, VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT, MemoryRequirement::DeviceAddre… in initShaderBindingTables()
381 …RESS_CAPTURE_REPLAY_BIT, VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT, MemoryRequirement::DeviceAddre… in initShaderBindingTables()
383 …emory(vkd, device, pipelineData.allocator, uniformBufferCreateInfo, MemoryRequirement::HostVisible… in initShaderBindingTables()
409 …tor, shaderGroupHandleSize, shaderGroupBaseAlignment, 0, 1, 0u, 0u, MemoryRequirement::Any, sbtSav… in initShaderBindingTables()
410 …tor, shaderGroupHandleSize, shaderGroupBaseAlignment, 1, 1, 0u, 0u, MemoryRequirement::Any, sbtSav… in initShaderBindingTables()
411 …HandleSize, shaderGroupBaseAlignment, 2, RTCR_SHADER_COUNT, 0u, 0u, MemoryRequirement::Any, sbtSav… in initShaderBindingTables()
413 …emory(vkd, device, pipelineData.allocator, uniformBufferCreateInfo, MemoryRequirement::HostVisible… in initShaderBindingTables()
422 …tor, shaderGroupHandleSize, shaderGroupBaseAlignment, 0, 1, 0u, 0u, MemoryRequirement::Any, sbtSav… in initShaderBindingTables()
423 …tor, shaderGroupHandleSize, shaderGroupBaseAlignment, 1, 1, 0u, 0u, MemoryRequirement::Any, sbtSav… in initShaderBindingTables()
[all …]
DvktRayTracingTraceRaysTests.cpp433 …eWithMemory>(new ImageWithMemory(vkd, device, allocator, imageCreateInfo, MemoryRequirement::Any)); in runTest()
439 …ew BufferWithMemory(vkd, device, allocator, resultBufferCreateInfo, MemoryRequirement::HostVisible… in runTest()
452 …::MemoryRequirement indirectBufferMemoryRequirement = MemoryRequirement::DeviceAddress | ( ind… in runTest()
459 …w BufferWithMemory(vkd, device, allocator, uniformBufferCreateInfo, MemoryRequirement::HostVisible… in runTest()
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp1032 …exBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible… in readOneSampleFromMultisampleImage()
1207 …ion> colorImageAlloc (bindImage (vk, device, allocator, *colorImage, MemoryRequirement::Any)); in iterate()
1210 …lorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible… in iterate()
1225 …exBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible… in iterate()
1421 …ion> colorImageAlloc (bindImage (vk, device, allocator, *colorImage, MemoryRequirement::Any)); in iterate()
1424 …lorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible… in iterate()
1439 …llocation> dsImageAlloc (bindImage (vk, device, allocator, *dsImage, MemoryRequirement::Any)); in iterate()
1442 …pthBufferAlloc (bindBuffer (vk, device, allocator, *depthBuffer, MemoryRequirement::HostVisible… in iterate()
1444 …lBufferAlloc (bindBuffer (vk, device, allocator, *stencilBuffer, MemoryRequirement::HostVisible… in iterate()
1459 …exBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawBufferObjectUtil.hpp47 vk::MemoryRequirement allocationMemoryProperties = vk::MemoryRequirement::Any);
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.cpp39 const MemoryRequirement memoryRequirement) in Buffer()
50 const MemoryRequirement memoryRequirement) in Image()
DvktComputeTestsUtil.hpp47 const vk::MemoryRequirement memoryRequirement);
68 const vk::MemoryRequirement memoryRequirement);
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp82 MemoryRequirement::Any in iterate()
112 VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); in iterate()
114 VK_BUFFER_USAGE_VERTEX_BUFFER_BIT ), MemoryRequirement::HostVisible); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp557 … Image(vk, device, allocator, imageData[imageNdx].getImageInfo(infoNdx), MemoryRequirement::Any))); in iterate()
677 MemoryRequirement::HostVisible); in copyDataToImage()
852 MemoryRequirement::HostVisible); in copyResultAndCompare()
1088 Image resultImage (vk, device, allocator, decompressedImageInfo, MemoryRequirement::Any); in decompressImage()
1089 …Image referenceImage (vk, device, allocator, decompressedImageInfo, MemoryRequirement::Any… in decompressImage()
1090 …Image uncompressedImage (vk, device, allocator, compressedImageInfo, MemoryRequirement::Any… in decompressImage()
1117 …makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in decompressImage()
1119 …makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in decompressImage()
1121 …_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible… in decompressImage()
1647 …teInfo(vertexBufferSizeInBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible… in prepareVertexBuffer()
[all …]
DvktImageAstcDecodeModeTests.cpp159 Image testedImage (vk, device, allocator, compressedImageInfo, MemoryRequirement::Any); in iterate()
160 Image referenceImage (vk, device, allocator, compressedImageInfo, MemoryRequirement::Any); in iterate()
161 Image resultImage (vk, device, allocator, resultImageInfo, MemoryRequirement::Any); in iterate()
211 …Buffer inBuffer (vk, device, allocator, compressedBufferCI, MemoryRequirement::HostVisibl… in iterate()
212 …Buffer resultBuffer (vk, device, allocator, uncompressedBufferCI, MemoryRequirement::HostV… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemUseAfterFreeTests.cpp80 const vk::MemoryRequirement memoryRequirement);
100 const MemoryRequirement memoryRequirement) in Buffer()
329 …ator, makeBufferCreateInfo(bufferSizeBytes, inputBufferUsageFlags), MemoryRequirement::HostVisible… in iterate()
344 …ferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp323 …ocation> colorImageAlloc (bindImage(vk, device, allocator, *colorImage, MemoryRequirement::Any)); in iterate()
346 …location> testImageAlloc (bindImage(vk, device, allocator, *testImage, MemoryRequirement::Any)); in iterate()
356 …ertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible… in iterate()
377 …esultBufferAlloc (bindBuffer(vk, device, allocator, *resultBuffer, MemoryRequirement::HostVisible… in iterate()
390 … colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp176 …oryType(instance, getPhysicalDevice(secondDeviceID), bufferMemRequirement, MemoryRequirement::Any); in iterate()
258 …dBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer, MemoryRequirement::HostVisible… in iterate()
302 …Buffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirement::HostVisible… in iterate()

1234567891011