Home
last modified time | relevance | path

Searched refs:minAlignment (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/gpu/graphite/
DResourceProvider.cpp200 size_t minAlignment = 1; in findOrCreateBuffer() local
203 minAlignment = std::max(fSharedContext->caps()->requiredStorageBufferAlignment(), in findOrCreateBuffer()
204 minAlignment); in findOrCreateBuffer()
206 minAlignment = std::max(fSharedContext->caps()->requiredUniformBufferAlignment(), in findOrCreateBuffer()
207 minAlignment); in findOrCreateBuffer()
209 minAlignment = std::max(fSharedContext->caps()->requiredTransferBufferAlignment(), in findOrCreateBuffer()
210 minAlignment); in findOrCreateBuffer()
212 SkASSERT(size % minAlignment == 0); in findOrCreateBuffer()
DUploadTask.cpp123 auto [combinedBufferSize, minAlignment] = compute_combined_buffer_size( in Make()
128 auto [writer, bufferInfo] = bufferMgr->getUploadWriter(combinedBufferSize, minAlignment); in Make()
/external/skia/src/text/gpu/
DSubRunAllocator.h55 const int minAlignment = std::min(maxAlignment, assumedAlignment); in MinimumSizeWithOverhead() local
74 int minimumSize = SkToInt(AlignUp(requestedSize, minAlignment)) in MinimumSizeWithOverhead()
76 + maxAlignment - minAlignment; in MinimumSizeWithOverhead()
/external/flatbuffers/swift/Sources/FlatBuffers/
DFlatBufferBuilder.swift328 mutating internal func minAlignment(size: Int) { in minAlignment() function
354 minAlignment(size: alignment) in preAlign()
/external/angle/third_party/vulkan_memory_allocator/include/
Dvk_mem_alloc.h2114 VkDeviceSize minAlignment,
8847 VkDeviceSize minAlignment = VK_WHOLE_SIZE; in IsBufferImageGranularityConflictPossible() local
8855 minAlignment = VMA_MIN(minAlignment, alloc->GetAlignment()); in IsBufferImageGranularityConflictPossible()
8864 return typeConflictFound || minAlignment >= bufferImageGranularity; in IsBufferImageGranularityConflictPossible()
18134 VkDeviceSize minAlignment, in vmaCreateBufferWithAlignment() argument
18139 …VMA_ASSERT(allocator && pBufferCreateInfo && pAllocationCreateInfo && VmaIsPow2(minAlignment) && p… in vmaCreateBufferWithAlignment()
18175 vkMemReq.alignment = VMA_MAX(vkMemReq.alignment, minAlignment); in vmaCreateBufferWithAlignment()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp81 …const auto minAlignment = getPhysicalDeviceProperties(vki, physicalDevice).limits.minStorageBuffer… in calcItemSize() local
82 const auto lcm = de::lcm(de::max(VkDeviceSize{1}, minAlignment), kSizeofVec4); in calcItemSize()
/external/vulkan-validation-layers/layers/
Dvk_mem_alloc.h8721 VkDeviceSize minAlignment = VK_WHOLE_SIZE; in IsBufferImageGranularityConflictPossible() local
8730 minAlignment = VMA_MIN(minAlignment, it->hAllocation->GetAlignment()); in IsBufferImageGranularityConflictPossible()
8739 return typeConflictFound || minAlignment >= bufferImageGranularity; in IsBufferImageGranularityConflictPossible()
/external/skia/vma_android/include/
Dvk_mem_alloc.h2324 VkDeviceSize minAlignment,
17113 VkDeviceSize minAlignment, in vmaCreateBufferWithAlignment() argument
17118 …VMA_ASSERT(allocator && pBufferCreateInfo && pAllocationCreateInfo && VmaIsPow2(minAlignment) && p… in vmaCreateBufferWithAlignment()
17154 vkMemReq.alignment = VMA_MAX(vkMemReq.alignment, minAlignment); in vmaCreateBufferWithAlignment()
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp1409 size_t minAlignment = static_cast<size_t>( in initialize() local
1411 mDefaultUniformStorage.init(mRenderer, VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, minAlignment, in initialize()