Searched refs:offsetDiff (Results 1 – 8 of 8) sorted by relevance
170 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_offset() local171 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()
173 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_aligned_offset() local174 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()
142 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange() local143 offset = offset - offsetDiff; in GetNonCoherentMappedMemoryRange()
447 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset() local448 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()
165 uint32_t offsetDiff = *currentOffset & alignmentMask;166 if (offsetDiff != 0) {167 offsetDiff = alignmentMask - offsetDiff + 1;169 uint32_t uniformOffset = *currentOffset + offsetDiff;
393 uint32_t offsetDiff = offset & maxAlignment;394 if (offsetDiff != 0) {395 offsetDiff = maxAlignment - offsetDiff + 1;397 return offset + offsetDiff;
800 VkDeviceSize offsetDiff = offset - alignedOffset; in WriteBufferDescriptorSetBinding() local803 size += offsetDiff; in WriteBufferDescriptorSetBinding()
4957 uint32_t offsetDiff = 0; in writeAtomicCounterBufferDriverUniformOffsets() local4968 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()