src/gfxstream/guest/vulkan_enc/vk_platform_compat.h
raw| 1 | /* |
| 2 | * Copyright 2018 Google LLC |
| 3 | * SPDX-License-Identifier: MIT |
| 4 | */ |
| 5 | #pragma once |
| 6 | |
| 7 | #include <vulkan/vulkan.h> |
| 8 | |
| 9 | #if VK_HEADER_VERSION < 76 |
| 10 | |
| 11 | typedef struct VkBaseOutStructure { |
| 12 | VkStructureType sType; |
| 13 | struct VkBaseOutStructure* pNext; |
| 14 | } VkBaseOutStructure; |
| 15 | |
| 16 | typedef struct VkBaseInStructure { |
| 17 | VkStructureType sType; |
| 18 | const struct VkBaseInStructure* pNext; |
| 19 | } VkBaseInStructure; |
| 20 | |
| 21 | #endif // VK_HEADER_VERSION < 76 |