Home
last modified time | relevance | path

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

12345678910>>...12

/third_party/vk-gl-cts/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.cpp563 …or, bufferCreateInfo, MemoryRequirement::Cached | MemoryRequirement::HostVisible | MemoryRequireme… in SerialStorage()
568 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in SerialStorage()
586 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in SerialStorage()
794 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in createVertexBuffer()
835 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in createIndexBuffer()
1092 …or, bufferCreateInfo, MemoryRequirement::Cached | MemoryRequirement::HostVisible | MemoryRequireme… in create()
1097 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in create()
1125 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in create()
1592 …or, bufferCreateInfo, MemoryRequirement::Cached | MemoryRequirement::HostVisible | MemoryRequireme… in createInstanceBuffer()
1597 …evice, allocator, bufferCreateInfo, MemoryRequirement::HostVisible | MemoryRequirement::Coherent |… in createInstanceBuffer()
[all …]
/third_party/vk-gl-cts/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,
104 const MemoryRequirement& requirement,
117 const MemoryRequirement& requirement,
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.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()
/third_party/vk-gl-cts/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()
DvktPipelineFramebufferAttachmentTests.cpp404 … colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible… in test()
432 …vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisibl… in test()
444 colorImageAlloc = bindImage(vk, device, allocator, *colorImage, MemoryRequirement::Any); in test()
452 msColorImageAlloc = bindImage(vk, device, allocator, *msColorImage, MemoryRequirement::Any); in test()
798 …Ptr<Allocation> imageAlloc = bindImage(vk, device, allocator, *image, MemoryRequirement::Any); in testNoAtt()
804 … colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible… in testNoAtt()
835 …vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisibl… in testNoAtt()
1076 …= bindBuffer(vk, device, allocator, *colorBuffers[renderTargetIdx], MemoryRequirement::HostVisible… in testDifferentAttachmentSizes()
1085 …vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::Host… in testDifferentAttachmentSizes()
1097 …getIdx] = bindImage(vk, device, allocator, *colorImages[renderTargetIdx], MemoryRequirement::Any); in testDifferentAttachmentSizes()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOCornerCase.cpp116 …ation> allocateAndBindMemory (Context &context, vk::VkBuffer buffer, vk::MemoryRequirement memReqs) in allocateAndBindMemory()
179 …on> acBufferAlloc (allocateAndBindMemory(m_context, *acBuffer, vk::MemoryRequirement::HostVisible… in iterate()
226 …ext, *buffer, vk::MemoryRequirement::HostVisible | (memoryDeviceAddress ? vk::MemoryRequirement::D… in iterate()
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawBufferObjectUtil.hpp47 vk::MemoryRequirement allocationMemoryProperties = vk::MemoryRequirement::Any);
/third_party/vk-gl-cts/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);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp328 …ocation> colorImageAlloc (bindImage(vk, device, allocator, *colorImage, MemoryRequirement::Any)); in iterate()
351 …location> testImageAlloc (bindImage(vk, device, allocator, *testImage, MemoryRequirement::Any)); in iterate()
361 …ertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible… in iterate()
382 …esultBufferAlloc (bindBuffer(vk, device, allocator, *resultBuffer, MemoryRequirement::HostVisible… in iterate()
395 … colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible… in iterate()
576 …cation> colorImageAlloc (bindImage(vk, device, allocator, *colorImage, MemoryRequirement::Any)); in iterate()
599 …location> testImageAlloc (bindImage(vk, device, allocator, *testImage, MemoryRequirement::Any)); in iterate()
609 …ertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible… in iterate()
630 …esultBufferAlloc (bindBuffer(vk, device, allocator, *resultBuffer, MemoryRequirement::HostVisible… in iterate()
643 … colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible… in iterate()
[all …]
DvktFragmentOperationsOcclusionQueryTests.cpp326 …cation> colorImageAlloc (bindImage(vk, device, allocator, *colorImage, MemoryRequirement::Any)); in iterate()
344 …<Allocation> testImageAlloc(bindImage(vk, device, allocator, *testImage, MemoryRequirement::Any)); in iterate()
356 …ferAlloc (bindBuffer(vk, device, allocator, *dOccluderVertexBuffer, MemoryRequirement::HostVisible… in iterate()
375 …ferAlloc (bindBuffer(vk, device, allocator, *sOccluderVertexBuffer, MemoryRequirement::HostVisible… in iterate()
394 …ertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible… in iterate()
412 …esultBufferAlloc (bindBuffer(vk, device, allocator, *resultBuffer, MemoryRequirement::HostVisible… in iterate()
424 … colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageAstcDecodeModeTests.cpp153 Image testedImage (vk, device, allocator, compressedImageInfo, MemoryRequirement::Any); in iterate()
154 Image referenceImage (vk, device, allocator, compressedImageInfo, MemoryRequirement::Any); in iterate()
155 Image resultImage (vk, device, allocator, resultImageInfo, MemoryRequirement::Any); in iterate()
204 …Buffer inBuffer (vk, device, allocator, compressedBufferCI, MemoryRequirement::HostVisibl… in iterate()
205 …Buffer resultBuffer (vk, device, allocator, uncompressedBufferCI, MemoryRequirement::HostV… in iterate()
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 …]

12345678910>>...12