xref: /aosp_15_r20/external/mesa3d/include/vulkan/vulkan_fuchsia.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1*61046927SAndroid Build Coastguard Worker #ifndef VULKAN_FUCHSIA_H_
2*61046927SAndroid Build Coastguard Worker #define VULKAN_FUCHSIA_H_ 1
3*61046927SAndroid Build Coastguard Worker 
4*61046927SAndroid Build Coastguard Worker /*
5*61046927SAndroid Build Coastguard Worker ** Copyright 2015-2024 The Khronos Group Inc.
6*61046927SAndroid Build Coastguard Worker **
7*61046927SAndroid Build Coastguard Worker ** SPDX-License-Identifier: Apache-2.0
8*61046927SAndroid Build Coastguard Worker */
9*61046927SAndroid Build Coastguard Worker 
10*61046927SAndroid Build Coastguard Worker /*
11*61046927SAndroid Build Coastguard Worker ** This header is generated from the Khronos Vulkan XML API Registry.
12*61046927SAndroid Build Coastguard Worker **
13*61046927SAndroid Build Coastguard Worker */
14*61046927SAndroid Build Coastguard Worker 
15*61046927SAndroid Build Coastguard Worker 
16*61046927SAndroid Build Coastguard Worker #ifdef __cplusplus
17*61046927SAndroid Build Coastguard Worker extern "C" {
18*61046927SAndroid Build Coastguard Worker #endif
19*61046927SAndroid Build Coastguard Worker 
20*61046927SAndroid Build Coastguard Worker 
21*61046927SAndroid Build Coastguard Worker 
22*61046927SAndroid Build Coastguard Worker // VK_FUCHSIA_imagepipe_surface is a preprocessor guard. Do not pass it to API calls.
23*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_imagepipe_surface 1
24*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_IMAGEPIPE_SURFACE_SPEC_VERSION 1
25*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_IMAGEPIPE_SURFACE_EXTENSION_NAME "VK_FUCHSIA_imagepipe_surface"
26*61046927SAndroid Build Coastguard Worker typedef VkFlags VkImagePipeSurfaceCreateFlagsFUCHSIA;
27*61046927SAndroid Build Coastguard Worker typedef struct VkImagePipeSurfaceCreateInfoFUCHSIA {
28*61046927SAndroid Build Coastguard Worker     VkStructureType                         sType;
29*61046927SAndroid Build Coastguard Worker     const void*                             pNext;
30*61046927SAndroid Build Coastguard Worker     VkImagePipeSurfaceCreateFlagsFUCHSIA    flags;
31*61046927SAndroid Build Coastguard Worker     zx_handle_t                             imagePipeHandle;
32*61046927SAndroid Build Coastguard Worker } VkImagePipeSurfaceCreateInfoFUCHSIA;
33*61046927SAndroid Build Coastguard Worker 
34*61046927SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkCreateImagePipeSurfaceFUCHSIA)(VkInstance instance, const VkImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
35*61046927SAndroid Build Coastguard Worker 
36*61046927SAndroid Build Coastguard Worker #ifndef VK_NO_PROTOTYPES
37*61046927SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkCreateImagePipeSurfaceFUCHSIA(
38*61046927SAndroid Build Coastguard Worker     VkInstance                                  instance,
39*61046927SAndroid Build Coastguard Worker     const VkImagePipeSurfaceCreateInfoFUCHSIA*  pCreateInfo,
40*61046927SAndroid Build Coastguard Worker     const VkAllocationCallbacks*                pAllocator,
41*61046927SAndroid Build Coastguard Worker     VkSurfaceKHR*                               pSurface);
42*61046927SAndroid Build Coastguard Worker #endif
43*61046927SAndroid Build Coastguard Worker 
44*61046927SAndroid Build Coastguard Worker 
45*61046927SAndroid Build Coastguard Worker // VK_FUCHSIA_external_memory is a preprocessor guard. Do not pass it to API calls.
46*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_external_memory 1
47*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION 1
48*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME "VK_FUCHSIA_external_memory"
49*61046927SAndroid Build Coastguard Worker typedef struct VkImportMemoryZirconHandleInfoFUCHSIA {
50*61046927SAndroid Build Coastguard Worker     VkStructureType                       sType;
51*61046927SAndroid Build Coastguard Worker     const void*                           pNext;
52*61046927SAndroid Build Coastguard Worker     VkExternalMemoryHandleTypeFlagBits    handleType;
53*61046927SAndroid Build Coastguard Worker     zx_handle_t                           handle;
54*61046927SAndroid Build Coastguard Worker } VkImportMemoryZirconHandleInfoFUCHSIA;
55*61046927SAndroid Build Coastguard Worker 
56*61046927SAndroid Build Coastguard Worker typedef struct VkMemoryZirconHandlePropertiesFUCHSIA {
57*61046927SAndroid Build Coastguard Worker     VkStructureType    sType;
58*61046927SAndroid Build Coastguard Worker     void*              pNext;
59*61046927SAndroid Build Coastguard Worker     uint32_t           memoryTypeBits;
60*61046927SAndroid Build Coastguard Worker } VkMemoryZirconHandlePropertiesFUCHSIA;
61*61046927SAndroid Build Coastguard Worker 
62*61046927SAndroid Build Coastguard Worker typedef struct VkMemoryGetZirconHandleInfoFUCHSIA {
63*61046927SAndroid Build Coastguard Worker     VkStructureType                       sType;
64*61046927SAndroid Build Coastguard Worker     const void*                           pNext;
65*61046927SAndroid Build Coastguard Worker     VkDeviceMemory                        memory;
66*61046927SAndroid Build Coastguard Worker     VkExternalMemoryHandleTypeFlagBits    handleType;
67*61046927SAndroid Build Coastguard Worker } VkMemoryGetZirconHandleInfoFUCHSIA;
68*61046927SAndroid Build Coastguard Worker 
69*61046927SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkGetMemoryZirconHandleFUCHSIA)(VkDevice device, const VkMemoryGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo, zx_handle_t* pZirconHandle);
70*61046927SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA)(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle, VkMemoryZirconHandlePropertiesFUCHSIA* pMemoryZirconHandleProperties);
71*61046927SAndroid Build Coastguard Worker 
72*61046927SAndroid Build Coastguard Worker #ifndef VK_NO_PROTOTYPES
73*61046927SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryZirconHandleFUCHSIA(
74*61046927SAndroid Build Coastguard Worker     VkDevice                                    device,
75*61046927SAndroid Build Coastguard Worker     const VkMemoryGetZirconHandleInfoFUCHSIA*   pGetZirconHandleInfo,
76*61046927SAndroid Build Coastguard Worker     zx_handle_t*                                pZirconHandle);
77*61046927SAndroid Build Coastguard Worker 
78*61046927SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryZirconHandlePropertiesFUCHSIA(
79*61046927SAndroid Build Coastguard Worker     VkDevice                                    device,
80*61046927SAndroid Build Coastguard Worker     VkExternalMemoryHandleTypeFlagBits          handleType,
81*61046927SAndroid Build Coastguard Worker     zx_handle_t                                 zirconHandle,
82*61046927SAndroid Build Coastguard Worker     VkMemoryZirconHandlePropertiesFUCHSIA*      pMemoryZirconHandleProperties);
83*61046927SAndroid Build Coastguard Worker #endif
84*61046927SAndroid Build Coastguard Worker 
85*61046927SAndroid Build Coastguard Worker 
86*61046927SAndroid Build Coastguard Worker // VK_FUCHSIA_external_semaphore is a preprocessor guard. Do not pass it to API calls.
87*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_external_semaphore 1
88*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_EXTERNAL_SEMAPHORE_SPEC_VERSION 1
89*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_EXTERNAL_SEMAPHORE_EXTENSION_NAME "VK_FUCHSIA_external_semaphore"
90*61046927SAndroid Build Coastguard Worker typedef struct VkImportSemaphoreZirconHandleInfoFUCHSIA {
91*61046927SAndroid Build Coastguard Worker     VkStructureType                          sType;
92*61046927SAndroid Build Coastguard Worker     const void*                              pNext;
93*61046927SAndroid Build Coastguard Worker     VkSemaphore                              semaphore;
94*61046927SAndroid Build Coastguard Worker     VkSemaphoreImportFlags                   flags;
95*61046927SAndroid Build Coastguard Worker     VkExternalSemaphoreHandleTypeFlagBits    handleType;
96*61046927SAndroid Build Coastguard Worker     zx_handle_t                              zirconHandle;
97*61046927SAndroid Build Coastguard Worker } VkImportSemaphoreZirconHandleInfoFUCHSIA;
98*61046927SAndroid Build Coastguard Worker 
99*61046927SAndroid Build Coastguard Worker typedef struct VkSemaphoreGetZirconHandleInfoFUCHSIA {
100*61046927SAndroid Build Coastguard Worker     VkStructureType                          sType;
101*61046927SAndroid Build Coastguard Worker     const void*                              pNext;
102*61046927SAndroid Build Coastguard Worker     VkSemaphore                              semaphore;
103*61046927SAndroid Build Coastguard Worker     VkExternalSemaphoreHandleTypeFlagBits    handleType;
104*61046927SAndroid Build Coastguard Worker } VkSemaphoreGetZirconHandleInfoFUCHSIA;
105*61046927SAndroid Build Coastguard Worker 
106*61046927SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkImportSemaphoreZirconHandleFUCHSIA)(VkDevice device, const VkImportSemaphoreZirconHandleInfoFUCHSIA* pImportSemaphoreZirconHandleInfo);
107*61046927SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkGetSemaphoreZirconHandleFUCHSIA)(VkDevice device, const VkSemaphoreGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo, zx_handle_t* pZirconHandle);
108*61046927SAndroid Build Coastguard Worker 
109*61046927SAndroid Build Coastguard Worker #ifndef VK_NO_PROTOTYPES
110*61046927SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkImportSemaphoreZirconHandleFUCHSIA(
111*61046927SAndroid Build Coastguard Worker     VkDevice                                    device,
112*61046927SAndroid Build Coastguard Worker     const VkImportSemaphoreZirconHandleInfoFUCHSIA* pImportSemaphoreZirconHandleInfo);
113*61046927SAndroid Build Coastguard Worker 
114*61046927SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkGetSemaphoreZirconHandleFUCHSIA(
115*61046927SAndroid Build Coastguard Worker     VkDevice                                    device,
116*61046927SAndroid Build Coastguard Worker     const VkSemaphoreGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo,
117*61046927SAndroid Build Coastguard Worker     zx_handle_t*                                pZirconHandle);
118*61046927SAndroid Build Coastguard Worker #endif
119*61046927SAndroid Build Coastguard Worker 
120*61046927SAndroid Build Coastguard Worker 
121*61046927SAndroid Build Coastguard Worker // VK_FUCHSIA_buffer_collection is a preprocessor guard. Do not pass it to API calls.
122*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_buffer_collection 1
123*61046927SAndroid Build Coastguard Worker VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkBufferCollectionFUCHSIA)
124*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_BUFFER_COLLECTION_SPEC_VERSION 2
125*61046927SAndroid Build Coastguard Worker #define VK_FUCHSIA_BUFFER_COLLECTION_EXTENSION_NAME "VK_FUCHSIA_buffer_collection"
126*61046927SAndroid Build Coastguard Worker typedef VkFlags VkImageFormatConstraintsFlagsFUCHSIA;
127*61046927SAndroid Build Coastguard Worker 
128*61046927SAndroid Build Coastguard Worker typedef enum VkImageConstraintsInfoFlagBitsFUCHSIA {
129*61046927SAndroid Build Coastguard Worker     VK_IMAGE_CONSTRAINTS_INFO_CPU_READ_RARELY_FUCHSIA = 0x00000001,
130*61046927SAndroid Build Coastguard Worker     VK_IMAGE_CONSTRAINTS_INFO_CPU_READ_OFTEN_FUCHSIA = 0x00000002,
131*61046927SAndroid Build Coastguard Worker     VK_IMAGE_CONSTRAINTS_INFO_CPU_WRITE_RARELY_FUCHSIA = 0x00000004,
132*61046927SAndroid Build Coastguard Worker     VK_IMAGE_CONSTRAINTS_INFO_CPU_WRITE_OFTEN_FUCHSIA = 0x00000008,
133*61046927SAndroid Build Coastguard Worker     VK_IMAGE_CONSTRAINTS_INFO_PROTECTED_OPTIONAL_FUCHSIA = 0x00000010,
134*61046927SAndroid Build Coastguard Worker     VK_IMAGE_CONSTRAINTS_INFO_FLAG_BITS_MAX_ENUM_FUCHSIA = 0x7FFFFFFF
135*61046927SAndroid Build Coastguard Worker } VkImageConstraintsInfoFlagBitsFUCHSIA;
136*61046927SAndroid Build Coastguard Worker typedef VkFlags VkImageConstraintsInfoFlagsFUCHSIA;
137*61046927SAndroid Build Coastguard Worker typedef struct VkBufferCollectionCreateInfoFUCHSIA {
138*61046927SAndroid Build Coastguard Worker     VkStructureType    sType;
139*61046927SAndroid Build Coastguard Worker     const void*        pNext;
140*61046927SAndroid Build Coastguard Worker     zx_handle_t        collectionToken;
141*61046927SAndroid Build Coastguard Worker } VkBufferCollectionCreateInfoFUCHSIA;
142*61046927SAndroid Build Coastguard Worker 
143*61046927SAndroid Build Coastguard Worker typedef struct VkImportMemoryBufferCollectionFUCHSIA {
144*61046927SAndroid Build Coastguard Worker     VkStructureType              sType;
145*61046927SAndroid Build Coastguard Worker     const void*                  pNext;
146*61046927SAndroid Build Coastguard Worker     VkBufferCollectionFUCHSIA    collection;
147*61046927SAndroid Build Coastguard Worker     uint32_t                     index;
148*61046927SAndroid Build Coastguard Worker } VkImportMemoryBufferCollectionFUCHSIA;
149*61046927SAndroid Build Coastguard Worker 
150*61046927SAndroid Build Coastguard Worker typedef struct VkBufferCollectionImageCreateInfoFUCHSIA {
151*61046927SAndroid Build Coastguard Worker     VkStructureType              sType;
152*61046927SAndroid Build Coastguard Worker     const void*                  pNext;
153*61046927SAndroid Build Coastguard Worker     VkBufferCollectionFUCHSIA    collection;
154*61046927SAndroid Build Coastguard Worker     uint32_t                     index;
155*61046927SAndroid Build Coastguard Worker } VkBufferCollectionImageCreateInfoFUCHSIA;
156*61046927SAndroid Build Coastguard Worker 
157*61046927SAndroid Build Coastguard Worker typedef struct VkBufferCollectionConstraintsInfoFUCHSIA {
158*61046927SAndroid Build Coastguard Worker     VkStructureType    sType;
159*61046927SAndroid Build Coastguard Worker     const void*        pNext;
160*61046927SAndroid Build Coastguard Worker     uint32_t           minBufferCount;
161*61046927SAndroid Build Coastguard Worker     uint32_t           maxBufferCount;
162*61046927SAndroid Build Coastguard Worker     uint32_t           minBufferCountForCamping;
163*61046927SAndroid Build Coastguard Worker     uint32_t           minBufferCountForDedicatedSlack;
164*61046927SAndroid Build Coastguard Worker     uint32_t           minBufferCountForSharedSlack;
165*61046927SAndroid Build Coastguard Worker } VkBufferCollectionConstraintsInfoFUCHSIA;
166*61046927SAndroid Build Coastguard Worker 
167*61046927SAndroid Build Coastguard Worker typedef struct VkBufferConstraintsInfoFUCHSIA {
168*61046927SAndroid Build Coastguard Worker     VkStructureType                             sType;
169*61046927SAndroid Build Coastguard Worker     const void*                                 pNext;
170*61046927SAndroid Build Coastguard Worker     VkBufferCreateInfo                          createInfo;
171*61046927SAndroid Build Coastguard Worker     VkFormatFeatureFlags                        requiredFormatFeatures;
172*61046927SAndroid Build Coastguard Worker     VkBufferCollectionConstraintsInfoFUCHSIA    bufferCollectionConstraints;
173*61046927SAndroid Build Coastguard Worker } VkBufferConstraintsInfoFUCHSIA;
174*61046927SAndroid Build Coastguard Worker 
175*61046927SAndroid Build Coastguard Worker typedef struct VkBufferCollectionBufferCreateInfoFUCHSIA {
176*61046927SAndroid Build Coastguard Worker     VkStructureType              sType;
177*61046927SAndroid Build Coastguard Worker     const void*                  pNext;
178*61046927SAndroid Build Coastguard Worker     VkBufferCollectionFUCHSIA    collection;
179*61046927SAndroid Build Coastguard Worker     uint32_t                     index;
180*61046927SAndroid Build Coastguard Worker } VkBufferCollectionBufferCreateInfoFUCHSIA;
181*61046927SAndroid Build Coastguard Worker 
182*61046927SAndroid Build Coastguard Worker typedef struct VkSysmemColorSpaceFUCHSIA {
183*61046927SAndroid Build Coastguard Worker     VkStructureType    sType;
184*61046927SAndroid Build Coastguard Worker     const void*        pNext;
185*61046927SAndroid Build Coastguard Worker     uint32_t           colorSpace;
186*61046927SAndroid Build Coastguard Worker } VkSysmemColorSpaceFUCHSIA;
187*61046927SAndroid Build Coastguard Worker 
188*61046927SAndroid Build Coastguard Worker typedef struct VkBufferCollectionPropertiesFUCHSIA {
189*61046927SAndroid Build Coastguard Worker     VkStructureType                  sType;
190*61046927SAndroid Build Coastguard Worker     void*                            pNext;
191*61046927SAndroid Build Coastguard Worker     uint32_t                         memoryTypeBits;
192*61046927SAndroid Build Coastguard Worker     uint32_t                         bufferCount;
193*61046927SAndroid Build Coastguard Worker     uint32_t                         createInfoIndex;
194*61046927SAndroid Build Coastguard Worker     uint64_t                         sysmemPixelFormat;
195*61046927SAndroid Build Coastguard Worker     VkFormatFeatureFlags             formatFeatures;
196*61046927SAndroid Build Coastguard Worker     VkSysmemColorSpaceFUCHSIA        sysmemColorSpaceIndex;
197*61046927SAndroid Build Coastguard Worker     VkComponentMapping               samplerYcbcrConversionComponents;
198*61046927SAndroid Build Coastguard Worker     VkSamplerYcbcrModelConversion    suggestedYcbcrModel;
199*61046927SAndroid Build Coastguard Worker     VkSamplerYcbcrRange              suggestedYcbcrRange;
200*61046927SAndroid Build Coastguard Worker     VkChromaLocation                 suggestedXChromaOffset;
201*61046927SAndroid Build Coastguard Worker     VkChromaLocation                 suggestedYChromaOffset;
202*61046927SAndroid Build Coastguard Worker } VkBufferCollectionPropertiesFUCHSIA;
203*61046927SAndroid Build Coastguard Worker 
204*61046927SAndroid Build Coastguard Worker typedef struct VkImageFormatConstraintsInfoFUCHSIA {
205*61046927SAndroid Build Coastguard Worker     VkStructureType                         sType;
206*61046927SAndroid Build Coastguard Worker     const void*                             pNext;
207*61046927SAndroid Build Coastguard Worker     VkImageCreateInfo                       imageCreateInfo;
208*61046927SAndroid Build Coastguard Worker     VkFormatFeatureFlags                    requiredFormatFeatures;
209*61046927SAndroid Build Coastguard Worker     VkImageFormatConstraintsFlagsFUCHSIA    flags;
210*61046927SAndroid Build Coastguard Worker     uint64_t                                sysmemPixelFormat;
211*61046927SAndroid Build Coastguard Worker     uint32_t                                colorSpaceCount;
212*61046927SAndroid Build Coastguard Worker     const VkSysmemColorSpaceFUCHSIA*        pColorSpaces;
213*61046927SAndroid Build Coastguard Worker } VkImageFormatConstraintsInfoFUCHSIA;
214*61046927SAndroid Build Coastguard Worker 
215*61046927SAndroid Build Coastguard Worker typedef struct VkImageConstraintsInfoFUCHSIA {
216*61046927SAndroid Build Coastguard Worker     VkStructureType                               sType;
217*61046927SAndroid Build Coastguard Worker     const void*                                   pNext;
218*61046927SAndroid Build Coastguard Worker     uint32_t                                      formatConstraintsCount;
219*61046927SAndroid Build Coastguard Worker     const VkImageFormatConstraintsInfoFUCHSIA*    pFormatConstraints;
220*61046927SAndroid Build Coastguard Worker     VkBufferCollectionConstraintsInfoFUCHSIA      bufferCollectionConstraints;
221*61046927SAndroid Build Coastguard Worker     VkImageConstraintsInfoFlagsFUCHSIA            flags;
222*61046927SAndroid Build Coastguard Worker } VkImageConstraintsInfoFUCHSIA;
223*61046927SAndroid Build Coastguard Worker 
224*61046927SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkCreateBufferCollectionFUCHSIA)(VkDevice device, const VkBufferCollectionCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferCollectionFUCHSIA* pCollection);
225*61046927SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkSetBufferCollectionImageConstraintsFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkImageConstraintsInfoFUCHSIA* pImageConstraintsInfo);
226*61046927SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo);
227*61046927SAndroid Build Coastguard Worker typedef void (VKAPI_PTR *PFN_vkDestroyBufferCollectionFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkAllocationCallbacks* pAllocator);
228*61046927SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkGetBufferCollectionPropertiesFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, VkBufferCollectionPropertiesFUCHSIA* pProperties);
229*61046927SAndroid Build Coastguard Worker 
230*61046927SAndroid Build Coastguard Worker #ifndef VK_NO_PROTOTYPES
231*61046927SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkCreateBufferCollectionFUCHSIA(
232*61046927SAndroid Build Coastguard Worker     VkDevice                                    device,
233*61046927SAndroid Build Coastguard Worker     const VkBufferCollectionCreateInfoFUCHSIA*  pCreateInfo,
234*61046927SAndroid Build Coastguard Worker     const VkAllocationCallbacks*                pAllocator,
235*61046927SAndroid Build Coastguard Worker     VkBufferCollectionFUCHSIA*                  pCollection);
236*61046927SAndroid Build Coastguard Worker 
237*61046927SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkSetBufferCollectionImageConstraintsFUCHSIA(
238*61046927SAndroid Build Coastguard Worker     VkDevice                                    device,
239*61046927SAndroid Build Coastguard Worker     VkBufferCollectionFUCHSIA                   collection,
240*61046927SAndroid Build Coastguard Worker     const VkImageConstraintsInfoFUCHSIA*        pImageConstraintsInfo);
241*61046927SAndroid Build Coastguard Worker 
242*61046927SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkSetBufferCollectionBufferConstraintsFUCHSIA(
243*61046927SAndroid Build Coastguard Worker     VkDevice                                    device,
244*61046927SAndroid Build Coastguard Worker     VkBufferCollectionFUCHSIA                   collection,
245*61046927SAndroid Build Coastguard Worker     const VkBufferConstraintsInfoFUCHSIA*       pBufferConstraintsInfo);
246*61046927SAndroid Build Coastguard Worker 
247*61046927SAndroid Build Coastguard Worker VKAPI_ATTR void VKAPI_CALL vkDestroyBufferCollectionFUCHSIA(
248*61046927SAndroid Build Coastguard Worker     VkDevice                                    device,
249*61046927SAndroid Build Coastguard Worker     VkBufferCollectionFUCHSIA                   collection,
250*61046927SAndroid Build Coastguard Worker     const VkAllocationCallbacks*                pAllocator);
251*61046927SAndroid Build Coastguard Worker 
252*61046927SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkGetBufferCollectionPropertiesFUCHSIA(
253*61046927SAndroid Build Coastguard Worker     VkDevice                                    device,
254*61046927SAndroid Build Coastguard Worker     VkBufferCollectionFUCHSIA                   collection,
255*61046927SAndroid Build Coastguard Worker     VkBufferCollectionPropertiesFUCHSIA*        pProperties);
256*61046927SAndroid Build Coastguard Worker #endif
257*61046927SAndroid Build Coastguard Worker 
258*61046927SAndroid Build Coastguard Worker #ifdef __cplusplus
259*61046927SAndroid Build Coastguard Worker }
260*61046927SAndroid Build Coastguard Worker #endif
261*61046927SAndroid Build Coastguard Worker 
262*61046927SAndroid Build Coastguard Worker #endif
263