Home
last modified time | relevance | path

Searched refs:offsetDiff (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/src/gpu/
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/src/gpu/vk/
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()
DGrVkMemory.cpp142 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange() local
143 offset = offset - offsetDiff; in GetNonCoherentMappedMemoryRange()
/third_party/skia/experimental/graphite/src/
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/src/gpu/mtl/
DGrMtlUniformHandler.mm165 uint32_t offsetDiff = *currentOffset & alignmentMask;
166 if (offsetDiff != 0) {
167 offsetDiff = alignmentMask - offsetDiff + 1;
169 uint32_t uniformOffset = *currentOffset + offsetDiff;
DGrMtlPipelineStateBuilder.mm393 uint32_t offsetDiff = offset & maxAlignment;
394 if (offsetDiff != 0) {
395 offsetDiff = maxAlignment - offsetDiff + 1;
397 return offset + offsetDiff;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp800 VkDeviceSize offsetDiff = offset - alignedOffset; in WriteBufferDescriptorSetBinding() local
803 size += offsetDiff; in WriteBufferDescriptorSetBinding()
DContextVk.cpp4957 uint32_t offsetDiff = 0; in writeAtomicCounterBufferDriverUniformOffsets() local
4968 offsetDiff = static_cast<uint32_t>((offset - alignedOffset) / sizeof(uint32_t)); in writeAtomicCounterBufferDriverUniformOffsets()
4973 ASSERT(offsetDiff < (1 << 8)); in writeAtomicCounterBufferDriverUniformOffsets()
4979 offsetsOut[bufferIndex / 4] |= static_cast<uint8_t>(offsetDiff) << ((bufferIndex % 4) * 8); in writeAtomicCounterBufferDriverUniformOffsets()