Home
last modified time | relevance | path

Searched refs:bufferIsSource (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/Vulkan/
DVkImage.cpp585 void Image::copy(Buffer *buffer, const VkBufferImageCopy2KHR &region, bool bufferIsSource) in copy() argument
619 uint8_t *srcMemory = bufferIsSource ? bufferMemory : imageMemory; in copy()
620 uint8_t *dstMemory = bufferIsSource ? imageMemory : bufferMemory; in copy()
624 int srcSlicePitchBytes = bufferIsSource ? bufferSlicePitchBytes : imageSlicePitchBytes; in copy()
625 int dstSlicePitchBytes = bufferIsSource ? imageSlicePitchBytes : bufferSlicePitchBytes; in copy()
626 int srcRowPitchBytes = bufferIsSource ? bufferRowPitchBytes : imageRowPitchBytes; in copy()
627 int dstRowPitchBytes = bufferIsSource ? imageRowPitchBytes : bufferRowPitchBytes; in copy()
632 VkDeviceSize srcLayerSize = bufferIsSource ? bufferSlicePitchBytes : imageLayerSize; in copy()
633 VkDeviceSize dstLayerSize = bufferIsSource ? imageLayerSize : bufferSlicePitchBytes; in copy()
645 ASSERT(((bufferIsSource ? dstSliceMemory : srcSliceMemory) + copySize) < end()); in copy()
[all …]
DVkImage.hpp123 void copy(Buffer *buffer, const VkBufferImageCopy2KHR &region, bool bufferIsSource);