/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkMemUtil.cpp | 201 DE_ASSERT(m_offsetParams->offset == zero || m_offsetParams->nonCoherentAtomSize != zero); in SimpleAllocator() 209 const auto requiredAlignment = (m_offsetParams ? de::lcm(m_offsetParams->nonCoherentAtomSize, alignment) : alignment); in allocate() 230 const auto requiredAlignment = (m_offsetParams ? de::lcm(m_offsetParams->nonCoherentAtomSize, memReqs.alignment) : memReqs.alignment); in allocate()
|
H A D | vkMemUtil.hpp | 146 const vk::VkDeviceSize nonCoherentAtomSize; member
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryMappingTests.cpp | 621 const VkDeviceSize nonCoherentAtomSize = context.getDeviceProperties().limits.nonCoherentAtomSize; 684 const VkDeviceSize atomSize = nonCoherentAtomSize; 1197 const VkDeviceSize nonCoherentAtomSize, 1202 , m_nonCoherentAtomSize (nonCoherentAtomSize) 1203 , m_minAtomSize (nonCoherentAtomSize) 1440 const VkDeviceSize nonCoherentAtomSize = context.getDeviceProperties().limits.nonCoherentAtomSize; 1458 const de::SharedPtr<MemoryHeap> heap (new MemoryHeap(heapInfo, memoryTypes[heapIndex], m_memoryLimits, nonCoherentAtomSize, m_totalMemTracker));
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/ |
H A D | vktDescriptorSetsIndexingTestsUtils.cpp | 590 const size_t nonCoherentAtomSize (static_cast<size_t>(ctx.getDeviceProperties().limits.nonCoherentAtomSize)); in createBufferAndBind() 591 const VkDeviceSize roundedSize (deAlignSize(static_cast<size_t>(desiredSize), nonCoherentAtomSize)); in createBufferAndBind()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/ |
H A D | vktDescriptorSetsIndexingTestsUtils.cpp | 590 const size_t nonCoherentAtomSize (static_cast<size_t>(ctx.getDeviceProperties().limits.nonCoherentAtomSize)); in createBufferAndBind() 591 const VkDeviceSize roundedSize (deAlignSize(static_cast<size_t>(desiredSize), nonCoherentAtomSize)); in createBufferAndBind()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryLayeredRenderingTests.cpp | 1229 VkDeviceSize nonCoherentAtomSize = vk::getPhysicalDeviceProperties(vki, physDevice).limits.nonCoherentAtomSize; 1230 VkDeviceSize alignmentSize = std::max<VkDeviceSize>(nonCoherentAtomSize, 4u); 1294 VkDeviceSize nonCoherentAtomSize = vk::getPhysicalDeviceProperties(vki, physDevice).limits.nonCoherentAtomSize; 1295 VkDeviceSize alignmentSize = std::max<VkDeviceSize>(nonCoherentAtomSize, 4u); 1577 VkDeviceSize nonCoherentAtomSize = vk::getPhysicalDeviceProperties(vki, physDevice).limits.nonCoherentAtomSize; 1578 VkDeviceSize alignmentSize = std::max<VkDeviceSize>(nonCoherentAtomSize, 4u);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryMappingTests.cpp | 666 const VkDeviceSize nonCoherentAtomSize = context.getDeviceProperties().limits.nonCoherentAtomSize; 729 const VkDeviceSize atomSize = nonCoherentAtomSize; 1246 const VkDeviceSize nonCoherentAtomSize, 1251 , m_nonCoherentAtomSize (nonCoherentAtomSize) 1252 , m_minAtomSize (nonCoherentAtomSize) 1496 const VkDeviceSize nonCoherentAtomSize = context.getDeviceProperties().limits.nonCoherentAtomSize; 1514 const de::SharedPtr<MemoryHeap> heap (new MemoryHeap(heapInfo, memoryTypes[heapIndex], m_memoryLimits, nonCoherentAtomSize, m_totalMemTracker));
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryLayeredRenderingTests.cpp | 1229 VkDeviceSize nonCoherentAtomSize = vk::getPhysicalDeviceProperties(vki, physDevice).limits.nonCoherentAtomSize; 1230 VkDeviceSize alignmentSize = std::max<VkDeviceSize>(nonCoherentAtomSize, 4u); 1294 VkDeviceSize nonCoherentAtomSize = vk::getPhysicalDeviceProperties(vki, physDevice).limits.nonCoherentAtomSize; 1295 VkDeviceSize alignmentSize = std::max<VkDeviceSize>(nonCoherentAtomSize, 4u); 1577 VkDeviceSize nonCoherentAtomSize = vk::getPhysicalDeviceProperties(vki, physDevice).limits.nonCoherentAtomSize; 1578 VkDeviceSize alignmentSize = std::max<VkDeviceSize>(nonCoherentAtomSize, 4u);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawIndexedTest.cpp | 216 const auto atomSize = m_context.getDeviceProperties().limits.nonCoherentAtomSize; in iterate() 363 const auto atomSize = m_context.getDeviceProperties().limits.nonCoherentAtomSize; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateComputeTests.cpp | 101 m_vertexBufferSize = de::roundUp(static_cast<VkDeviceSize>(m_dataSize), getPhysicalDeviceProperties(vki, phyDev).limits.nonCoherentAtomSize); in BindVertexBuffersData() 883 const auto bufferSize = de::roundUp(dataSize, getPhysicalDeviceProperties(vki, phyDev).limits.nonCoherentAtomSize); in iterateTransfer() 1014 const auto outputBufferSize = de::roundUp(static_cast<VkDeviceSize>(dataSize), getPhysicalDeviceProperties(vki, phyDev).limits.nonCoherentAtomSize); in iterateCompute()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateComputeTests.cpp | 99 m_vertexBufferSize = de::roundUp(static_cast<VkDeviceSize>(m_dataSize), getPhysicalDeviceProperties(vki, phyDev).limits.nonCoherentAtomSize); in BindVertexBuffersData() 868 const auto bufferSize = de::roundUp(dataSize, getPhysicalDeviceProperties(vki, phyDev).limits.nonCoherentAtomSize); in iterateTransfer() 999 const auto outputBufferSize = de::roundUp(static_cast<VkDeviceSize>(dataSize), getPhysicalDeviceProperties(vki, phyDev).limits.nonCoherentAtomSize); in iterateCompute()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/ |
H A D | vktMultiViewRenderTests.cpp | 676 const size_t nonCoherentAtomSize = static_cast<size_t>(m_context.getDeviceProperties().limits.nonCoherentAtomSize); in createVertexBuffer() local 681 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer() 695 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer() 710 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer() 2134 const size_t nonCoherentAtomSize = static_cast<size_t>(m_context.getDeviceProperties().limits.nonCoherentAtomSize); in draw() local 2187 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in draw()
|
/third_party/skia/third_party/vulkanmemoryallocator/include/ |
H A D | vk_mem_alloc.h | 442 `VkPhysicalDeviceLimits::nonCoherentAtomSize`. This is automatically ensured by the library. 445 `nonCoherentAtomSize` and two different allocations never share same "line" of this size. 1307 (considering required alignment, `bufferImageGranularity`, and `nonCoherentAtomSize`). 1415 like `bufferImageGranularity`, `nonCoherentAtomSize`, and especially different 3388 They are internally rounded down/up to multiply of `nonCoherentAtomSize`. 3415 They are internally rounded down/up to multiply of `nonCoherentAtomSize`. 7806 VMA_MAX((VkDeviceSize)VMA_DEBUG_ALIGNMENT, m_PhysicalDeviceProperties.limits.nonCoherentAtomSize) : 13410 const VkDeviceSize nonCoherentAtomSize = m_hAllocator->m_PhysicalDeviceProperties.limits.nonCoherentAtomSize; in ApplyDefragmentationMovesCpu() local 13427 memRange.offset = VmaAlignDown(move.srcOffset, nonCoherentAtomSize); in ApplyDefragmentationMovesCpu() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/ |
H A D | vktMultiViewRenderTests.cpp | 689 const size_t nonCoherentAtomSize = static_cast<size_t>(m_context.getDeviceProperties().limits.nonCoherentAtomSize); in createVertexBuffer() local 694 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer() 708 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer() 723 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in createVertexBuffer() 2159 const size_t nonCoherentAtomSize = static_cast<size_t>(m_context.getDeviceProperties().limits.nonCoherentAtomSize); in draw() local 2212 const VkDeviceSize bufferDataSize = static_cast<VkDeviceSize>(deAlignSize(dataSize, nonCoherentAtomSize)); in draw()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmCrossStageInterfaceTests.cpp | 202 static_cast<size_t>(m_context.getDeviceProperties().limits.nonCoherentAtomSize))); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmCrossStageInterfaceTests.cpp | 202 static_cast<size_t>(m_context.getDeviceProperties().limits.nonCoherentAtomSize))); in iterate()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_device.c | 770 .nonCoherentAtomSize = 64, in panvk_GetPhysicalDeviceProperties2()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiBufferMarkerTests.cpp | 149 const SimpleAllocator::OptionalOffsetParams offsetParams({ context.getDeviceProperties().limits.nonCoherentAtomSize, static_cast<VkDeviceSize>(offset) }); in createDeviceWithExtension()
|
H A D | vktApiFeatureInfo.cpp | 262 { LIMIT(nonCoherentAtomSize), 0, 0, 1, 0.0f, LIMIT_FORMAT_DEVICE_SIZE, LIMIT_TYPE_MIN, -1, true }, in validateFeatureLimits() 263 { LIMIT(nonCoherentAtomSize), 0, 0, 256, 0.0f, LIMIT_FORMAT_DEVICE_SIZE, LIMIT_TYPE_MAX, -1, true }, in validateFeatureLimits() 870 { PN(checkAlways), PN(limits.nonCoherentAtomSize), LIM_MIN_DEVSIZE(1) }, in validateLimits12() 871 { PN(checkAlways), PN(limits.nonCoherentAtomSize), LIM_MAX_DEVSIZE(256) }, in validateLimits12() 2860 OFFSET_TABLE_ENTRY(VkPhysicalDeviceProperties, limits.nonCoherentAtomSize),
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassTests.cpp | 1576 VkDeviceSize nonCoherentAtomSize) in uploadBufferData() 1578 // Expand the range to flush to account for the nonCoherentAtomSize in uploadBufferData() 1579 const VkDeviceSize roundedOffset = de::roundDown(memory.getOffset(), nonCoherentAtomSize); in uploadBufferData() 1580 const VkDeviceSize roundedSize = de::roundUp(memory.getOffset() - roundedOffset + static_cast<VkDeviceSize>(size), nonCoherentAtomSize); in uploadBufferData() 2379 // Round up the vertex buffer size to honor nonCoherentAtomSize. in SubpassRenderer() 2381 const auto vertexBufferSize = de::roundUp(static_cast<VkDeviceSize>(renderQuad.getVertexDataSize()), properties.limits.nonCoherentAtomSize); in SubpassRenderer() 2388 uploadBufferData(vk, device, *m_vertexBufferMemory, renderQuad.getVertexDataSize(), renderQuad.getVertexPointer(), properties.limits.nonCoherentAtomSize); in SubpassRenderer() 1571 uploadBufferData(const DeviceInterface& vk, VkDevice device, const Allocation& memory, size_t size, const void* data, VkDeviceSize nonCoherentAtomSize) uploadBufferData() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassTests.cpp | 1564 VkDeviceSize nonCoherentAtomSize) in uploadBufferData() 1566 // Expand the range to flush to account for the nonCoherentAtomSize in uploadBufferData() 1567 const VkDeviceSize roundedOffset = de::roundDown(memory.getOffset(), nonCoherentAtomSize); in uploadBufferData() 1568 const VkDeviceSize roundedSize = de::roundUp(memory.getOffset() - roundedOffset + static_cast<VkDeviceSize>(size), nonCoherentAtomSize); in uploadBufferData() 2365 // Round up the vertex buffer size to honor nonCoherentAtomSize. in SubpassRenderer() 2367 const auto vertexBufferSize = de::roundUp(static_cast<VkDeviceSize>(renderQuad.getVertexDataSize()), properties.limits.nonCoherentAtomSize); in SubpassRenderer() 2374 uploadBufferData(vk, device, *m_vertexBufferMemory, renderQuad.getVertexDataSize(), renderQuad.getVertexPointer(), properties.limits.nonCoherentAtomSize); in SubpassRenderer() 1559 uploadBufferData(const DeviceInterface& vk, VkDevice device, const Allocation& memory, size_t size, const void* data, VkDeviceSize nonCoherentAtomSize) uploadBufferData() argument
|
/third_party/mesa3d/src/vulkan/overlay-layer/ |
H A D | overlay.cpp | 1221 size_t vertex_size = ALIGN(draw_data->TotalVtxCount * sizeof(ImDrawVert), device_data->properties.limits.nonCoherentAtomSize); in render_swapchain_display() 1222 size_t index_size = ALIGN(draw_data->TotalIdxCount * sizeof(ImDrawIdx), device_data->properties.limits.nonCoherentAtomSize); in render_swapchain_display()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiFeatureInfo.cpp | 262 { LIMIT(nonCoherentAtomSize), 0, 0, 1, 0.0f, LIMIT_FORMAT_DEVICE_SIZE, LIMIT_TYPE_MIN, -1, true }, in validateFeatureLimits() 263 { LIMIT(nonCoherentAtomSize), 0, 0, 256, 0.0f, LIMIT_FORMAT_DEVICE_SIZE, LIMIT_TYPE_MAX, -1, true }, in validateFeatureLimits() 861 { PN(checkAlways), PN(limits.nonCoherentAtomSize), LIM_MIN_DEVSIZE(1) }, in validateLimits12() 862 { PN(checkAlways), PN(limits.nonCoherentAtomSize), LIM_MAX_DEVSIZE(256) }, in validateLimits12() 2885 OFFSET_TABLE_ENTRY(VkPhysicalDeviceProperties, limits.nonCoherentAtomSize),
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_device.c | 1001 .nonCoherentAtomSize = 1U, in pvr_GetPhysicalDeviceProperties2()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_device.c | 372 .nonCoherentAtomSize = 64, in lvp_physical_device_init()
|