diff --git a/src/venus-protocol/vn_protocol_renderer.h b/src/venus-protocol/vn_protocol_renderer.h index 1222eef..200d126 100644 --- a/src/venus-protocol/vn_protocol_renderer.h +++ b/src/venus-protocol/vn_protocol_renderer.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol git-0f26f4b9. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_buffer.h b/src/venus-protocol/vn_protocol_renderer_buffer.h index 0fb8134..4554469 100644 --- a/src/venus-protocol/vn_protocol_renderer_buffer.h +++ b/src/venus-protocol/vn_protocol_renderer_buffer.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_buffer_view.h b/src/venus-protocol/vn_protocol_renderer_buffer_view.h index 8bca1e6..816e733 100644 --- a/src/venus-protocol/vn_protocol_renderer_buffer_view.h +++ b/src/venus-protocol/vn_protocol_renderer_buffer_view.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_command_buffer.h b/src/venus-protocol/vn_protocol_renderer_command_buffer.h index c6f9d6f..aadb144 100644 --- a/src/venus-protocol/vn_protocol_renderer_command_buffer.h +++ b/src/venus-protocol/vn_protocol_renderer_command_buffer.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_command_pool.h b/src/venus-protocol/vn_protocol_renderer_command_pool.h index 1ce0cde..476616f 100644 --- a/src/venus-protocol/vn_protocol_renderer_command_pool.h +++ b/src/venus-protocol/vn_protocol_renderer_command_pool.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_cs.h b/src/venus-protocol/vn_protocol_renderer_cs.h index d3d02c6..d0c1c57 100644 --- a/src/venus-protocol/vn_protocol_renderer_cs.h +++ b/src/venus-protocol/vn_protocol_renderer_cs.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_defines.h b/src/venus-protocol/vn_protocol_renderer_defines.h index 155268a..5ebe0d5 100644 --- a/src/venus-protocol/vn_protocol_renderer_defines.h +++ b/src/venus-protocol/vn_protocol_renderer_defines.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_descriptor_pool.h b/src/venus-protocol/vn_protocol_renderer_descriptor_pool.h index 4542871..2719c92 100644 --- a/src/venus-protocol/vn_protocol_renderer_descriptor_pool.h +++ b/src/venus-protocol/vn_protocol_renderer_descriptor_pool.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_descriptor_set.h b/src/venus-protocol/vn_protocol_renderer_descriptor_set.h index d3a7392..ed8934f 100644 --- a/src/venus-protocol/vn_protocol_renderer_descriptor_set.h +++ b/src/venus-protocol/vn_protocol_renderer_descriptor_set.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_descriptor_set_layout.h b/src/venus-protocol/vn_protocol_renderer_descriptor_set_layout.h index 0fa0599..e6476d6 100644 --- a/src/venus-protocol/vn_protocol_renderer_descriptor_set_layout.h +++ b/src/venus-protocol/vn_protocol_renderer_descriptor_set_layout.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_descriptor_update_template.h b/src/venus-protocol/vn_protocol_renderer_descriptor_update_template.h index 9cdd097..16282eb 100644 --- a/src/venus-protocol/vn_protocol_renderer_descriptor_update_template.h +++ b/src/venus-protocol/vn_protocol_renderer_descriptor_update_template.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_device.h b/src/venus-protocol/vn_protocol_renderer_device.h index 73c2475..5d5b60b 100644 --- a/src/venus-protocol/vn_protocol_renderer_device.h +++ b/src/venus-protocol/vn_protocol_renderer_device.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_device_memory.h b/src/venus-protocol/vn_protocol_renderer_device_memory.h index 233890f..dd95f73 100644 --- a/src/venus-protocol/vn_protocol_renderer_device_memory.h +++ b/src/venus-protocol/vn_protocol_renderer_device_memory.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC @@ -244,6 +244,62 @@ vn_replace_VkMemoryOpaqueCaptureAddressAllocateInfo_handle(VkMemoryOpaqueCapture } while (pnext); } +/* struct VkImportMemoryResourceInfoMESA chain */ + +static inline void * +vn_decode_VkImportMemoryResourceInfoMESA_pnext_temp(struct vn_cs_decoder *dec) +{ + /* no known/supported struct */ + if (vn_decode_simple_pointer(dec)) + vn_cs_decoder_set_fatal(dec); + return NULL; +} + +static inline void +vn_decode_VkImportMemoryResourceInfoMESA_self_temp(struct vn_cs_decoder *dec, VkImportMemoryResourceInfoMESA *val) +{ + /* skip val->{sType,pNext} */ + vn_decode_uint32_t(dec, &val->resourceId); +} + +static inline void +vn_decode_VkImportMemoryResourceInfoMESA_temp(struct vn_cs_decoder *dec, VkImportMemoryResourceInfoMESA *val) +{ + VkStructureType stype; + vn_decode_VkStructureType(dec, &stype); + assert(stype == VK_STRUCTURE_TYPE_IMPORT_MEMORY_RESOURCE_INFO_MESA); + + val->sType = stype; + val->pNext = vn_decode_VkImportMemoryResourceInfoMESA_pnext_temp(dec); + vn_decode_VkImportMemoryResourceInfoMESA_self_temp(dec, val); +} + +static inline void +vn_replace_VkImportMemoryResourceInfoMESA_handle_self(VkImportMemoryResourceInfoMESA *val) +{ + /* skip val->sType */ + /* skip val->pNext */ + /* skip val->resourceId */ +} + +static inline void +vn_replace_VkImportMemoryResourceInfoMESA_handle(VkImportMemoryResourceInfoMESA *val) +{ + struct VkBaseOutStructure *pnext = (struct VkBaseOutStructure *)val; + + do { + switch ((int32_t)pnext->sType) { + case VK_STRUCTURE_TYPE_IMPORT_MEMORY_RESOURCE_INFO_MESA: + vn_replace_VkImportMemoryResourceInfoMESA_handle_self((VkImportMemoryResourceInfoMESA *)pnext); + break; + default: + /* ignore unknown/unsupported struct */ + break; + } + pnext = pnext->pNext; + } while (pnext); +} + /* struct VkMemoryAllocateInfo chain */ static inline void * @@ -289,6 +345,14 @@ vn_decode_VkMemoryAllocateInfo_pnext_temp(struct vn_cs_decoder *dec) vn_decode_VkMemoryOpaqueCaptureAddressAllocateInfo_self_temp(dec, (VkMemoryOpaqueCaptureAddressAllocateInfo *)pnext); } break; + case VK_STRUCTURE_TYPE_IMPORT_MEMORY_RESOURCE_INFO_MESA: + pnext = vn_cs_decoder_alloc_temp(dec, sizeof(VkImportMemoryResourceInfoMESA)); + if (pnext) { + pnext->sType = stype; + pnext->pNext = vn_decode_VkMemoryAllocateInfo_pnext_temp(dec); + vn_decode_VkImportMemoryResourceInfoMESA_self_temp(dec, (VkImportMemoryResourceInfoMESA *)pnext); + } + break; default: /* unexpected struct */ pnext = NULL; @@ -350,6 +414,9 @@ vn_replace_VkMemoryAllocateInfo_handle(VkMemoryAllocateInfo *val) case VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO: vn_replace_VkMemoryOpaqueCaptureAddressAllocateInfo_handle_self((VkMemoryOpaqueCaptureAddressAllocateInfo *)pnext); break; + case VK_STRUCTURE_TYPE_IMPORT_MEMORY_RESOURCE_INFO_MESA: + vn_replace_VkImportMemoryResourceInfoMESA_handle_self((VkImportMemoryResourceInfoMESA *)pnext); + break; default: /* ignore unknown/unsupported struct */ break; diff --git a/src/venus-protocol/vn_protocol_renderer_dispatches.h b/src/venus-protocol/vn_protocol_renderer_dispatches.h index 3021cf6..3364694 100644 --- a/src/venus-protocol/vn_protocol_renderer_dispatches.h +++ b/src/venus-protocol/vn_protocol_renderer_dispatches.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_event.h b/src/venus-protocol/vn_protocol_renderer_event.h index f89ae79..e01d2ea 100644 --- a/src/venus-protocol/vn_protocol_renderer_event.h +++ b/src/venus-protocol/vn_protocol_renderer_event.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_fence.h b/src/venus-protocol/vn_protocol_renderer_fence.h index c947812..98fda26 100644 --- a/src/venus-protocol/vn_protocol_renderer_fence.h +++ b/src/venus-protocol/vn_protocol_renderer_fence.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_framebuffer.h b/src/venus-protocol/vn_protocol_renderer_framebuffer.h index cf0b427..04b6f1d 100644 --- a/src/venus-protocol/vn_protocol_renderer_framebuffer.h +++ b/src/venus-protocol/vn_protocol_renderer_framebuffer.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_handles.h b/src/venus-protocol/vn_protocol_renderer_handles.h index fd56a00..fbe31b6 100644 --- a/src/venus-protocol/vn_protocol_renderer_handles.h +++ b/src/venus-protocol/vn_protocol_renderer_handles.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_image.h b/src/venus-protocol/vn_protocol_renderer_image.h index 90cd13e..6925d8a 100644 --- a/src/venus-protocol/vn_protocol_renderer_image.h +++ b/src/venus-protocol/vn_protocol_renderer_image.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_image_view.h b/src/venus-protocol/vn_protocol_renderer_image_view.h index eec756e..6cc6b7b 100644 --- a/src/venus-protocol/vn_protocol_renderer_image_view.h +++ b/src/venus-protocol/vn_protocol_renderer_image_view.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_info.h b/src/venus-protocol/vn_protocol_renderer_info.h index 38a64cd..1e56f1b 100644 --- a/src/venus-protocol/vn_protocol_renderer_info.h +++ b/src/venus-protocol/vn_protocol_renderer_info.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_instance.h b/src/venus-protocol/vn_protocol_renderer_instance.h index 52414c1..82150f6 100644 --- a/src/venus-protocol/vn_protocol_renderer_instance.h +++ b/src/venus-protocol/vn_protocol_renderer_instance.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_pipeline.h b/src/venus-protocol/vn_protocol_renderer_pipeline.h index 85da431..590f861 100644 --- a/src/venus-protocol/vn_protocol_renderer_pipeline.h +++ b/src/venus-protocol/vn_protocol_renderer_pipeline.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_pipeline_cache.h b/src/venus-protocol/vn_protocol_renderer_pipeline_cache.h index 7b835e0..6e1d7f4 100644 --- a/src/venus-protocol/vn_protocol_renderer_pipeline_cache.h +++ b/src/venus-protocol/vn_protocol_renderer_pipeline_cache.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_pipeline_layout.h b/src/venus-protocol/vn_protocol_renderer_pipeline_layout.h index ba6b776..7dbb1a7 100644 --- a/src/venus-protocol/vn_protocol_renderer_pipeline_layout.h +++ b/src/venus-protocol/vn_protocol_renderer_pipeline_layout.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_query_pool.h b/src/venus-protocol/vn_protocol_renderer_query_pool.h index c8ca87b..f061265 100644 --- a/src/venus-protocol/vn_protocol_renderer_query_pool.h +++ b/src/venus-protocol/vn_protocol_renderer_query_pool.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_queue.h b/src/venus-protocol/vn_protocol_renderer_queue.h index 6e2db6d..a9d313a 100644 --- a/src/venus-protocol/vn_protocol_renderer_queue.h +++ b/src/venus-protocol/vn_protocol_renderer_queue.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_render_pass.h b/src/venus-protocol/vn_protocol_renderer_render_pass.h index 9bf0721..ef1b4cb 100644 --- a/src/venus-protocol/vn_protocol_renderer_render_pass.h +++ b/src/venus-protocol/vn_protocol_renderer_render_pass.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_sampler.h b/src/venus-protocol/vn_protocol_renderer_sampler.h index dca0879..b54a3d9 100644 --- a/src/venus-protocol/vn_protocol_renderer_sampler.h +++ b/src/venus-protocol/vn_protocol_renderer_sampler.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_sampler_ycbcr_conversion.h b/src/venus-protocol/vn_protocol_renderer_sampler_ycbcr_conversion.h index b5a22b8..2613c19 100644 --- a/src/venus-protocol/vn_protocol_renderer_sampler_ycbcr_conversion.h +++ b/src/venus-protocol/vn_protocol_renderer_sampler_ycbcr_conversion.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_semaphore.h b/src/venus-protocol/vn_protocol_renderer_semaphore.h index e2f8b3f..c9927ed 100644 --- a/src/venus-protocol/vn_protocol_renderer_semaphore.h +++ b/src/venus-protocol/vn_protocol_renderer_semaphore.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_shader_module.h b/src/venus-protocol/vn_protocol_renderer_shader_module.h index 0959d30..3e79c98 100644 --- a/src/venus-protocol/vn_protocol_renderer_shader_module.h +++ b/src/venus-protocol/vn_protocol_renderer_shader_module.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_structs.h b/src/venus-protocol/vn_protocol_renderer_structs.h index 9f08e0d..a361217 100644 --- a/src/venus-protocol/vn_protocol_renderer_structs.h +++ b/src/venus-protocol/vn_protocol_renderer_structs.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_transport.h b/src/venus-protocol/vn_protocol_renderer_transport.h index e241b97..8e1c24b 100644 --- a/src/venus-protocol/vn_protocol_renderer_transport.h +++ b/src/venus-protocol/vn_protocol_renderer_transport.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC diff --git a/src/venus-protocol/vn_protocol_renderer_types.h b/src/venus-protocol/vn_protocol_renderer_types.h index 666fc79..a49c64c 100644 --- a/src/venus-protocol/vn_protocol_renderer_types.h +++ b/src/venus-protocol/vn_protocol_renderer_types.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-e05ae158. */ +/* This file is generated by venus-protocol. See vn_protocol_renderer.h. */ /* * Copyright 2020 Google LLC