Home
last modified time | relevance | path

Searched refs:vertexBufferAlloc (Results 1 – 25 of 26) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineFramebufferAttachmentTests.cpp407 MovePtr<Allocation> vertexBufferAlloc; in test() local
432vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisibl… in test()
434 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in test()
435 flushAlloc(vk, device, *vertexBufferAlloc); in test()
782 MovePtr<Allocation> vertexBufferAlloc; in testNoAtt() local
835vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisibl… in testNoAtt()
836 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in testNoAtt()
837 flushAlloc(vk, device, *vertexBufferAlloc); in testNoAtt()
1046 MovePtr<Allocation> vertexBufferAlloc; in testDifferentAttachmentSizes() local
1085vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::Host… in testDifferentAttachmentSizes()
[all …]
DvktPipelineMultisampleImageTests.cpp888 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, M… in renderMultisampledImage() local
891 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in renderMultisampledImage()
892 flushAlloc(vk, device, *vertexBufferAlloc); in renderMultisampledImage()
1078 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, M… in test() local
1081 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in test()
1082 flushAlloc(vk, device, *vertexBufferAlloc); in test()
1637 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, M… in test() local
1640 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in test()
1641 flushAlloc(vk, device, *vertexBufferAlloc); in test()
DvktPipelineRenderToImageTests.cpp998 MovePtr<Allocation> vertexBufferAlloc; in testWithSizeReduction() local
1026vertexBufferAlloc = bindBuffer(vki, vk, physDevice, device, *vertexBuffer, MemoryRequirement::Host… in testWithSizeReduction()
1028 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in testWithSizeReduction()
1029 flushAlloc(vk, device, *vertexBufferAlloc); in testWithSizeReduction()
1427 MovePtr<Allocation> vertexBufferAlloc; in testRenderToMipMaps() local
1454vertexBufferAlloc = bindBuffer(vki, vk, physDevice, device, *vertexBuffer, MemoryRequirement::Host… in testRenderToMipMaps()
1456 …deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBufferSize)… in testRenderToMipMaps()
1457 flushAlloc(vk, device, *vertexBufferAlloc); in testRenderToMipMaps()
DvktPipelineMultisampleShaderFragmentMaskTests.cpp440 MovePtr<Allocation> vertexBufferAlloc; member
1183 …wd.vertexBufferAlloc = bindBuffer(vk, device, *allocator, *wd.vertexBuffer, MemoryRequirement::Hos… in test()
1185 …deMemcpy(wd.vertexBufferAlloc->getHostPtr(), dataOrNullPtr(vertices), static_cast<std::size_t>(ver… in test()
1186 …flushMappedMemoryRange(vk, device, wd.vertexBufferAlloc->getMemory(), wd.vertexBufferAlloc->getOff… in test()
DvktPipelineNoPositionTests.cpp455 auto& vertexBufferAlloc = vertexBuffer.getAllocation(); in iterate() local
456 void* vertexBufferPtr = vertexBufferAlloc.getHostPtr(); in iterate()
458 flushAlloc(vkd, device, vertexBufferAlloc); in iterate()
DvktPipelineVertexInputTests.cpp1293 …de::MovePtr<Allocation> vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDe… in VertexInputInstance() local
1295 …_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferAlloc->getMemory(), vertexBufferAl… in VertexInputInstance()
1297 …writeVertexInputData((deUint8*)vertexBufferAlloc->getHostPtr(), bindingDescriptions[bindingNdx], b… in VertexInputInstance()
1298 flushAlloc(vk, vkDevice, *vertexBufferAlloc); in VertexInputInstance()
1301 m_vertexBufferAllocs.push_back(vertexBufferAlloc.release()); in VertexInputInstance()
DvktPipelineMultisampleMixedAttachmentSamplesTests.cpp772 MovePtr<Allocation> vertexBufferAlloc; member
1347 …subpassData.vertexBufferAlloc = bindBuffer(vk, device, *allocator, *subpassData.vertexBuffer, Memo… in createPerSubpassData()
1349 …deMemcpy(subpassData.vertexBufferAlloc->getHostPtr(), dataOrNullPtr(vertices), static_cast<std::si… in createPerSubpassData()
1350 …lushMappedMemoryRange(vk, device, subpassData.vertexBufferAlloc->getMemory(), subpassData.vertexBu… in createPerSubpassData()
1516 MovePtr<Allocation> vertexBufferAlloc; member
DvktPipelineTimestampTests.cpp923 …de::MovePtr<Allocation> vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDe… in createBufferAndBindMemory() local
925 …_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferAlloc->getMemory(), vertexBufferAl… in createBufferAndBindMemory()
928 *pAlloc = vertexBufferAlloc; in createBufferAndBindMemory()
DvktPipelineMultisampleShaderBuiltInTests.cpp1714 const auto& vertexBufferAlloc = vertexBuffer.getAllocation(); in iterate() local
1715 void* vertexBufferPtr = vertexBufferAlloc.getHostPtr(); in iterate()
1718 vk::flushAlloc(vkd, device, vertexBufferAlloc); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationImageLayoutTransitionTests.cpp188 …MovePtr<Allocation> vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, Me… in iterate() local
191 deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], sizeInBytes(vertices)); in iterate()
192 flushAlloc(vk, device, *vertexBufferAlloc); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryInstancedRenderingTests.cpp166 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, … in draw() local
182 deMemcpy(vertexBufferAlloc->getHostPtr(), &perInstanceAttribute[0], (size_t)vertexBufferSize); in draw()
183 flushAlloc(vk, device, *vertexBufferAlloc); in draw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderSmokeTests.cpp412 auto& vertexBufferAlloc = vertexBuffer.getAllocation(); in iterate() local
413 void* vertexBufferDataPtr = vertexBufferAlloc.getHostPtr(); in iterate()
416 flushAlloc(vkd, device, vertexBufferAlloc); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp361 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, … in iterate() local
364 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate()
374 flushAlloc(vk, device, *vertexBufferAlloc); in iterate()
609 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, … in iterate() local
612 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate()
622 flushAlloc(vk, device, *vertexBufferAlloc); in iterate()
1299 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, … in iterate() local
1302 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate()
1312 flushAlloc(vk, device, *vertexBufferAlloc); in iterate()
DvktFragmentOperationsOcclusionQueryTests.cpp394 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, … in iterate() local
397 tcu::Vec4* const pVertices = reinterpret_cast<tcu::Vec4*>(vertexBufferAlloc->getHostPtr()); in iterate()
406 flushAlloc(vk, device, *vertexBufferAlloc); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageTranscodingSupportTests.cpp344 const Allocation& vertexBufferAlloc = vertexBuffer->getAllocation(); in transcode() local
393 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode()
394 flushAlloc(vk, device, vertexBufferAlloc); in transcode()
594 const Allocation& vertexBufferAlloc = vertexBuffer->getAllocation(); in transcode() local
650 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode()
651 flushAlloc(vk, device, vertexBufferAlloc); in transcode()
DvktImageSampleDrawnCubeFaceTests.cpp263 …MovePtr<Allocation> vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, Memor… in iterate() local
266 deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], sizeInBytes(vertices)); in iterate()
267 flushAlloc(vk, device, *vertexBufferAlloc); in iterate()
DvktImageSampleCompressedTextureTests.cpp452 …de::MovePtr<Allocation> vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, Me… in iterate() local
454 deMemcpy(vertexBufferAlloc->getHostPtr(), &vertices[0], sizeInBytes(vertices)); in iterate()
455 flushAlloc(vk, device, *vertexBufferAlloc); in iterate()
DvktImageMutableTests.cpp934 MovePtr<Allocation> vertexBufferAlloc; member
1321 …m_uDraw.vertexBufferAlloc = bindBuffer(m_vk, m_device, m_allocator, *m_uDraw.vertexBuffer, Mem… in uploadDraw()
1322 …deMemcpy(m_uDraw.vertexBufferAlloc->getHostPtr(), &vertices[0], static_cast<std::size_t>(vertexBuf… in uploadDraw()
1323 flushAlloc(m_vk, m_device, *(m_uDraw.vertexBufferAlloc)); in uploadDraw()
DvktImageCompressionTranscodingSupport.cpp1650 const Allocation& vertexBufferAlloc = m_vertexBuffer->getAllocation(); in prepareVertexBuffer() local
1651 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in prepareVertexBuffer()
1652 flushAlloc(vk, device, vertexBufferAlloc); in prepareVertexBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationFragShaderSideEffectsTests.cpp385 const auto& vertexBufferAlloc = vertexBuffer.getAllocation(); in iterate() local
387 …deMemcpy(vertexBufferAlloc.getHostPtr(), fullScreenQuad.data(), static_cast<size_t>(vertexBufferSi… in iterate()
388 vk::flushAlloc(vkd, device, vertexBufferAlloc); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultiExtTests.cpp948 auto& vertexBufferAlloc = vertexBuffer.getAllocation(); in iterate() local
949 const auto vertexBufferOffset = vertexBufferAlloc.getOffset(); in iterate()
950 void* vertexBufferData = vertexBufferAlloc.getHostPtr(); in iterate()
953 flushAlloc(vkd, device, vertexBufferAlloc); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp1032 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuff… in readOneSampleFromMultisampleImage() local
1035 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in readOneSampleFromMultisampleImage()
1225 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuffe… in iterate() local
1228 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in iterate()
1459 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuffe… in iterate() local
1462 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in iterate()
1662 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuff… in iterate() local
1665 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in iterate()
1962 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuf… in iterate() local
1965 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBarrierTests.cpp1083 const auto& vertexBufferAlloc = stageData.vertexBuffer->getAllocation(); in createGraphicsPipelineObjects() local
1085 …deMemcpy(vertexBufferAlloc.getHostPtr(), kFullScreenQuad.data(), static_cast<size_t>(vertexBufferS… in createGraphicsPipelineObjects()
1086 flushAlloc(vkd, device, vertexBufferAlloc); in createGraphicsPipelineObjects()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp5460 de::MovePtr<Allocation> vertexBufferAlloc; in ResolveImageToImage() local
5737vertexBufferAlloc = allocateBuffer(vki, vk, vkPhysDevice, vkDevice, *vertexBuffer, MemoryRequireme… in ResolveImageToImage()
5738 …_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferAlloc->getMemory(), vertexBufferAl… in ResolveImageToImage()
5741 deMemcpy(vertexBufferAlloc->getHostPtr(), vertices.data(), (size_t)vertexDataSize); in ResolveImageToImage()
5742 flushAlloc(vk, vkDevice, *vertexBufferAlloc); in ResolveImageToImage()
6326 auto& vertexBufferAlloc = vertexBuffer.getAllocation(); in checkIntermediateCopy() local
6327 void* vertexBufferData = vertexBufferAlloc.getHostPtr(); in checkIntermediateCopy()
6331 flushAlloc(vkd, device, vertexBufferAlloc); in checkIntermediateCopy()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp1491 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuff… in iterate() local
1523 …fillBuffer(vk, device, *vertexBufferAlloc, vertexBufferSize, vertexBufferVals, sizeof(vertexBuffer… in iterate()

12