Searched refs:alignmentMask (Results 1 – 11 of 11) sorted by relevance
82 alignmentMask = a - 1; in TPoolAllocator()103 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()269 currentPageOffset = (currentPageOffset + alignmentMask) & ~alignmentMask; in allocate()316 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()320 void *alloc = malloc(numBytes + alignmentMask); in allocate()324 intAlloc = (intAlloc + alignmentMask) & ~alignmentMask; in allocate()
166 size_t alignmentMask; variable
104 alignmentMask = a - 1; in TPoolAllocator()111 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()258 currentPageOffset = (currentPageOffset + alignmentMask) & ~alignmentMask; in allocate()301 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
183 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_aligned_offset() local186 alignmentMask = 0xF; in get_ubo_aligned_offset()188 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset()190 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset()
652 const size_t alignmentMask = 0x3 | (bpp - 1); in uploadTexDataOptimal() local659 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in uploadTexDataOptimal()661 combinedBufferSize += alignmentMask - alignmentDiff + 1; in uploadTexDataOptimal()1457 const size_t alignmentMask = 0x3 | (bpp - 1); in createTestingOnlyVkImage() local1468 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in createTestingOnlyVkImage()1470 combinedBufferSize += alignmentMask - alignmentDiff + 1; in createTestingOnlyVkImage()
654 const size_t alignmentMask = 0x3 | (bpp - 1); in uploadTexDataOptimal() local661 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in uploadTexDataOptimal()663 combinedBufferSize += alignmentMask - alignmentDiff + 1; in uploadTexDataOptimal()1469 const size_t alignmentMask = 0x3 | (bpp - 1); in createTestingOnlyVkImage() local1480 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in createTestingOnlyVkImage()1482 combinedBufferSize += alignmentMask - alignmentDiff + 1; in createTestingOnlyVkImage()
180 uint32_t alignmentMask = grsltype_to_alignment_mask(type);181 if (alignmentMask > *maxAlignment) {182 *maxAlignment = alignmentMask;184 uint32_t offsetDiff = *currentOffset & alignmentMask;186 offsetDiff = alignmentMask - offsetDiff + 1;
197 const size_t alignmentMask = 0x3 | (bpp - 1);204 const size_t alignmentDiff = combinedBufferSize & alignmentMask;206 combinedBufferSize += alignmentMask - alignmentDiff + 1;
179 uint32_t alignmentMask = grsltype_to_alignment_mask(type);180 uint32_t offsetDiff = *currentOffset & alignmentMask;182 offsetDiff = alignmentMask - offsetDiff + 1;
232 size_t alignmentMask; in initializeAllocation() variable