| 1143 | return VK_SUCCESS; |
| 1144 | } |
| 1145 | static VKAPI_ATTR VkDeviceAddress VKAPI_CALL GetBufferDeviceAddress(VkDevice device, const VkBufferDeviceAddressInfo* pInfo) { |
| 1146 | VkDeviceAddress address = 0; |
| 1147 | auto d_iter = buffer_map.find(device); |
| 1148 | if (d_iter != buffer_map.end()) { |
| 1149 | auto iter = d_iter->second.find(pInfo->buffer); |
| 1150 | if (iter != d_iter->second.end()) { |
| 1151 | address = iter->second.address; |
| 1152 | } |
| 1153 | } |
| 1154 | return address; |
| 1155 | } |
| 1156 | static VKAPI_ATTR uint64_t VKAPI_CALL GetBufferOpaqueCaptureAddress(VkDevice device, const VkBufferDeviceAddressInfo* pInfo) { |
| 1157 | // Not a CREATE or DESTROY function |
| 1158 | return VK_SUCCESS; |
no outgoing calls
no test coverage detected