Home
last modified time | relevance | path

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

/external/swiftshader/src/Vulkan/
DVkImage.cpp99 …const char* srcMem = static_cast<const char*>(getTexelPointer(pRegion.srcOffset, pRegion.srcSubres… in copyTo() local
128 memcpy(dstMem, srcMem, pRegion.extent.width * srcBytesPerTexel); in copyTo()
132 memcpy(dstMem, srcMem, pRegion.extent.height * srcRowPitchBytes); in copyTo()
136 memcpy(dstMem, srcMem, pRegion.extent.depth * srcSlicePitchBytes); in copyTo()
140 …for(uint32_t z = 0; z < pRegion.extent.depth; z++, dstMem += dstSlicePitchBytes, srcMem += srcSlic… in copyTo()
142 memcpy(dstMem, srcMem, pRegion.extent.height * srcRowPitchBytes); in copyTo()
149 …for(uint32_t y = 0; y < pRegion.extent.height; y++, dstMem += dstRowPitchBytes, srcMem += srcRowPi… in copyTo()
151 memcpy(dstMem, srcMem, pRegion.extent.width * srcBytesPerTexel); in copyTo()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp25917 VkDeviceMemory srcMem; in TEST_F() local
25964 err = vkAllocateMemory(m_device->device(), &memAlloc, NULL, &srcMem); in TEST_F()
25974 err = vkBindImageMemory(m_device->device(), srcImage, srcMem, 0); in TEST_F()
26033 vkFreeMemory(m_device->device(), srcMem, NULL); in TEST_F()
26049 vkFreeMemory(m_device->device(), srcMem, NULL); in TEST_F()
26447 VkDeviceMemory srcMem; in TEST_F() local
26492 err = vkAllocateMemory(m_device->device(), &memAlloc, NULL, &srcMem); in TEST_F()
26502 err = vkBindImageMemory(m_device->device(), srcImage, srcMem, 0); in TEST_F()
26536 vkFreeMemory(m_device->device(), srcMem, NULL); in TEST_F()
26552 VkDeviceMemory srcMem; in TEST_F() local
[all …]