Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 1 | #include <hardware/hwvulkan.h> |
| 2 | |
| 3 | #include <string.h> |
| 4 | #include <algorithm> |
| 5 | |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 6 | // #define LOG_NDEBUG 0 |
| 7 | #include <log/log.h> |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 8 | #include <utils/Errors.h> |
| 9 | |
| 10 | #include "null_driver.h" |
| 11 | |
| 12 | using namespace null_driver; |
| 13 | |
| 14 | struct VkPhysicalDevice_T { |
| 15 | hwvulkan_dispatch_t dispatch; |
| 16 | }; |
| 17 | |
| 18 | struct VkInstance_T { |
| 19 | hwvulkan_dispatch_t dispatch; |
| 20 | const VkAllocCallbacks* alloc; |
| 21 | VkPhysicalDevice_T physical_device; |
| 22 | }; |
| 23 | |
| 24 | struct VkQueue_T { |
| 25 | hwvulkan_dispatch_t dispatch; |
| 26 | }; |
| 27 | |
| 28 | struct VkCmdBuffer_T { |
| 29 | hwvulkan_dispatch_t dispatch; |
| 30 | }; |
| 31 | |
| 32 | struct VkDevice_T { |
| 33 | hwvulkan_dispatch_t dispatch; |
| 34 | VkInstance_T* instance; |
| 35 | VkQueue_T queue; |
| 36 | }; |
| 37 | |
| 38 | // ----------------------------------------------------------------------------- |
| 39 | // Declare HAL_MODULE_INFO_SYM early so it can be referenced by nulldrv_device |
| 40 | // later. |
| 41 | |
| 42 | namespace { |
| 43 | int OpenDevice(const hw_module_t* module, const char* id, hw_device_t** device); |
| 44 | hw_module_methods_t nulldrv_module_methods = {.open = OpenDevice}; |
| 45 | } // namespace |
| 46 | |
| 47 | #pragma clang diagnostic push |
| 48 | #pragma clang diagnostic ignored "-Wmissing-variable-declarations" |
| 49 | __attribute__((visibility("default"))) hwvulkan_module_t HAL_MODULE_INFO_SYM = { |
| 50 | .common = |
| 51 | { |
| 52 | .tag = HARDWARE_MODULE_TAG, |
| 53 | .module_api_version = HWVULKAN_MODULE_API_VERSION_0_1, |
| 54 | .hal_api_version = HARDWARE_HAL_API_VERSION, |
| 55 | .id = HWVULKAN_HARDWARE_MODULE_ID, |
| 56 | .name = "Null Vulkan Driver", |
| 57 | .author = "The Android Open Source Project", |
| 58 | .methods = &nulldrv_module_methods, |
| 59 | }, |
| 60 | }; |
| 61 | #pragma clang diagnostic pop |
| 62 | |
| 63 | // ----------------------------------------------------------------------------- |
| 64 | |
| 65 | namespace { |
| 66 | |
| 67 | VkResult CreateInstance(const VkInstanceCreateInfo* create_info, |
| 68 | VkInstance* out_instance) { |
| 69 | VkInstance_T* instance = |
| 70 | static_cast<VkInstance_T*>(create_info->pAllocCb->pfnAlloc( |
| 71 | create_info->pAllocCb->pUserData, sizeof(VkInstance_T), |
| 72 | alignof(VkInstance_T), VK_SYSTEM_ALLOC_TYPE_API_OBJECT)); |
| 73 | if (!instance) |
| 74 | return VK_ERROR_OUT_OF_HOST_MEMORY; |
| 75 | |
| 76 | instance->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; |
| 77 | instance->alloc = create_info->pAllocCb; |
| 78 | instance->physical_device.dispatch.magic = HWVULKAN_DISPATCH_MAGIC; |
| 79 | |
| 80 | *out_instance = instance; |
| 81 | return VK_SUCCESS; |
| 82 | } |
| 83 | |
| 84 | int CloseDevice(struct hw_device_t* /*device*/) { |
| 85 | // nothing to do - opening a device doesn't allocate any resources |
| 86 | return 0; |
| 87 | } |
| 88 | |
| 89 | hwvulkan_device_t nulldrv_device = { |
| 90 | .common = |
| 91 | { |
| 92 | .tag = HARDWARE_DEVICE_TAG, |
| 93 | .version = HWVULKAN_DEVICE_API_VERSION_0_1, |
| 94 | .module = &HAL_MODULE_INFO_SYM.common, |
| 95 | .close = CloseDevice, |
| 96 | }, |
| 97 | .GetGlobalExtensionProperties = GetGlobalExtensionProperties, |
| 98 | .CreateInstance = CreateInstance, |
| 99 | .GetInstanceProcAddr = GetInstanceProcAddr}; |
| 100 | |
| 101 | int OpenDevice(const hw_module_t* /*module*/, |
| 102 | const char* id, |
| 103 | hw_device_t** device) { |
| 104 | if (strcmp(id, HWVULKAN_DEVICE_0) == 0) { |
| 105 | *device = &nulldrv_device.common; |
| 106 | return 0; |
| 107 | } |
| 108 | return -ENOENT; |
| 109 | } |
| 110 | |
| 111 | VkInstance_T* GetInstanceFromPhysicalDevice( |
| 112 | VkPhysicalDevice_T* physical_device) { |
| 113 | return reinterpret_cast<VkInstance_T*>( |
| 114 | reinterpret_cast<uintptr_t>(physical_device) - |
| 115 | offsetof(VkInstance_T, physical_device)); |
| 116 | } |
| 117 | |
| 118 | } // namespace |
| 119 | |
| 120 | namespace null_driver { |
| 121 | |
Jesse Hall | f657874 | 2015-08-29 17:06:12 +0100 | [diff] [blame] | 122 | template <typename HandleT> |
| 123 | struct HandleTraits {}; |
| 124 | |
| 125 | template <typename HandleT> |
| 126 | typename HandleTraits<HandleT>::PointerType GetObjectFromHandle( |
| 127 | const HandleT& h) { |
| 128 | return reinterpret_cast<typename HandleTraits<HandleT>::PointerType>( |
| 129 | uintptr_t(h.handle)); |
| 130 | } |
| 131 | |
| 132 | template <typename T> |
| 133 | typename T::HandleType GetHandleToObject(const T* obj) { |
| 134 | return typename T::HandleType(reinterpret_cast<uintptr_t>(obj)); |
| 135 | } |
| 136 | |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 137 | // ----------------------------------------------------------------------------- |
| 138 | // Global |
| 139 | |
| 140 | VkResult GetGlobalExtensionProperties(const char*, |
| 141 | uint32_t* count, |
| 142 | VkExtensionProperties*) { |
| 143 | *count = 0; |
| 144 | return VK_SUCCESS; |
| 145 | } |
| 146 | |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 147 | PFN_vkVoidFunction GetInstanceProcAddr(VkInstance, const char* name) { |
| 148 | PFN_vkVoidFunction proc = LookupInstanceProcAddr(name); |
| 149 | if (!proc && strcmp(name, "vkGetDeviceProcAddr") == 0) |
| 150 | proc = reinterpret_cast<PFN_vkVoidFunction>(GetDeviceProcAddr); |
| 151 | return proc; |
| 152 | } |
| 153 | |
| 154 | PFN_vkVoidFunction GetDeviceProcAddr(VkDevice, const char* name) { |
| 155 | return LookupDeviceProcAddr(name); |
| 156 | } |
| 157 | |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 158 | // ----------------------------------------------------------------------------- |
| 159 | // Instance |
| 160 | |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 161 | VkResult DestroyInstance(VkInstance instance) { |
| 162 | instance->alloc->pfnFree(instance->alloc->pUserData, instance); |
| 163 | return VK_SUCCESS; |
| 164 | } |
| 165 | |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 166 | // ----------------------------------------------------------------------------- |
| 167 | // PhysicalDevice |
| 168 | |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 169 | VkResult EnumeratePhysicalDevices(VkInstance instance, |
| 170 | uint32_t* physical_device_count, |
| 171 | VkPhysicalDevice* physical_devices) { |
| 172 | if (physical_devices && *physical_device_count >= 1) |
| 173 | physical_devices[0] = &instance->physical_device; |
| 174 | *physical_device_count = 1; |
| 175 | return VK_SUCCESS; |
| 176 | } |
| 177 | |
| 178 | VkResult GetPhysicalDeviceProperties(VkPhysicalDevice, |
| 179 | VkPhysicalDeviceProperties* properties) { |
| 180 | properties->apiVersion = VK_API_VERSION; |
| 181 | properties->driverVersion = VK_MAKE_VERSION(0, 0, 1); |
| 182 | properties->vendorId = 0xC0DE; |
| 183 | properties->deviceId = 0xCAFE; |
| 184 | properties->deviceType = VK_PHYSICAL_DEVICE_TYPE_OTHER; |
| 185 | strcpy(properties->deviceName, "Android Vulkan Null Driver"); |
| 186 | memset(properties->pipelineCacheUUID, 0, |
| 187 | sizeof(properties->pipelineCacheUUID)); |
| 188 | return VK_SUCCESS; |
| 189 | } |
| 190 | |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 191 | VkResult GetPhysicalDeviceMemoryProperties( |
| 192 | VkPhysicalDevice, |
| 193 | VkPhysicalDeviceMemoryProperties* properties) { |
| 194 | properties->memoryTypeCount = 1; |
| 195 | properties->memoryTypes[0].propertyFlags = |
| 196 | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT; |
| 197 | properties->memoryTypes[0].heapIndex = 0; |
| 198 | properties->memoryHeapCount = 1; |
| 199 | properties->memoryHeaps[0].size = |
| 200 | INTPTR_MAX; // TODO: do something smarter? |
| 201 | properties->memoryHeaps[0].flags = VK_MEMORY_HEAP_HOST_LOCAL; |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 202 | return VK_SUCCESS; |
| 203 | } |
| 204 | |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 205 | // ----------------------------------------------------------------------------- |
| 206 | // Device |
| 207 | |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 208 | VkResult CreateDevice(VkPhysicalDevice physical_device, |
| 209 | const VkDeviceCreateInfo*, |
| 210 | VkDevice* out_device) { |
| 211 | VkInstance_T* instance = GetInstanceFromPhysicalDevice(physical_device); |
| 212 | VkDevice_T* device = static_cast<VkDevice_T*>(instance->alloc->pfnAlloc( |
| 213 | instance->alloc->pUserData, sizeof(VkDevice_T), alignof(VkDevice_T), |
| 214 | VK_SYSTEM_ALLOC_TYPE_API_OBJECT)); |
| 215 | if (!device) |
| 216 | return VK_ERROR_OUT_OF_HOST_MEMORY; |
| 217 | |
| 218 | device->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; |
| 219 | device->instance = instance; |
| 220 | device->queue.dispatch.magic = HWVULKAN_DISPATCH_MAGIC; |
| 221 | |
| 222 | *out_device = device; |
| 223 | return VK_SUCCESS; |
| 224 | } |
| 225 | |
| 226 | VkResult DestroyDevice(VkDevice device) { |
| 227 | if (!device) |
| 228 | return VK_SUCCESS; |
| 229 | const VkAllocCallbacks* alloc = device->instance->alloc; |
| 230 | alloc->pfnFree(alloc->pUserData, device); |
| 231 | return VK_SUCCESS; |
| 232 | } |
| 233 | |
| 234 | VkResult GetDeviceQueue(VkDevice device, uint32_t, uint32_t, VkQueue* queue) { |
| 235 | *queue = &device->queue; |
| 236 | return VK_SUCCESS; |
| 237 | } |
| 238 | |
| 239 | // ----------------------------------------------------------------------------- |
Jesse Hall | 2077ce0 | 2015-08-29 18:10:59 +0100 | [diff] [blame^] | 240 | // DeviceMemory |
| 241 | |
| 242 | struct DeviceMemory { |
| 243 | typedef VkDeviceMemory HandleType; |
| 244 | VkDeviceSize size; |
| 245 | alignas(16) uint8_t data[0]; |
| 246 | }; |
| 247 | template <> |
| 248 | struct HandleTraits<VkDeviceMemory> { |
| 249 | typedef DeviceMemory* PointerType; |
| 250 | }; |
| 251 | |
| 252 | VkResult AllocMemory(VkDevice device, |
| 253 | const VkMemoryAllocInfo* alloc_info, |
| 254 | VkDeviceMemory* mem_handle) { |
| 255 | if (SIZE_MAX - sizeof(DeviceMemory) <= alloc_info->allocationSize) |
| 256 | return VK_ERROR_OUT_OF_HOST_MEMORY; |
| 257 | |
| 258 | const VkAllocCallbacks* alloc = device->instance->alloc; |
| 259 | size_t size = sizeof(DeviceMemory) + size_t(alloc_info->allocationSize); |
| 260 | DeviceMemory* mem = static_cast<DeviceMemory*>( |
| 261 | alloc->pfnAlloc(alloc->pUserData, size, alignof(DeviceMemory), |
| 262 | VK_SYSTEM_ALLOC_TYPE_API_OBJECT)); |
| 263 | if (!mem) |
| 264 | return VK_ERROR_OUT_OF_HOST_MEMORY; |
| 265 | mem->size = size; |
| 266 | *mem_handle = GetHandleToObject(mem); |
| 267 | return VK_SUCCESS; |
| 268 | } |
| 269 | |
| 270 | VkResult FreeMemory(VkDevice device, VkDeviceMemory mem_handle) { |
| 271 | const VkAllocCallbacks* alloc = device->instance->alloc; |
| 272 | DeviceMemory* mem = GetObjectFromHandle(mem_handle); |
| 273 | alloc->pfnFree(alloc->pUserData, mem); |
| 274 | return VK_SUCCESS; |
| 275 | } |
| 276 | |
| 277 | VkResult MapMemory(VkDevice, |
| 278 | VkDeviceMemory mem_handle, |
| 279 | VkDeviceSize offset, |
| 280 | VkDeviceSize, |
| 281 | VkMemoryMapFlags, |
| 282 | void** out_ptr) { |
| 283 | DeviceMemory* mem = GetObjectFromHandle(mem_handle); |
| 284 | *out_ptr = &mem->data[0] + offset; |
| 285 | return VK_SUCCESS; |
| 286 | } |
| 287 | |
| 288 | // ----------------------------------------------------------------------------- |
Jesse Hall | f657874 | 2015-08-29 17:06:12 +0100 | [diff] [blame] | 289 | // Buffer |
| 290 | |
| 291 | struct Buffer { |
| 292 | typedef VkBuffer HandleType; |
| 293 | VkDeviceSize size; |
| 294 | }; |
| 295 | template <> |
| 296 | struct HandleTraits<VkBuffer> { |
| 297 | typedef Buffer* PointerType; |
| 298 | }; |
| 299 | |
| 300 | VkResult CreateBuffer(VkDevice device, |
| 301 | const VkBufferCreateInfo* create_info, |
| 302 | VkBuffer* buffer_handle) { |
| 303 | const VkAllocCallbacks* alloc = device->instance->alloc; |
| 304 | Buffer* buffer = static_cast<Buffer*>( |
| 305 | alloc->pfnAlloc(alloc->pUserData, sizeof(Buffer), alignof(Buffer), |
| 306 | VK_SYSTEM_ALLOC_TYPE_API_OBJECT)); |
| 307 | if (!buffer) |
| 308 | return VK_ERROR_OUT_OF_HOST_MEMORY; |
| 309 | buffer->size = create_info->size; |
| 310 | *buffer_handle = GetHandleToObject(buffer); |
| 311 | return VK_SUCCESS; |
| 312 | } |
| 313 | |
| 314 | VkResult GetBufferMemoryRequirements(VkDevice, |
| 315 | VkBuffer buffer_handle, |
| 316 | VkMemoryRequirements* requirements) { |
| 317 | Buffer* buffer = GetObjectFromHandle(buffer_handle); |
| 318 | requirements->size = buffer->size; |
| 319 | requirements->alignment = 16; // allow fast Neon/SSE memcpy |
| 320 | requirements->memoryTypeBits = 0x1; |
| 321 | return VK_SUCCESS; |
| 322 | } |
| 323 | |
| 324 | VkResult DestroyBuffer(VkDevice device, VkBuffer buffer_handle) { |
| 325 | const VkAllocCallbacks* alloc = device->instance->alloc; |
| 326 | Buffer* buffer = GetObjectFromHandle(buffer_handle); |
| 327 | alloc->pfnFree(alloc->pUserData, buffer); |
| 328 | return VK_SUCCESS; |
| 329 | } |
| 330 | |
| 331 | // ----------------------------------------------------------------------------- |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 332 | // No-op entrypoints |
| 333 | |
| 334 | // clang-format off |
| 335 | #pragma clang diagnostic push |
| 336 | #pragma clang diagnostic ignored "-Wunused-parameter" |
| 337 | |
| 338 | VkResult GetPhysicalDeviceQueueCount(VkPhysicalDevice physicalDevice, uint32_t* pCount) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 339 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 340 | return VK_SUCCESS; |
| 341 | } |
| 342 | |
| 343 | VkResult GetPhysicalDeviceQueueProperties(VkPhysicalDevice physicalDevice, uint32_t count, VkPhysicalDeviceQueueProperties* pQueueProperties) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 344 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 345 | return VK_SUCCESS; |
| 346 | } |
| 347 | |
| 348 | VkResult GetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 349 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 350 | return VK_SUCCESS; |
| 351 | } |
| 352 | |
| 353 | VkResult GetPhysicalDeviceFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties* pFormatProperties) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 354 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 355 | return VK_SUCCESS; |
| 356 | } |
| 357 | |
| 358 | VkResult GetPhysicalDeviceImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageFormatProperties* pImageFormatProperties) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 359 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 360 | return VK_SUCCESS; |
| 361 | } |
| 362 | |
| 363 | VkResult GetPhysicalDeviceLimits(VkPhysicalDevice physicalDevice, VkPhysicalDeviceLimits* pLimits) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 364 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 365 | return VK_SUCCESS; |
| 366 | } |
| 367 | |
| 368 | VkResult GetGlobalLayerProperties(uint32_t* pCount, VkLayerProperties* pProperties) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 369 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 370 | return VK_SUCCESS; |
| 371 | } |
| 372 | |
| 373 | VkResult GetPhysicalDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t* pCount, VkLayerProperties* pProperties) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 374 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 375 | return VK_SUCCESS; |
| 376 | } |
| 377 | |
| 378 | VkResult GetPhysicalDeviceExtensionProperties(VkPhysicalDevice physicalDevice, const char* pLayerName, uint32_t* pCount, VkExtensionProperties* pProperties) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 379 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 380 | return VK_SUCCESS; |
| 381 | } |
| 382 | |
| 383 | VkResult QueueSubmit(VkQueue queue, uint32_t cmdBufferCount, const VkCmdBuffer* pCmdBuffers, VkFence fence) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 384 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 385 | return VK_SUCCESS; |
| 386 | } |
| 387 | |
| 388 | VkResult QueueWaitIdle(VkQueue queue) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 389 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 390 | return VK_SUCCESS; |
| 391 | } |
| 392 | |
| 393 | VkResult DeviceWaitIdle(VkDevice device) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 394 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 395 | return VK_SUCCESS; |
| 396 | } |
| 397 | |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 398 | VkResult UnmapMemory(VkDevice device, VkDeviceMemory mem) { |
| 399 | return VK_SUCCESS; |
| 400 | } |
| 401 | |
| 402 | VkResult FlushMappedMemoryRanges(VkDevice device, uint32_t memRangeCount, const VkMappedMemoryRange* pMemRanges) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 403 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 404 | return VK_SUCCESS; |
| 405 | } |
| 406 | |
| 407 | VkResult InvalidateMappedMemoryRanges(VkDevice device, uint32_t memRangeCount, const VkMappedMemoryRange* pMemRanges) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 408 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 409 | return VK_SUCCESS; |
| 410 | } |
| 411 | |
| 412 | VkResult GetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 413 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 414 | return VK_SUCCESS; |
| 415 | } |
| 416 | |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 417 | VkResult BindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory mem, VkDeviceSize memOffset) { |
| 418 | return VK_SUCCESS; |
| 419 | } |
| 420 | |
| 421 | VkResult GetImageMemoryRequirements(VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 422 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 423 | return VK_SUCCESS; |
| 424 | } |
| 425 | |
| 426 | VkResult BindImageMemory(VkDevice device, VkImage image, VkDeviceMemory mem, VkDeviceSize memOffset) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 427 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 428 | return VK_SUCCESS; |
| 429 | } |
| 430 | |
| 431 | VkResult GetImageSparseMemoryRequirements(VkDevice device, VkImage image, uint32_t* pNumRequirements, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 432 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 433 | return VK_SUCCESS; |
| 434 | } |
| 435 | |
| 436 | VkResult GetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, uint32_t samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pNumProperties, VkSparseImageFormatProperties* pProperties) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 437 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 438 | return VK_SUCCESS; |
| 439 | } |
| 440 | |
| 441 | VkResult QueueBindSparseBufferMemory(VkQueue queue, VkBuffer buffer, uint32_t numBindings, const VkSparseMemoryBindInfo* pBindInfo) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 442 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 443 | return VK_SUCCESS; |
| 444 | } |
| 445 | |
| 446 | VkResult QueueBindSparseImageOpaqueMemory(VkQueue queue, VkImage image, uint32_t numBindings, const VkSparseMemoryBindInfo* pBindInfo) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 447 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 448 | return VK_SUCCESS; |
| 449 | } |
| 450 | |
| 451 | VkResult QueueBindSparseImageMemory(VkQueue queue, VkImage image, uint32_t numBindings, const VkSparseImageMemoryBindInfo* pBindInfo) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 452 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 453 | return VK_SUCCESS; |
| 454 | } |
| 455 | |
| 456 | VkResult CreateFence(VkDevice device, const VkFenceCreateInfo* pCreateInfo, VkFence* pFence) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 457 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 458 | return VK_SUCCESS; |
| 459 | } |
| 460 | |
| 461 | VkResult DestroyFence(VkDevice device, VkFence fence) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 462 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 463 | return VK_SUCCESS; |
| 464 | } |
| 465 | |
| 466 | VkResult ResetFences(VkDevice device, uint32_t fenceCount, const VkFence* pFences) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 467 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 468 | return VK_SUCCESS; |
| 469 | } |
| 470 | |
| 471 | VkResult GetFenceStatus(VkDevice device, VkFence fence) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 472 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 473 | return VK_SUCCESS; |
| 474 | } |
| 475 | |
| 476 | VkResult WaitForFences(VkDevice device, uint32_t fenceCount, const VkFence* pFences, VkBool32 waitAll, uint64_t timeout) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 477 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 478 | return VK_SUCCESS; |
| 479 | } |
| 480 | |
| 481 | VkResult CreateSemaphore(VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, VkSemaphore* pSemaphore) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 482 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 483 | return VK_SUCCESS; |
| 484 | } |
| 485 | |
| 486 | VkResult DestroySemaphore(VkDevice device, VkSemaphore semaphore) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 487 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 488 | return VK_SUCCESS; |
| 489 | } |
| 490 | |
| 491 | VkResult QueueSignalSemaphore(VkQueue queue, VkSemaphore semaphore) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 492 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 493 | return VK_SUCCESS; |
| 494 | } |
| 495 | |
| 496 | VkResult QueueWaitSemaphore(VkQueue queue, VkSemaphore semaphore) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 497 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 498 | return VK_SUCCESS; |
| 499 | } |
| 500 | |
| 501 | VkResult CreateEvent(VkDevice device, const VkEventCreateInfo* pCreateInfo, VkEvent* pEvent) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 502 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 503 | return VK_SUCCESS; |
| 504 | } |
| 505 | |
| 506 | VkResult DestroyEvent(VkDevice device, VkEvent event) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 507 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 508 | return VK_SUCCESS; |
| 509 | } |
| 510 | |
| 511 | VkResult GetEventStatus(VkDevice device, VkEvent event) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 512 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 513 | return VK_SUCCESS; |
| 514 | } |
| 515 | |
| 516 | VkResult SetEvent(VkDevice device, VkEvent event) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 517 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 518 | return VK_SUCCESS; |
| 519 | } |
| 520 | |
| 521 | VkResult ResetEvent(VkDevice device, VkEvent event) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 522 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 523 | return VK_SUCCESS; |
| 524 | } |
| 525 | |
| 526 | VkResult CreateQueryPool(VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, VkQueryPool* pQueryPool) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 527 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 528 | return VK_SUCCESS; |
| 529 | } |
| 530 | |
| 531 | VkResult DestroyQueryPool(VkDevice device, VkQueryPool queryPool) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 532 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 533 | return VK_SUCCESS; |
| 534 | } |
| 535 | |
| 536 | VkResult GetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t startQuery, uint32_t queryCount, size_t* pDataSize, void* pData, VkQueryResultFlags flags) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 537 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 538 | return VK_SUCCESS; |
| 539 | } |
| 540 | |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 541 | VkResult CreateBufferView(VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, VkBufferView* pView) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 542 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 543 | return VK_SUCCESS; |
| 544 | } |
| 545 | |
| 546 | VkResult DestroyBufferView(VkDevice device, VkBufferView bufferView) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 547 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 548 | return VK_SUCCESS; |
| 549 | } |
| 550 | |
| 551 | VkResult CreateImage(VkDevice device, const VkImageCreateInfo* pCreateInfo, VkImage* pImage) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 552 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 553 | return VK_SUCCESS; |
| 554 | } |
| 555 | |
| 556 | VkResult DestroyImage(VkDevice device, VkImage image) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 557 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 558 | return VK_SUCCESS; |
| 559 | } |
| 560 | |
| 561 | VkResult GetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 562 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 563 | return VK_SUCCESS; |
| 564 | } |
| 565 | |
| 566 | VkResult CreateImageView(VkDevice device, const VkImageViewCreateInfo* pCreateInfo, VkImageView* pView) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 567 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 568 | return VK_SUCCESS; |
| 569 | } |
| 570 | |
| 571 | VkResult DestroyImageView(VkDevice device, VkImageView imageView) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 572 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 573 | return VK_SUCCESS; |
| 574 | } |
| 575 | |
| 576 | VkResult CreateAttachmentView(VkDevice device, const VkAttachmentViewCreateInfo* pCreateInfo, VkAttachmentView* pView) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 577 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 578 | return VK_SUCCESS; |
| 579 | } |
| 580 | |
| 581 | VkResult DestroyAttachmentView(VkDevice device, VkAttachmentView attachmentView) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 582 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 583 | return VK_SUCCESS; |
| 584 | } |
| 585 | |
| 586 | VkResult CreateShaderModule(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, VkShaderModule* pShaderModule) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 587 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 588 | return VK_SUCCESS; |
| 589 | } |
| 590 | |
| 591 | VkResult DestroyShaderModule(VkDevice device, VkShaderModule shaderModule) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 592 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 593 | return VK_SUCCESS; |
| 594 | } |
| 595 | |
| 596 | VkResult CreateShader(VkDevice device, const VkShaderCreateInfo* pCreateInfo, VkShader* pShader) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 597 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 598 | return VK_SUCCESS; |
| 599 | } |
| 600 | |
| 601 | VkResult DestroyShader(VkDevice device, VkShader shader) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 602 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 603 | return VK_SUCCESS; |
| 604 | } |
| 605 | |
| 606 | VkResult CreatePipelineCache(VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, VkPipelineCache* pPipelineCache) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 607 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 608 | return VK_SUCCESS; |
| 609 | } |
| 610 | |
| 611 | VkResult DestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 612 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 613 | return VK_SUCCESS; |
| 614 | } |
| 615 | |
| 616 | size_t GetPipelineCacheSize(VkDevice device, VkPipelineCache pipelineCache) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 617 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 618 | return VK_SUCCESS; |
| 619 | } |
| 620 | |
| 621 | VkResult GetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, void* pData) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 622 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 623 | return VK_SUCCESS; |
| 624 | } |
| 625 | |
| 626 | VkResult MergePipelineCaches(VkDevice device, VkPipelineCache destCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 627 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 628 | return VK_SUCCESS; |
| 629 | } |
| 630 | |
| 631 | VkResult CreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t count, const VkGraphicsPipelineCreateInfo* pCreateInfos, VkPipeline* pPipelines) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 632 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 633 | return VK_SUCCESS; |
| 634 | } |
| 635 | |
| 636 | VkResult CreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t count, const VkComputePipelineCreateInfo* pCreateInfos, VkPipeline* pPipelines) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 637 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 638 | return VK_SUCCESS; |
| 639 | } |
| 640 | |
| 641 | VkResult DestroyPipeline(VkDevice device, VkPipeline pipeline) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 642 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 643 | return VK_SUCCESS; |
| 644 | } |
| 645 | |
| 646 | VkResult CreatePipelineLayout(VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, VkPipelineLayout* pPipelineLayout) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 647 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 648 | return VK_SUCCESS; |
| 649 | } |
| 650 | |
| 651 | VkResult DestroyPipelineLayout(VkDevice device, VkPipelineLayout pipelineLayout) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 652 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 653 | return VK_SUCCESS; |
| 654 | } |
| 655 | |
| 656 | VkResult CreateSampler(VkDevice device, const VkSamplerCreateInfo* pCreateInfo, VkSampler* pSampler) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 657 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 658 | return VK_SUCCESS; |
| 659 | } |
| 660 | |
| 661 | VkResult DestroySampler(VkDevice device, VkSampler sampler) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 662 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 663 | return VK_SUCCESS; |
| 664 | } |
| 665 | |
| 666 | VkResult CreateDescriptorSetLayout(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayout* pSetLayout) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 667 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 668 | return VK_SUCCESS; |
| 669 | } |
| 670 | |
| 671 | VkResult DestroyDescriptorSetLayout(VkDevice device, VkDescriptorSetLayout descriptorSetLayout) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 672 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 673 | return VK_SUCCESS; |
| 674 | } |
| 675 | |
| 676 | VkResult CreateDescriptorPool(VkDevice device, VkDescriptorPoolUsage poolUsage, uint32_t maxSets, const VkDescriptorPoolCreateInfo* pCreateInfo, VkDescriptorPool* pDescriptorPool) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 677 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 678 | return VK_SUCCESS; |
| 679 | } |
| 680 | |
| 681 | VkResult DestroyDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 682 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 683 | return VK_SUCCESS; |
| 684 | } |
| 685 | |
| 686 | VkResult ResetDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 687 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 688 | return VK_SUCCESS; |
| 689 | } |
| 690 | |
| 691 | VkResult AllocDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorSetUsage setUsage, uint32_t count, const VkDescriptorSetLayout* pSetLayouts, VkDescriptorSet* pDescriptorSets, uint32_t* pCount) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 692 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 693 | return VK_SUCCESS; |
| 694 | } |
| 695 | |
| 696 | VkResult UpdateDescriptorSets(VkDevice device, uint32_t writeCount, const VkWriteDescriptorSet* pDescriptorWrites, uint32_t copyCount, const VkCopyDescriptorSet* pDescriptorCopies) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 697 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 698 | return VK_SUCCESS; |
| 699 | } |
| 700 | |
| 701 | VkResult FreeDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, uint32_t count, const VkDescriptorSet* pDescriptorSets) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 702 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 703 | return VK_SUCCESS; |
| 704 | } |
| 705 | |
| 706 | VkResult CreateDynamicViewportState(VkDevice device, const VkDynamicViewportStateCreateInfo* pCreateInfo, VkDynamicViewportState* pState) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 707 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 708 | return VK_SUCCESS; |
| 709 | } |
| 710 | |
| 711 | VkResult DestroyDynamicViewportState(VkDevice device, VkDynamicViewportState dynamicViewportState) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 712 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 713 | return VK_SUCCESS; |
| 714 | } |
| 715 | |
| 716 | VkResult CreateDynamicRasterState(VkDevice device, const VkDynamicRasterStateCreateInfo* pCreateInfo, VkDynamicRasterState* pState) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 717 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 718 | return VK_SUCCESS; |
| 719 | } |
| 720 | |
| 721 | VkResult DestroyDynamicRasterState(VkDevice device, VkDynamicRasterState dynamicRasterState) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 722 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 723 | return VK_SUCCESS; |
| 724 | } |
| 725 | |
| 726 | VkResult CreateDynamicColorBlendState(VkDevice device, const VkDynamicColorBlendStateCreateInfo* pCreateInfo, VkDynamicColorBlendState* pState) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 727 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 728 | return VK_SUCCESS; |
| 729 | } |
| 730 | |
| 731 | VkResult DestroyDynamicColorBlendState(VkDevice device, VkDynamicColorBlendState dynamicColorBlendState) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 732 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 733 | return VK_SUCCESS; |
| 734 | } |
| 735 | |
| 736 | VkResult CreateDynamicDepthStencilState(VkDevice device, const VkDynamicDepthStencilStateCreateInfo* pCreateInfo, VkDynamicDepthStencilState* pState) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 737 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 738 | return VK_SUCCESS; |
| 739 | } |
| 740 | |
| 741 | VkResult DestroyDynamicDepthStencilState(VkDevice device, VkDynamicDepthStencilState dynamicDepthStencilState) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 742 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 743 | return VK_SUCCESS; |
| 744 | } |
| 745 | |
| 746 | VkResult CreateFramebuffer(VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, VkFramebuffer* pFramebuffer) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 747 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 748 | return VK_SUCCESS; |
| 749 | } |
| 750 | |
| 751 | VkResult DestroyFramebuffer(VkDevice device, VkFramebuffer framebuffer) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 752 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 753 | return VK_SUCCESS; |
| 754 | } |
| 755 | |
| 756 | VkResult CreateRenderPass(VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, VkRenderPass* pRenderPass) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 757 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 758 | return VK_SUCCESS; |
| 759 | } |
| 760 | |
| 761 | VkResult DestroyRenderPass(VkDevice device, VkRenderPass renderPass) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 762 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 763 | return VK_SUCCESS; |
| 764 | } |
| 765 | |
| 766 | VkResult GetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 767 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 768 | return VK_SUCCESS; |
| 769 | } |
| 770 | |
| 771 | VkResult CreateCommandPool(VkDevice device, const VkCmdPoolCreateInfo* pCreateInfo, VkCmdPool* pCmdPool) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 772 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 773 | return VK_SUCCESS; |
| 774 | } |
| 775 | |
| 776 | VkResult DestroyCommandPool(VkDevice device, VkCmdPool cmdPool) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 777 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 778 | return VK_SUCCESS; |
| 779 | } |
| 780 | |
| 781 | VkResult ResetCommandPool(VkDevice device, VkCmdPool cmdPool, VkCmdPoolResetFlags flags) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 782 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 783 | return VK_SUCCESS; |
| 784 | } |
| 785 | |
| 786 | VkResult CreateCommandBuffer(VkDevice device, const VkCmdBufferCreateInfo* pCreateInfo, VkCmdBuffer* pCmdBuffer) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 787 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 788 | return VK_SUCCESS; |
| 789 | } |
| 790 | |
| 791 | VkResult DestroyCommandBuffer(VkDevice device, VkCmdBuffer commandBuffer) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 792 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 793 | return VK_SUCCESS; |
| 794 | } |
| 795 | |
| 796 | VkResult BeginCommandBuffer(VkCmdBuffer cmdBuffer, const VkCmdBufferBeginInfo* pBeginInfo) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 797 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 798 | return VK_SUCCESS; |
| 799 | } |
| 800 | |
| 801 | VkResult EndCommandBuffer(VkCmdBuffer cmdBuffer) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 802 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 803 | return VK_SUCCESS; |
| 804 | } |
| 805 | |
| 806 | VkResult ResetCommandBuffer(VkCmdBuffer cmdBuffer, VkCmdBufferResetFlags flags) { |
Jesse Hall | 73ab0ac | 2015-08-25 15:09:15 +0100 | [diff] [blame] | 807 | ALOGV("TODO: vk%s", __FUNCTION__); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 808 | return VK_SUCCESS; |
| 809 | } |
| 810 | |
| 811 | void CmdBindPipeline(VkCmdBuffer cmdBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline) { |
| 812 | } |
| 813 | |
| 814 | void CmdBindDynamicViewportState(VkCmdBuffer cmdBuffer, VkDynamicViewportState dynamicViewportState) { |
| 815 | } |
| 816 | |
| 817 | void CmdBindDynamicRasterState(VkCmdBuffer cmdBuffer, VkDynamicRasterState dynamicRasterState) { |
| 818 | } |
| 819 | |
| 820 | void CmdBindDynamicColorBlendState(VkCmdBuffer cmdBuffer, VkDynamicColorBlendState dynamicColorBlendState) { |
| 821 | } |
| 822 | |
| 823 | void CmdBindDynamicDepthStencilState(VkCmdBuffer cmdBuffer, VkDynamicDepthStencilState dynamicDepthStencilState) { |
| 824 | } |
| 825 | |
| 826 | void CmdBindDescriptorSets(VkCmdBuffer cmdBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t setCount, const VkDescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets) { |
| 827 | } |
| 828 | |
| 829 | void CmdBindIndexBuffer(VkCmdBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType) { |
| 830 | } |
| 831 | |
| 832 | void CmdBindVertexBuffers(VkCmdBuffer cmdBuffer, uint32_t startBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets) { |
| 833 | } |
| 834 | |
| 835 | void CmdDraw(VkCmdBuffer cmdBuffer, uint32_t firstVertex, uint32_t vertexCount, uint32_t firstInstance, uint32_t instanceCount) { |
| 836 | } |
| 837 | |
| 838 | void CmdDrawIndexed(VkCmdBuffer cmdBuffer, uint32_t firstIndex, uint32_t indexCount, int32_t vertexOffset, uint32_t firstInstance, uint32_t instanceCount) { |
| 839 | } |
| 840 | |
| 841 | void CmdDrawIndirect(VkCmdBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t count, uint32_t stride) { |
| 842 | } |
| 843 | |
| 844 | void CmdDrawIndexedIndirect(VkCmdBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t count, uint32_t stride) { |
| 845 | } |
| 846 | |
| 847 | void CmdDispatch(VkCmdBuffer cmdBuffer, uint32_t x, uint32_t y, uint32_t z) { |
| 848 | } |
| 849 | |
| 850 | void CmdDispatchIndirect(VkCmdBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset) { |
| 851 | } |
| 852 | |
| 853 | void CmdCopyBuffer(VkCmdBuffer cmdBuffer, VkBuffer srcBuffer, VkBuffer destBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) { |
| 854 | } |
| 855 | |
| 856 | void CmdCopyImage(VkCmdBuffer cmdBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage destImage, VkImageLayout destImageLayout, uint32_t regionCount, const VkImageCopy* pRegions) { |
| 857 | } |
| 858 | |
| 859 | void CmdBlitImage(VkCmdBuffer cmdBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage destImage, VkImageLayout destImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkTexFilter filter) { |
| 860 | } |
| 861 | |
| 862 | void CmdCopyBufferToImage(VkCmdBuffer cmdBuffer, VkBuffer srcBuffer, VkImage destImage, VkImageLayout destImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions) { |
| 863 | } |
| 864 | |
| 865 | void CmdCopyImageToBuffer(VkCmdBuffer cmdBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer destBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions) { |
| 866 | } |
| 867 | |
| 868 | void CmdUpdateBuffer(VkCmdBuffer cmdBuffer, VkBuffer destBuffer, VkDeviceSize destOffset, VkDeviceSize dataSize, const uint32_t* pData) { |
| 869 | } |
| 870 | |
| 871 | void CmdFillBuffer(VkCmdBuffer cmdBuffer, VkBuffer destBuffer, VkDeviceSize destOffset, VkDeviceSize fillSize, uint32_t data) { |
| 872 | } |
| 873 | |
| 874 | void CmdClearColorImage(VkCmdBuffer cmdBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue* pColor, uint32_t rangeCount, const VkImageSubresourceRange* pRanges) { |
| 875 | } |
| 876 | |
| 877 | void CmdClearDepthStencilImage(VkCmdBuffer cmdBuffer, VkImage image, VkImageLayout imageLayout, float depth, uint32_t stencil, uint32_t rangeCount, const VkImageSubresourceRange* pRanges) { |
| 878 | } |
| 879 | |
| 880 | void CmdClearColorAttachment(VkCmdBuffer cmdBuffer, uint32_t colorAttachment, VkImageLayout imageLayout, const VkClearColorValue* pColor, uint32_t rectCount, const VkRect3D* pRects) { |
| 881 | } |
| 882 | |
| 883 | void CmdClearDepthStencilAttachment(VkCmdBuffer cmdBuffer, VkImageAspectFlags imageAspectMask, VkImageLayout imageLayout, float depth, uint32_t stencil, uint32_t rectCount, const VkRect3D* pRects) { |
| 884 | } |
| 885 | |
| 886 | void CmdResolveImage(VkCmdBuffer cmdBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage destImage, VkImageLayout destImageLayout, uint32_t regionCount, const VkImageResolve* pRegions) { |
| 887 | } |
| 888 | |
| 889 | void CmdSetEvent(VkCmdBuffer cmdBuffer, VkEvent event, VkPipelineStageFlags stageMask) { |
| 890 | } |
| 891 | |
| 892 | void CmdResetEvent(VkCmdBuffer cmdBuffer, VkEvent event, VkPipelineStageFlags stageMask) { |
| 893 | } |
| 894 | |
| 895 | void CmdWaitEvents(VkCmdBuffer cmdBuffer, uint32_t eventCount, const VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags destStageMask, uint32_t memBarrierCount, const void* const* ppMemBarriers) { |
| 896 | } |
| 897 | |
| 898 | void CmdPipelineBarrier(VkCmdBuffer cmdBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags destStageMask, VkBool32 byRegion, uint32_t memBarrierCount, const void* const* ppMemBarriers) { |
| 899 | } |
| 900 | |
| 901 | void CmdBeginQuery(VkCmdBuffer cmdBuffer, VkQueryPool queryPool, uint32_t slot, VkQueryControlFlags flags) { |
| 902 | } |
| 903 | |
| 904 | void CmdEndQuery(VkCmdBuffer cmdBuffer, VkQueryPool queryPool, uint32_t slot) { |
| 905 | } |
| 906 | |
| 907 | void CmdResetQueryPool(VkCmdBuffer cmdBuffer, VkQueryPool queryPool, uint32_t startQuery, uint32_t queryCount) { |
| 908 | } |
| 909 | |
| 910 | void CmdWriteTimestamp(VkCmdBuffer cmdBuffer, VkTimestampType timestampType, VkBuffer destBuffer, VkDeviceSize destOffset) { |
| 911 | } |
| 912 | |
| 913 | void CmdCopyQueryPoolResults(VkCmdBuffer cmdBuffer, VkQueryPool queryPool, uint32_t startQuery, uint32_t queryCount, VkBuffer destBuffer, VkDeviceSize destOffset, VkDeviceSize destStride, VkQueryResultFlags flags) { |
| 914 | } |
| 915 | |
| 916 | void CmdPushConstants(VkCmdBuffer cmdBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t start, uint32_t length, const void* values) { |
| 917 | } |
| 918 | |
| 919 | void CmdBeginRenderPass(VkCmdBuffer cmdBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, VkRenderPassContents contents) { |
| 920 | } |
| 921 | |
| 922 | void CmdNextSubpass(VkCmdBuffer cmdBuffer, VkRenderPassContents contents) { |
| 923 | } |
| 924 | |
| 925 | void CmdEndRenderPass(VkCmdBuffer cmdBuffer) { |
| 926 | } |
| 927 | |
| 928 | void CmdExecuteCommands(VkCmdBuffer cmdBuffer, uint32_t cmdBuffersCount, const VkCmdBuffer* pCmdBuffers) { |
| 929 | } |
| 930 | |
| 931 | #pragma clang diagnostic pop |
| 932 | // clang-format on |
| 933 | |
| 934 | } // namespace null_driver |