Home
last modified time | relevance | path

Searched refs:alignmentMask (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.cpp82 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()
DPoolAlloc.h166 size_t alignmentMask; variable
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DPoolAlloc.cpp104 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()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DPoolAlloc.cpp104 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()
/external/skia/src/gpu/
DGrSPIRVUniformHandler.cpp188 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_offset() local
191 alignmentMask = 0xF; in get_ubo_offset()
193 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_offset()
195 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_offset()
/external/skqp/src/gpu/vk/
DGrVkUniformHandler.cpp183 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_aligned_offset() local
186 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()
DGrVkGpu.cpp652 const size_t alignmentMask = 0x3 | (bpp - 1); in uploadTexDataOptimal() local
659 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in uploadTexDataOptimal()
661 combinedBufferSize += alignmentMask - alignmentDiff + 1; in uploadTexDataOptimal()
1465 const size_t alignmentMask = 0x3 | (bpp - 1); in createTestingOnlyVkImage() local
1476 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in createTestingOnlyVkImage()
1478 combinedBufferSize += alignmentMask - alignmentDiff + 1; in createTestingOnlyVkImage()
/external/skia/src/gpu/vk/
DGrVkUniformHandler.cpp195 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_aligned_offset() local
198 alignmentMask = 0xF; in get_aligned_offset()
200 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_aligned_offset()
202 offsetDiff = alignmentMask - offsetDiff + 1; in get_aligned_offset()
/external/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm193 uint32_t alignmentMask = grsltype_to_alignment_mask(type);
194 if (alignmentMask > *maxAlignment) {
195 *maxAlignment = alignmentMask;
197 uint32_t offsetDiff = *currentOffset & alignmentMask;
199 offsetDiff = alignmentMask - offsetDiff + 1;
DGrMtlGpu.mm469 const size_t alignmentMask = 0x3 | (bpp - 1);
473 const size_t alignmentDiff = combinedBufferSize & alignmentMask;
475 combinedBufferSize += alignmentMask - alignmentDiff + 1;
/external/skqp/src/gpu/mtl/
DGrMtlUniformHandler.mm179 uint32_t alignmentMask = grsltype_to_alignment_mask(type);
180 uint32_t offsetDiff = *currentOffset & alignmentMask;
182 offsetDiff = alignmentMask - offsetDiff + 1;
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DPoolAlloc.h232 size_t alignmentMask; in initializeAllocation() variable
/external/deqp-deps/glslang/glslang/Include/
DPoolAlloc.h232 size_t alignmentMask; in initializeAllocation() variable