Home
last modified time | relevance | path

Searched refs:getAllocation (Results 1 – 25 of 134) sorted by relevance

123456

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingTraceRaysTests.cpp460 …deMemcpy(uniformBuffer->getAllocation().getHostPtr(), &m_data.traceDimensions, sizeof(VkTraceRaysI… in runTest()
461 …shMappedMemoryRange(vkd, device, uniformBuffer->getAllocation().getMemory(), uniformBuffer->getAll… in runTest()
465 …deMemcpy(indirectBuffer->getAllocation().getHostPtr(), &m_data.traceDimensions, sizeof(VkTraceRays… in runTest()
466 …MappedMemoryRange(vkd, device, indirectBuffer->getAllocation().getMemory(), indirectBuffer->getAll… in runTest()
563 …ateMappedMemoryRange(vkd, device, resultBuffer->getAllocation().getMemory(), resultBuffer->getAllo… in runTest()
572 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in iterate()
DvktRayTracingShaderBindingTableTests.cpp309 deMemcpy(uniformBuffer->getAllocation().getHostPtr(), &uniformValue, sizeof(tcu::UVec4)); in initUniformBuffer()
310 …shMappedMemoryRange(vkd, device, uniformBuffer->getAllocation().getMemory(), uniformBuffer->getAll… in initUniformBuffer()
466 …deUint8* hitAddressBegin = (deUint8*)hitShaderBindingTable->getAllocation().getHostPtr() + shaderB… in initShaderBindingTables()
475 …ryRange(vkd, device, hitShaderBindingTable->getAllocation().getMemory(), hitShaderBindingTable->ge… in initShaderBindingTables()
498 …deUint8* missAddressBegin = (deUint8*)missShaderBindingTable->getAllocation().getHostPtr() + shade… in initShaderBindingTables()
507 …Range(vkd, device, missShaderBindingTable->getAllocation().getMemory(), missShaderBindingTable->ge… in initShaderBindingTables()
531 …deUint8* callAddressBegin = (deUint8*)callableShaderBindingTable->getAllocation().getHostPtr() + s… in initShaderBindingTables()
539 …vkd, device, callableShaderBindingTable->getAllocation().getMemory(), callableShaderBindingTable-> in initShaderBindingTables()
552 …ss(imageFormat, testParams.width, testParams.height, 1, resultBuffer->getAllocation().getHostPtr()… in verifyImage()
973 …ateMappedMemoryRange(vkd, device, resultBuffer->getAllocation().getMemory(), resultBuffer->getAllo… in runTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.hpp51 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() function in vkt::compute::Buffer
72 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() function in vkt::compute::Image
DvktComputeBasicComputeShaderTests.cpp263 const Allocation& bufferAllocation = buffer.getAllocation(); in iterate()
434 const Allocation& bufferAllocation = buffer.getAllocation(); in iterate()
607 const Allocation& bufferAllocation = buffer.getAllocation(); in iterate()
733 const Allocation& stagingBufferAllocation = stagingBuffer.getAllocation(); in iterate()
807 const Allocation& outputBufferAllocation = outputBuffer.getAllocation(); in iterate()
811 const deUint32* refBufferPtr = static_cast<deUint32*>(stagingBuffer.getAllocation().getHostPtr()); in iterate()
928 const Allocation& inputBufferAllocation = inputBuffer.getAllocation(); in iterate()
1007 const Allocation& outputBufferAllocation = outputBuffer.getAllocation(); in iterate()
1011 const deUint32* refBufferPtr = static_cast<deUint32*>(inputBuffer.getAllocation().getHostPtr()); in iterate()
1205 const Allocation& inputBufferAllocation = inputBuffer.getAllocation(); in iterate()
[all …]
DvktComputeZeroInitializeWorkgroupMemoryTests.cpp78 deUint32* ptr = (deUint32*)buffer->getAllocation().getHostPtr();
118 flushAlloc(vk, device, buffer->getAllocation());
166 invalidateAlloc(vk, device, buffer->getAllocation());
1247 ptrs[i] = (deUint32*)buffers[i]->getAllocation().getHostPtr(); in iterate()
1298 flushAlloc(vk, device, buffers[i]->getAllocation()); in iterate()
1352 invalidateAlloc(vk, device, buffers[0]->getAllocation()); in iterate()
1365 flushAlloc(vk, device, buffers[0]->getAllocation()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMakeUtil.hpp48 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() function in vkt::pipeline::Buffer
69 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() function in vkt::pipeline::Image
DvktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp397 const Allocation& vertexBufferAllocation = vertexBuffer->getAllocation(); in iterate()
476 const Allocation& vertexAllocPerSampleFetchPass = vertexBufferPerSampleFetchPass->getAllocation(); in iterate()
533 …deMemcpy(bufferSampleID->getAllocation().getHostPtr(), sampleIDs, static_cast<deUint32>(uboOffsetA… in iterate()
535 flushAlloc(deviceInterface, device, bufferSampleID->getAllocation()); in iterate()
755 const Allocation& bufferRSAlloc = bufferRS->getAllocation(); in iterate()
778 const Allocation& bufferAlloc = buffersPerSample[sampleNdx]->getAllocation(); in iterate()
DvktPipelineNoPositionTests.cpp455 auto& vertexBufferAlloc = vertexBuffer.getAllocation(); in iterate()
571 auto& ssboBufferAlloc = ssboBuffer->getAllocation(); in iterate()
646 auto& verificationBufferAlloc = verificationBuffer.getAllocation(); in iterate()
680 auto& ssboAlloc = ssboBuffer->getAllocation(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemShaderTimeoutTests.cpp176 const Allocation& storageBufferAllocation = storageBuffer.getAllocation(); in iterate()
186 const Allocation& uniformBufferAllocation = uniformBuffer.getAllocation(); in iterate()
242 const Allocation& storageAllocation = storageBuffer.getAllocation(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
DvktAttachmentRateTests.cpp338 *((deUint32*)m_counterBuffer->getAllocation().getHostPtr()) = 0u; in buildCounterBufferObjects()
339 flushAlloc(vk, device, m_counterBuffer->getAllocation()); in buildCounterBufferObjects()
1114 invalidateAlloc(vk, device, m_cbReadBuffer[0]->getAllocation()); in runComputeShaderMode()
1117 (deUint32*)m_cbReadBuffer[0]->getAllocation().getHostPtr())) in runComputeShaderMode()
1257 invalidateAlloc(vk, device, m_cbReadBuffer[0]->getAllocation()); in runFragmentShaderMode()
1260 (deUint32*)m_cbReadBuffer[0]->getAllocation().getHostPtr())) in runFragmentShaderMode()
1408 invalidateAlloc(vk, device, m_cbReadBuffer[0]->getAllocation()); in runCopyMode()
1411 (deUint32*)m_cbReadBuffer[0]->getAllocation().getHostPtr())) in runCopyMode()
1538 deUint8* srWriteBufferHostPtr = (deUint8*)srSrcBuffer->getAllocation().getHostPtr(); in runCopyModeOnTransferQueue()
1541 flushAlloc(vk, *m_device, srSrcBuffer->getAllocation()); in runCopyModeOnTransferQueue()
[all …]
DvktFragmentShadingRateBasic.cpp829 deUint32 *abuf = (deUint32 *)atomicBuffer->getAllocation().getHostPtr(); in iterate()
838 float *vbuf = (float *)vertexBuffer->getAllocation().getHostPtr(); in iterate()
843 flushAlloc(vk, device, vertexBuffer->getAllocation()); in iterate()
871 fillPtr = (deUint8 *)srFillBuffer->getAllocation().getHostPtr(); in iterate()
1359 flushAlloc(vk, device, atomicBuffer->getAllocation()); in iterate()
1990 flushAlloc(vk, device, srFillBuffer->getAllocation()); in iterate()
2166 deUint32 *colorptr = (deUint32 *)colorOutputBuffer->getAllocation().getHostPtr(); in iterate()
2167 invalidateAlloc(vk, device, colorOutputBuffer->getAllocation()); in iterate()
2169 invalidateAlloc(vk, device, atomicBuffer->getAllocation()); in iterate()
2176 depthptr = (float *)depthOutputBuffer->getAllocation().getHostPtr(); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDispatchTests.cpp194 const vk::Allocation& alloc = outputBuffer.getAllocation(); in iterate()
237 …deUint8* indirectBufferPtr = reinterpret_cast<deUint8*>(indirectBuffer.getAllocation().getHostPtr(… in iterate()
240 vk::flushAlloc(vk, device, indirectBuffer.getAllocation()); in iterate()
345 const vk::Allocation& outputBufferAllocation = outputBuffer.getAllocation(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp659 Allocation& getAllocation() const in getAllocation() function
2596 const Allocation& alloc = inputBuffers[i]->getAllocation(); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2670 const Allocation& alloc = vertexBuffer.getAllocation(); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2726 const Allocation& allocResult = imageBufferResult.getAllocation(); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2833 const Allocation& alloc = inputBuffers[i]->getAllocation(); in makeGeometryFrameBufferTestRequiredSubgroupSize()
2901 const Allocation& alloc = vertexBuffer.getAllocation(); in makeGeometryFrameBufferTestRequiredSubgroupSize()
2929 const Allocation& alloc = inputBuffers[ndx]->getAllocation(); in makeGeometryFrameBufferTestRequiredSubgroupSize()
2963 const Allocation& allocResult = imageBufferResult.getAllocation(); in makeGeometryFrameBufferTestRequiredSubgroupSize()
3129 const Allocation& alloc = inputBuffers[ndx]->getAllocation(); in allStagesRequiredSubgroupSize()
3234 const Allocation& alloc = inputBuffers[ndx]->getAllocation(); in allStagesRequiredSubgroupSize()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageWithMemory.hpp52 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() function in vk::ImageWithMemory
DvkBufferWithMemory.hpp53 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() function in vk::BufferWithMemory
DvkRayTracingUtil.cpp614 return makeDeviceOrHostAddressKHR(m_buffer->getAllocation().getHostPtr()); in getAddress()
635 …return makeDeviceOrHostAddressKHR(static_cast<deUint8*>(m_buffer->getAllocation().getHostPtr()) + … in getHostAddress()
640 …return makeDeviceOrHostAddressConstKHR(static_cast<deUint8*>(m_buffer->getAllocation().getHostPtr(… in getHostAddressConst()
666 const deUint8* startPtr = static_cast<deUint8*>(m_buffer->getAllocation().getHostPtr()); in getDeserializedSize()
802 const Allocation& geometryAlloc = vertexBuffer->getAllocation(); in updateVertexBuffer()
843 const Allocation& indexAlloc = indexBuffer->getAllocation(); in updateIndexBuffer()
1661 auto& instancesAlloc = instanceBuffer->getAllocation(); in updateInstanceBuffer()
1993 auto& instancesAlloc = m_instanceBuffer->getAllocation(); in updateInstanceMatrix()
2388 …deUint8* bufferStart = static_cast<deUint8*>(m_instanceAddressBuffer->getAllocation().getHo… in prepareInstances()
2399 …Range(vk, device, m_instanceAddressBuffer->getAllocation().getMemory(), m_instanceAddressBuffer->g… in prepareInstances()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp117 const Allocation& alloc = vertexBuffer.getAllocation(); in iterate()
178 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate()
DvktGeometryTestsUtil.hpp71 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() function in vkt::geometry::Buffer
99 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() function in vkt::geometry::Image
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationPrimitiveDiscardTests.cpp416 const Allocation& alloc = vertexBuffer.getAllocation(); in test()
429 const Allocation& alloc = resultBuffer.getAllocation(); in test()
541 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in test()
551 const Allocation& resultAlloc = resultBuffer.getAllocation(); in test()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryProceduralGeometryTests.cpp198 auto referenceAllocation = referenceBuffer->getAllocation(); in iterate()
201 auto resultAllocation = resultBuffer->getAllocation(); in iterate()
228 auto& bufferAlloc = buffer->getAllocation(); in clearBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemImageValidator.cpp150 deMemcpy(refUniform->getAllocation().getHostPtr(), &refData, refUniformSize); in validateImage()
151 flushAlloc(vk, device, refUniform->getAllocation()); in validateImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateComputeTests.cpp101 auto& bufferAlloc = m_vertexBuffer->getAllocation(); in BindVertexBuffersData()
324 const auto bufferOffset = vertexBuffer->getAllocation().getOffset(); in bindVertexBuffers()
629 auto& alloc = buffer.getAllocation(); in fillBuffer()
702 auto& dstBufferAlloc = dstBuffer.getAllocation(); in iterateTransfer()
793 auto& outputBufferAlloc = outputBuffer.getAllocation(); in iterateCompute()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorSetTests.cpp380 deUint32 *bufferPtr = (deUint32 *)buffer->getAllocation().getHostPtr(); in descriptorSetLayoutBindingOrderingTest()
582 flushAlloc(vk, device, buffer->getAllocation()); in descriptorSetLayoutBindingOrderingTest()
589 const Allocation& bufferAllocationResult = resultBuffer->getAllocation(); in descriptorSetLayoutBindingOrderingTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderSmokeTests.cpp412 auto& vertexBufferAlloc = vertexBuffer.getAllocation(); in iterate()
421 auto& indexBufferAlloc = indexBuffer.getAllocation(); in iterate()
512 auto& outBufferAlloc = outBuffer.getAllocation(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/reconvergence/
DvktReconvergenceTests.cpp1679 ptrs[i] = (deUint32 *)buffers[i]->getAllocation().getHostPtr(); in iterate()
1739 flushAlloc(vk, device, buffers[0]->getAllocation()); in iterate()
1740 flushAlloc(vk, device, buffers[1]->getAllocation()); in iterate()
1741 flushAlloc(vk, device, buffers[2]->getAllocation()); in iterate()
1810 invalidateAlloc(vk, device, buffers[1]->getAllocation()); in iterate()
1811 invalidateAlloc(vk, device, buffers[2]->getAllocation()); in iterate()
1845 ptrs[1] = (deUint32 *)buffers[1]->getAllocation().getHostPtr(); in iterate()
1854 flushAlloc(vk, device, buffers[1]->getAllocation()); in iterate()
1871 invalidateAlloc(vk, device, buffers[1]->getAllocation()); in iterate()

123456