Home
last modified time | relevance | path

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

/external/swiftshader/src/Vulkan/
DVkImage.cpp518 void Image::copy(Buffer *buffer, const VkBufferImageCopy &region, bool bufferIsSource) in copy() argument
552 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 …]
DVkImage.hpp122 void copy(Buffer *buffer, const VkBufferImageCopy &region, bool bufferIsSource);