Searched refs:offsetDiff (Results 1 – 10 of 10) sorted by relevance
193 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_offset() local194 if (offsetDiff != 0) { in get_ubo_offset()195 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_offset()197 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_offset()
188 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset() local189 if (offsetDiff != 0) { in get_ubo_aligned_offset()190 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset()192 *uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset()
171 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange() local172 offset = offset - offsetDiff; in GetNonCoherentMappedMemoryRange()
200 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_aligned_offset() local201 if (offsetDiff != 0) { in get_aligned_offset()202 offsetDiff = alignmentMask - offsetDiff + 1; in get_aligned_offset()204 int32_t uniformOffset = *currentOffset + offsetDiff; in get_aligned_offset()
133 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange() local134 offset = offset - offsetDiff; in GetNonCoherentMappedMemoryRange()
197 uint32_t offsetDiff = *currentOffset & alignmentMask;198 if (offsetDiff != 0) {199 offsetDiff = alignmentMask - offsetDiff + 1;201 uint32_t uniformOffset = *currentOffset + offsetDiff;
393 uint32_t offsetDiff = offset & maxAlignment;394 if (offsetDiff != 0) {395 offsetDiff = maxAlignment - offsetDiff + 1;397 return offset + offsetDiff;
180 uint32_t offsetDiff = *currentOffset & alignmentMask;181 if (offsetDiff != 0) {182 offsetDiff = alignmentMask - offsetDiff + 1;184 *uniformOffset = *currentOffset + offsetDiff;
775 VkDeviceSize offsetDiff = offset - alignedOffset; in WriteBufferDescriptorSetBinding() local778 size += offsetDiff; in WriteBufferDescriptorSetBinding()
4667 uint32_t offsetDiff = 0; in writeAtomicCounterBufferDriverUniformOffsets() local4678 offsetDiff = static_cast<uint32_t>((offset - alignedOffset) / sizeof(uint32_t)); in writeAtomicCounterBufferDriverUniformOffsets()4683 ASSERT(offsetDiff < (1 << 8)); in writeAtomicCounterBufferDriverUniformOffsets()4689 offsetsOut[bufferIndex / 4] |= static_cast<uint8_t>(offsetDiff) << ((bufferIndex % 4) * 8); in writeAtomicCounterBufferDriverUniformOffsets()