vkr: update venus-protocol headers

1. hide git hash from most generated files
2. fix VkImportMemoryResourceInfoMESA definition

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
macos/master
Yiwei Zhang 3 years ago committed by Chia-I Wu
parent 60f4d7b253
commit 8501f0c0a6
  1. 2
      src/venus-protocol/vn_protocol_renderer.h
  2. 2
      src/venus-protocol/vn_protocol_renderer_buffer.h
  3. 2
      src/venus-protocol/vn_protocol_renderer_buffer_view.h
  4. 2
      src/venus-protocol/vn_protocol_renderer_command_buffer.h
  5. 2
      src/venus-protocol/vn_protocol_renderer_command_pool.h
  6. 2
      src/venus-protocol/vn_protocol_renderer_cs.h
  7. 2
      src/venus-protocol/vn_protocol_renderer_defines.h
  8. 2
      src/venus-protocol/vn_protocol_renderer_descriptor_pool.h
  9. 2
      src/venus-protocol/vn_protocol_renderer_descriptor_set.h
  10. 2
      src/venus-protocol/vn_protocol_renderer_descriptor_set_layout.h
  11. 2
      src/venus-protocol/vn_protocol_renderer_descriptor_update_template.h
  12. 2
      src/venus-protocol/vn_protocol_renderer_device.h
  13. 69
      src/venus-protocol/vn_protocol_renderer_device_memory.h
  14. 2
      src/venus-protocol/vn_protocol_renderer_dispatches.h
  15. 2
      src/venus-protocol/vn_protocol_renderer_event.h
  16. 2
      src/venus-protocol/vn_protocol_renderer_fence.h
  17. 2
      src/venus-protocol/vn_protocol_renderer_framebuffer.h
  18. 2
      src/venus-protocol/vn_protocol_renderer_handles.h
  19. 2
      src/venus-protocol/vn_protocol_renderer_image.h
  20. 2
      src/venus-protocol/vn_protocol_renderer_image_view.h
  21. 2
      src/venus-protocol/vn_protocol_renderer_info.h
  22. 2
      src/venus-protocol/vn_protocol_renderer_instance.h
  23. 2
      src/venus-protocol/vn_protocol_renderer_pipeline.h
  24. 2
      src/venus-protocol/vn_protocol_renderer_pipeline_cache.h
  25. 2
      src/venus-protocol/vn_protocol_renderer_pipeline_layout.h
  26. 2
      src/venus-protocol/vn_protocol_renderer_query_pool.h
  27. 2
      src/venus-protocol/vn_protocol_renderer_queue.h
  28. 2
      src/venus-protocol/vn_protocol_renderer_render_pass.h
  29. 2
      src/venus-protocol/vn_protocol_renderer_sampler.h
  30. 2
      src/venus-protocol/vn_protocol_renderer_sampler_ycbcr_conversion.h
  31. 2
      src/venus-protocol/vn_protocol_renderer_semaphore.h
  32. 2
      src/venus-protocol/vn_protocol_renderer_shader_module.h
  33. 2
      src/venus-protocol/vn_protocol_renderer_structs.h
  34. 2
      src/venus-protocol/vn_protocol_renderer_transport.h
  35. 2
      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 git-0f26f4b9. */
/* /*
* Copyright 2020 Google LLC * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC
@ -244,6 +244,62 @@ vn_replace_VkMemoryOpaqueCaptureAddressAllocateInfo_handle(VkMemoryOpaqueCapture
} while (pnext); } 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 */ /* struct VkMemoryAllocateInfo chain */
static inline void * 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); vn_decode_VkMemoryOpaqueCaptureAddressAllocateInfo_self_temp(dec, (VkMemoryOpaqueCaptureAddressAllocateInfo *)pnext);
} }
break; 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: default:
/* unexpected struct */ /* unexpected struct */
pnext = NULL; pnext = NULL;
@ -350,6 +414,9 @@ vn_replace_VkMemoryAllocateInfo_handle(VkMemoryAllocateInfo *val)
case VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO: case VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO:
vn_replace_VkMemoryOpaqueCaptureAddressAllocateInfo_handle_self((VkMemoryOpaqueCaptureAddressAllocateInfo *)pnext); vn_replace_VkMemoryOpaqueCaptureAddressAllocateInfo_handle_self((VkMemoryOpaqueCaptureAddressAllocateInfo *)pnext);
break; break;
case VK_STRUCTURE_TYPE_IMPORT_MEMORY_RESOURCE_INFO_MESA:
vn_replace_VkImportMemoryResourceInfoMESA_handle_self((VkImportMemoryResourceInfoMESA *)pnext);
break;
default: default:
/* ignore unknown/unsupported struct */ /* ignore unknown/unsupported struct */
break; break;

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

@ -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 * Copyright 2020 Google LLC

Loading…
Cancel
Save