• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (C) 2018 The Android Open Source Project
2 // Copyright (C) 2018 Google Inc.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 
16 // Autogenerated module goldfish_vk_extension_structs
17 // (header) generated by protocols/vulkan/xml/genvk.py -registry protocols/vulkan/xml/vk.xml cereal -o stream-servers/vulkan/cereal
18 // Please do not modify directly;
19 // re-run generate-vulkan-sources.sh,
20 // or directly from Python by defining:
21 // VULKAN_REGISTRY_XML_DIR : Directory containing genvk.py and vk.xml
22 // CEREAL_OUTPUT_DIR: Where to put the generated sources.
23 // python3 $VULKAN_REGISTRY_XML_DIR/genvk.py -registry $VULKAN_REGISTRY_XML_DIR/vk.xml cereal -o $CEREAL_OUTPUT_DIR
24 
25 #pragma once
26 
27 #include <vulkan/vulkan.h>
28 
29 
30 #include "goldfish_vk_private_defs.h"
31 
32 
33 namespace goldfish_vk {
34 
35 uint32_t goldfish_vk_struct_type(
36     const void* structExtension);
37 
38 size_t goldfish_vk_extension_struct_size(
39     VkStructureType rootType,
40     const void* structExtension);
41 
42 size_t goldfish_vk_extension_struct_size_with_stream_features(
43     uint32_t streamFeatures,
44     VkStructureType rootType,
45     const void* structExtension);
46 
47 #ifdef VK_VERSION_1_0
48 #endif
49 #ifdef VK_VERSION_1_1
50 #endif
51 #ifdef VK_VERSION_1_2
52 #endif
53 #ifdef VK_KHR_surface
54 #endif
55 #ifdef VK_KHR_swapchain
56 #endif
57 #ifdef VK_KHR_display
58 #endif
59 #ifdef VK_KHR_display_swapchain
60 #endif
61 #ifdef VK_KHR_xlib_surface
62 #endif
63 #ifdef VK_KHR_xcb_surface
64 #endif
65 #ifdef VK_KHR_wayland_surface
66 #endif
67 #ifdef VK_KHR_android_surface
68 #endif
69 #ifdef VK_KHR_win32_surface
70 #endif
71 #ifdef VK_KHR_sampler_mirror_clamp_to_edge
72 #endif
73 #ifdef VK_KHR_multiview
74 #endif
75 #ifdef VK_KHR_get_physical_device_properties2
76 #endif
77 #ifdef VK_KHR_device_group
78 #endif
79 #ifdef VK_KHR_shader_draw_parameters
80 #endif
81 #ifdef VK_KHR_maintenance1
82 #endif
83 #ifdef VK_KHR_device_group_creation
84 #endif
85 #ifdef VK_KHR_external_memory_capabilities
86 #endif
87 #ifdef VK_KHR_external_memory
88 #endif
89 #ifdef VK_KHR_external_memory_win32
90 #endif
91 #ifdef VK_KHR_external_memory_fd
92 #endif
93 #ifdef VK_KHR_win32_keyed_mutex
94 #endif
95 #ifdef VK_KHR_external_semaphore_capabilities
96 #endif
97 #ifdef VK_KHR_external_semaphore
98 #endif
99 #ifdef VK_KHR_external_semaphore_win32
100 #endif
101 #ifdef VK_KHR_external_semaphore_fd
102 #endif
103 #ifdef VK_KHR_push_descriptor
104 #endif
105 #ifdef VK_KHR_shader_float16_int8
106 #endif
107 #ifdef VK_KHR_16bit_storage
108 #endif
109 #ifdef VK_KHR_incremental_present
110 #endif
111 #ifdef VK_KHR_descriptor_update_template
112 #endif
113 #ifdef VK_KHR_imageless_framebuffer
114 #endif
115 #ifdef VK_KHR_create_renderpass2
116 #endif
117 #ifdef VK_KHR_shared_presentable_image
118 #endif
119 #ifdef VK_KHR_external_fence_capabilities
120 #endif
121 #ifdef VK_KHR_external_fence
122 #endif
123 #ifdef VK_KHR_external_fence_win32
124 #endif
125 #ifdef VK_KHR_external_fence_fd
126 #endif
127 #ifdef VK_KHR_performance_query
128 #endif
129 #ifdef VK_KHR_maintenance2
130 #endif
131 #ifdef VK_KHR_get_surface_capabilities2
132 #endif
133 #ifdef VK_KHR_variable_pointers
134 #endif
135 #ifdef VK_KHR_get_display_properties2
136 #endif
137 #ifdef VK_KHR_dedicated_allocation
138 #endif
139 #ifdef VK_KHR_storage_buffer_storage_class
140 #endif
141 #ifdef VK_KHR_relaxed_block_layout
142 #endif
143 #ifdef VK_KHR_get_memory_requirements2
144 #endif
145 #ifdef VK_KHR_image_format_list
146 #endif
147 #ifdef VK_KHR_sampler_ycbcr_conversion
148 #endif
149 #ifdef VK_KHR_bind_memory2
150 #endif
151 #ifdef VK_KHR_portability_subset
152 #endif
153 #ifdef VK_KHR_maintenance3
154 #endif
155 #ifdef VK_KHR_draw_indirect_count
156 #endif
157 #ifdef VK_KHR_shader_subgroup_extended_types
158 #endif
159 #ifdef VK_KHR_8bit_storage
160 #endif
161 #ifdef VK_KHR_shader_atomic_int64
162 #endif
163 #ifdef VK_KHR_shader_clock
164 #endif
165 #ifdef VK_KHR_driver_properties
166 #endif
167 #ifdef VK_KHR_shader_float_controls
168 #endif
169 #ifdef VK_KHR_depth_stencil_resolve
170 #endif
171 #ifdef VK_KHR_swapchain_mutable_format
172 #endif
173 #ifdef VK_KHR_timeline_semaphore
174 #endif
175 #ifdef VK_KHR_vulkan_memory_model
176 #endif
177 #ifdef VK_KHR_shader_terminate_invocation
178 #endif
179 #ifdef VK_KHR_fragment_shading_rate
180 #endif
181 #ifdef VK_KHR_spirv_1_4
182 #endif
183 #ifdef VK_KHR_surface_protected_capabilities
184 #endif
185 #ifdef VK_KHR_separate_depth_stencil_layouts
186 #endif
187 #ifdef VK_KHR_uniform_buffer_standard_layout
188 #endif
189 #ifdef VK_KHR_buffer_device_address
190 #endif
191 #ifdef VK_KHR_deferred_host_operations
192 #endif
193 #ifdef VK_KHR_pipeline_executable_properties
194 #endif
195 #ifdef VK_KHR_pipeline_library
196 #endif
197 #ifdef VK_KHR_shader_non_semantic_info
198 #endif
199 #ifdef VK_KHR_copy_commands2
200 #endif
201 #ifdef VK_ANDROID_native_buffer
202 #endif
203 #ifdef VK_EXT_debug_report
204 #endif
205 #ifdef VK_NV_glsl_shader
206 #endif
207 #ifdef VK_EXT_depth_range_unrestricted
208 #endif
209 #ifdef VK_IMG_filter_cubic
210 #endif
211 #ifdef VK_AMD_rasterization_order
212 #endif
213 #ifdef VK_AMD_shader_trinary_minmax
214 #endif
215 #ifdef VK_AMD_shader_explicit_vertex_parameter
216 #endif
217 #ifdef VK_EXT_debug_marker
218 #endif
219 #ifdef VK_AMD_gcn_shader
220 #endif
221 #ifdef VK_NV_dedicated_allocation
222 #endif
223 #ifdef VK_EXT_transform_feedback
224 #endif
225 #ifdef VK_NVX_image_view_handle
226 #endif
227 #ifdef VK_AMD_draw_indirect_count
228 #endif
229 #ifdef VK_AMD_negative_viewport_height
230 #endif
231 #ifdef VK_AMD_gpu_shader_half_float
232 #endif
233 #ifdef VK_AMD_shader_ballot
234 #endif
235 #ifdef VK_AMD_texture_gather_bias_lod
236 #endif
237 #ifdef VK_AMD_shader_info
238 #endif
239 #ifdef VK_AMD_shader_image_load_store_lod
240 #endif
241 #ifdef VK_GGP_stream_descriptor_surface
242 #endif
243 #ifdef VK_NV_corner_sampled_image
244 #endif
245 #ifdef VK_IMG_format_pvrtc
246 #endif
247 #ifdef VK_NV_external_memory_capabilities
248 #endif
249 #ifdef VK_NV_external_memory
250 #endif
251 #ifdef VK_NV_external_memory_win32
252 #endif
253 #ifdef VK_NV_win32_keyed_mutex
254 #endif
255 #ifdef VK_EXT_validation_flags
256 #endif
257 #ifdef VK_NN_vi_surface
258 #endif
259 #ifdef VK_EXT_shader_subgroup_ballot
260 #endif
261 #ifdef VK_EXT_shader_subgroup_vote
262 #endif
263 #ifdef VK_EXT_texture_compression_astc_hdr
264 #endif
265 #ifdef VK_EXT_astc_decode_mode
266 #endif
267 #ifdef VK_EXT_conditional_rendering
268 #endif
269 #ifdef VK_NV_clip_space_w_scaling
270 #endif
271 #ifdef VK_EXT_direct_mode_display
272 #endif
273 #ifdef VK_EXT_acquire_xlib_display
274 #endif
275 #ifdef VK_EXT_display_surface_counter
276 #endif
277 #ifdef VK_EXT_display_control
278 #endif
279 #ifdef VK_GOOGLE_display_timing
280 #endif
281 #ifdef VK_NV_sample_mask_override_coverage
282 #endif
283 #ifdef VK_NV_geometry_shader_passthrough
284 #endif
285 #ifdef VK_NV_viewport_array2
286 #endif
287 #ifdef VK_NVX_multiview_per_view_attributes
288 #endif
289 #ifdef VK_NV_viewport_swizzle
290 #endif
291 #ifdef VK_EXT_discard_rectangles
292 #endif
293 #ifdef VK_EXT_conservative_rasterization
294 #endif
295 #ifdef VK_EXT_depth_clip_enable
296 #endif
297 #ifdef VK_EXT_swapchain_colorspace
298 #endif
299 #ifdef VK_EXT_hdr_metadata
300 #endif
301 #ifdef VK_MVK_ios_surface
302 #endif
303 #ifdef VK_MVK_macos_surface
304 #endif
305 #ifdef VK_MVK_moltenvk
306 #endif
307 #ifdef VK_EXT_external_memory_dma_buf
308 #endif
309 #ifdef VK_EXT_queue_family_foreign
310 #endif
311 #ifdef VK_EXT_debug_utils
312 #endif
313 #ifdef VK_ANDROID_external_memory_android_hardware_buffer
314 #endif
315 #ifdef VK_EXT_sampler_filter_minmax
316 #endif
317 #ifdef VK_AMD_gpu_shader_int16
318 #endif
319 #ifdef VK_AMD_mixed_attachment_samples
320 #endif
321 #ifdef VK_AMD_shader_fragment_mask
322 #endif
323 #ifdef VK_EXT_inline_uniform_block
324 #endif
325 #ifdef VK_EXT_shader_stencil_export
326 #endif
327 #ifdef VK_EXT_sample_locations
328 #endif
329 #ifdef VK_EXT_blend_operation_advanced
330 #endif
331 #ifdef VK_NV_fragment_coverage_to_color
332 #endif
333 #ifdef VK_NV_framebuffer_mixed_samples
334 #endif
335 #ifdef VK_NV_fill_rectangle
336 #endif
337 #ifdef VK_NV_shader_sm_builtins
338 #endif
339 #ifdef VK_EXT_post_depth_coverage
340 #endif
341 #ifdef VK_EXT_image_drm_format_modifier
342 #endif
343 #ifdef VK_EXT_validation_cache
344 #endif
345 #ifdef VK_EXT_descriptor_indexing
346 #endif
347 #ifdef VK_EXT_shader_viewport_index_layer
348 #endif
349 #ifdef VK_NV_shading_rate_image
350 #endif
351 #ifdef VK_NV_ray_tracing
352 #endif
353 #ifdef VK_NV_representative_fragment_test
354 #endif
355 #ifdef VK_EXT_filter_cubic
356 #endif
357 #ifdef VK_QCOM_render_pass_shader_resolve
358 #endif
359 #ifdef VK_EXT_global_priority
360 #endif
361 #ifdef VK_EXT_external_memory_host
362 #endif
363 #ifdef VK_AMD_buffer_marker
364 #endif
365 #ifdef VK_AMD_pipeline_compiler_control
366 #endif
367 #ifdef VK_EXT_calibrated_timestamps
368 #endif
369 #ifdef VK_AMD_shader_core_properties
370 #endif
371 #ifdef VK_AMD_memory_overallocation_behavior
372 #endif
373 #ifdef VK_EXT_vertex_attribute_divisor
374 #endif
375 #ifdef VK_GGP_frame_token
376 #endif
377 #ifdef VK_EXT_pipeline_creation_feedback
378 #endif
379 #ifdef VK_NV_shader_subgroup_partitioned
380 #endif
381 #ifdef VK_NV_compute_shader_derivatives
382 #endif
383 #ifdef VK_NV_mesh_shader
384 #endif
385 #ifdef VK_NV_fragment_shader_barycentric
386 #endif
387 #ifdef VK_NV_shader_image_footprint
388 #endif
389 #ifdef VK_NV_scissor_exclusive
390 #endif
391 #ifdef VK_NV_device_diagnostic_checkpoints
392 #endif
393 #ifdef VK_INTEL_shader_integer_functions2
394 #endif
395 #ifdef VK_INTEL_performance_query
396 #endif
397 #ifdef VK_EXT_pci_bus_info
398 #endif
399 #ifdef VK_AMD_display_native_hdr
400 #endif
401 #ifdef VK_FUCHSIA_imagepipe_surface
402 #endif
403 #ifdef VK_EXT_metal_surface
404 #endif
405 #ifdef VK_EXT_fragment_density_map
406 #endif
407 #ifdef VK_EXT_scalar_block_layout
408 #endif
409 #ifdef VK_GOOGLE_hlsl_functionality1
410 #endif
411 #ifdef VK_GOOGLE_decorate_string
412 #endif
413 #ifdef VK_EXT_subgroup_size_control
414 #endif
415 #ifdef VK_AMD_shader_core_properties2
416 #endif
417 #ifdef VK_AMD_device_coherent_memory
418 #endif
419 #ifdef VK_EXT_shader_image_atomic_int64
420 #endif
421 #ifdef VK_EXT_memory_budget
422 #endif
423 #ifdef VK_EXT_memory_priority
424 #endif
425 #ifdef VK_NV_dedicated_allocation_image_aliasing
426 #endif
427 #ifdef VK_EXT_buffer_device_address
428 #endif
429 #ifdef VK_EXT_tooling_info
430 #endif
431 #ifdef VK_EXT_separate_stencil_usage
432 #endif
433 #ifdef VK_EXT_validation_features
434 #endif
435 #ifdef VK_NV_cooperative_matrix
436 #endif
437 #ifdef VK_NV_coverage_reduction_mode
438 #endif
439 #ifdef VK_EXT_fragment_shader_interlock
440 #endif
441 #ifdef VK_EXT_ycbcr_image_arrays
442 #endif
443 #ifdef VK_EXT_full_screen_exclusive
444 #endif
445 #ifdef VK_EXT_headless_surface
446 #endif
447 #ifdef VK_EXT_line_rasterization
448 #endif
449 #ifdef VK_EXT_shader_atomic_float
450 #endif
451 #ifdef VK_EXT_host_query_reset
452 #endif
453 #ifdef VK_EXT_index_type_uint8
454 #endif
455 #ifdef VK_EXT_extended_dynamic_state
456 #endif
457 #ifdef VK_EXT_shader_demote_to_helper_invocation
458 #endif
459 #ifdef VK_NV_device_generated_commands
460 #endif
461 #ifdef VK_EXT_texel_buffer_alignment
462 #endif
463 #ifdef VK_QCOM_render_pass_transform
464 #endif
465 #ifdef VK_EXT_device_memory_report
466 #endif
467 #ifdef VK_EXT_robustness2
468 #endif
469 #ifdef VK_EXT_custom_border_color
470 #endif
471 #ifdef VK_GOOGLE_user_type
472 #endif
473 #ifdef VK_EXT_private_data
474 #endif
475 #ifdef VK_EXT_pipeline_creation_cache_control
476 #endif
477 #ifdef VK_NV_device_diagnostics_config
478 #endif
479 #ifdef VK_QCOM_render_pass_store_ops
480 #endif
481 #ifdef VK_NV_fragment_shading_rate_enums
482 #endif
483 #ifdef VK_EXT_fragment_density_map2
484 #endif
485 #ifdef VK_QCOM_rotated_copy_commands
486 #endif
487 #ifdef VK_EXT_image_robustness
488 #endif
489 #ifdef VK_EXT_4444_formats
490 #endif
491 #ifdef VK_EXT_directfb_surface
492 #endif
493 #ifdef VK_GOOGLE_gfxstream
494 #endif
495 #ifdef VK_KHR_acceleration_structure
496 #endif
497 #ifdef VK_KHR_ray_tracing_pipeline
498 #endif
499 #ifdef VK_KHR_ray_query
500 #endif
501 
502 } // namespace goldfish_vk
503