Searched refs:bufferIsSource (Results 1 – 2 of 2) sorted by relevance
548 void Image::copy(Buffer *buffer, const VkBufferImageCopy2KHR ®ion, bool bufferIsSource) in copy() argument582 uint8_t *srcMemory = bufferIsSource ? bufferMemory : imageMemory; in copy()583 uint8_t *dstMemory = bufferIsSource ? imageMemory : bufferMemory; in copy()587 int srcSlicePitchBytes = bufferIsSource ? bufferSlicePitchBytes : imageSlicePitchBytes; in copy()588 int dstSlicePitchBytes = bufferIsSource ? imageSlicePitchBytes : bufferSlicePitchBytes; in copy()589 int srcRowPitchBytes = bufferIsSource ? bufferRowPitchBytes : imageRowPitchBytes; in copy()590 int dstRowPitchBytes = bufferIsSource ? imageRowPitchBytes : bufferRowPitchBytes; in copy()623 VkDeviceSize srcLayerSize = bufferIsSource ? bufferSlicePitchBytes : imageLayerSize; in copy()624 VkDeviceSize dstLayerSize = bufferIsSource ? imageLayerSize : bufferSlicePitchBytes; in copy()630 ASSERT(((bufferIsSource ? dstMemory : srcMemory) + copySize) < end()); in copy()[all …]
122 void copy(Buffer *buffer, const VkBufferImageCopy2KHR ®ion, bool bufferIsSource);