Home
last modified time | relevance | path

Searched refs:offsetDiff (Results 1 - 6 of 6) sorted by relevance

/third_party/skia/src/gpu/vk/
H A DGrVkUniformHandler.cpp173 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_aligned_offset() local
174 if (offsetDiff != 0) { in get_aligned_offset()
175 offsetDiff = alignmentMask - offsetDiff + 1; in get_aligned_offset()
177 int32_t uniformOffset = *currentOffset + offsetDiff; in get_aligned_offset()
H A DGrVkMemory.cpp272 VkDeviceSize offsetDiff = offset & (alignment -1); local
273 offset = offset - offsetDiff;
/third_party/skia/src/gpu/
H A DGrSPIRVUniformHandler.cpp170 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_offset() local
171 if (offsetDiff != 0) { in get_ubo_offset()
172 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_offset()
174 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_offset()
/third_party/skia/experimental/graphite/src/
H A DUniformManager.cpp447 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset() local
448 if (offsetDiff != 0) { in get_ubo_aligned_offset()
449 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset()
451 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DProgramExecutableVk.cpp800 VkDeviceSize offsetDiff = offset - alignedOffset; in WriteBufferDescriptorSetBinding() local
803 size += offsetDiff; in WriteBufferDescriptorSetBinding()
H A DContextVk.cpp4957 uint32_t offsetDiff = 0; in writeAtomicCounterBufferDriverUniformOffsets() local
4968 offsetDiff = static_cast<uint32_t>((offset - alignedOffset) / sizeof(uint32_t)); in writeAtomicCounterBufferDriverUniformOffsets()
4970 // We expect offsetDiff to fit in an 8-bit value. The maximum difference is in writeAtomicCounterBufferDriverUniformOffsets()
4973 ASSERT(offsetDiff < (1 << 8)); in writeAtomicCounterBufferDriverUniformOffsets()
4979 offsetsOut[bufferIndex / 4] |= static_cast<uint8_t>(offsetDiff) << ((bufferIndex % 4) * 8); in writeAtomicCounterBufferDriverUniformOffsets()

Completed in 15 milliseconds