Searched refs:bufferIsSource (Results 1 – 2 of 2) sorted by relevance
518 void Image::copy(Buffer *buffer, const VkBufferImageCopy ®ion, bool bufferIsSource) in copy() argument552 uint8_t *srcMemory = bufferIsSource ? bufferMemory : imageMemory; in copy()553 uint8_t *dstMemory = bufferIsSource ? imageMemory : bufferMemory; in copy()557 int srcSlicePitchBytes = bufferIsSource ? bufferSlicePitchBytes : imageSlicePitchBytes; in copy()558 int dstSlicePitchBytes = bufferIsSource ? imageSlicePitchBytes : bufferSlicePitchBytes; in copy()559 int srcRowPitchBytes = bufferIsSource ? bufferRowPitchBytes : imageRowPitchBytes; in copy()560 int dstRowPitchBytes = bufferIsSource ? imageRowPitchBytes : bufferRowPitchBytes; in copy()593 VkDeviceSize srcLayerSize = bufferIsSource ? bufferSlicePitchBytes : imageLayerSize; in copy()594 VkDeviceSize dstLayerSize = bufferIsSource ? imageLayerSize : bufferSlicePitchBytes; in copy()600 ASSERT(((bufferIsSource ? dstMemory : srcMemory) + copySize) < end()); in copy()[all …]
122 void copy(Buffer *buffer, const VkBufferImageCopy ®ion, bool bufferIsSource);