vkr: update venus-protocol

This allows individual headers to be included without warnings.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Ryan Neph <ryanneph@google.com>
macos/master
Chia-I Wu 3 years ago
parent 126ea70cc3
commit dcc4d58324
  1. 9
      src/venus/venus-protocol/vn_protocol_renderer.h
  2. 6
      src/venus/venus-protocol/vn_protocol_renderer_buffer.h
  3. 6
      src/venus/venus-protocol/vn_protocol_renderer_buffer_view.h
  4. 6
      src/venus/venus-protocol/vn_protocol_renderer_command_buffer.h
  5. 6
      src/venus/venus-protocol/vn_protocol_renderer_command_pool.h
  6. 5
      src/venus/venus-protocol/vn_protocol_renderer_cs.h
  7. 6
      src/venus/venus-protocol/vn_protocol_renderer_descriptor_pool.h
  8. 6
      src/venus/venus-protocol/vn_protocol_renderer_descriptor_set.h
  9. 6
      src/venus/venus-protocol/vn_protocol_renderer_descriptor_set_layout.h
  10. 6
      src/venus/venus-protocol/vn_protocol_renderer_descriptor_update_template.h
  11. 6
      src/venus/venus-protocol/vn_protocol_renderer_device.h
  12. 6
      src/venus/venus-protocol/vn_protocol_renderer_device_memory.h
  13. 6
      src/venus/venus-protocol/vn_protocol_renderer_event.h
  14. 6
      src/venus/venus-protocol/vn_protocol_renderer_fence.h
  15. 6
      src/venus/venus-protocol/vn_protocol_renderer_framebuffer.h
  16. 6
      src/venus/venus-protocol/vn_protocol_renderer_image.h
  17. 6
      src/venus/venus-protocol/vn_protocol_renderer_image_view.h
  18. 6
      src/venus/venus-protocol/vn_protocol_renderer_instance.h
  19. 6
      src/venus/venus-protocol/vn_protocol_renderer_pipeline.h
  20. 6
      src/venus/venus-protocol/vn_protocol_renderer_pipeline_cache.h
  21. 6
      src/venus/venus-protocol/vn_protocol_renderer_pipeline_layout.h
  22. 6
      src/venus/venus-protocol/vn_protocol_renderer_query_pool.h
  23. 6
      src/venus/venus-protocol/vn_protocol_renderer_queue.h
  24. 6
      src/venus/venus-protocol/vn_protocol_renderer_render_pass.h
  25. 6
      src/venus/venus-protocol/vn_protocol_renderer_sampler.h
  26. 6
      src/venus/venus-protocol/vn_protocol_renderer_sampler_ycbcr_conversion.h
  27. 6
      src/venus/venus-protocol/vn_protocol_renderer_semaphore.h
  28. 6
      src/venus/venus-protocol/vn_protocol_renderer_shader_module.h
  29. 6
      src/venus/venus-protocol/vn_protocol_renderer_structs.h
  30. 6
      src/venus/venus-protocol/vn_protocol_renderer_transport.h

@ -1,4 +1,4 @@
/* This file is generated by venus-protocol git-086a2445. */
/* This file is generated by venus-protocol git-f59e7aad. */
/*
* Copyright 2020 Google LLC
@ -8,11 +8,6 @@
#ifndef VN_PROTOCOL_RENDERER_H
#define VN_PROTOCOL_RENDERER_H
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include "vn_protocol_renderer_cs.h"
#include "vn_protocol_renderer_defines.h"
#include "vn_protocol_renderer_info.h"
@ -48,6 +43,4 @@
#include "vn_protocol_renderer_command_pool.h"
#include "vn_protocol_renderer_command_buffer.h"
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkExternalMemoryBufferCreateInfo chain */
static inline void *
@ -1061,4 +1065,6 @@ static inline void vn_dispatch_vkGetBufferDeviceAddress(struct vn_dispatch_conte
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_BUFFER_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkBufferViewCreateInfo chain */
static inline void *
@ -201,4 +205,6 @@ static inline void vn_dispatch_vkDestroyBufferView(struct vn_dispatch_context *c
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_BUFFER_VIEW_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkCommandBufferAllocateInfo chain */
static inline void *
@ -4926,4 +4930,6 @@ static inline void vn_dispatch_vkCmdDrawIndirectByteCountEXT(struct vn_dispatch_
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_COMMAND_BUFFER_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkCommandPoolCreateInfo chain */
static inline void *
@ -296,4 +300,6 @@ static inline void vn_dispatch_vkTrimCommandPool(struct vn_dispatch_context *ctx
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_COMMAND_POOL_H */

@ -38,6 +38,9 @@ struct vn_cs_decoder;
typedef vkr_object_id vn_object_id;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
static inline void
vn_cs_encoder_write(struct vn_cs_encoder *enc, size_t size, const void *val, size_t val_size)
{
@ -135,4 +138,6 @@ vn_decode(struct vn_cs_decoder *dec, size_t size, void *data, size_t data_size)
vn_cs_decoder_read(dec, size, data, data_size);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_CS_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkDescriptorPoolSize */
static inline void
@ -280,4 +284,6 @@ static inline void vn_dispatch_vkResetDescriptorPool(struct vn_dispatch_context
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_DESCRIPTOR_POOL_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/*
* These structs/unions/commands are not included
*
@ -612,4 +616,6 @@ static inline void vn_dispatch_vkUpdateDescriptorSets(struct vn_dispatch_context
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_DESCRIPTOR_SET_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkDescriptorSetLayoutBinding */
static inline void
@ -540,4 +544,6 @@ static inline void vn_dispatch_vkGetDescriptorSetLayoutSupport(struct vn_dispatc
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_DESCRIPTOR_SET_LAYOUT_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkDescriptorUpdateTemplateEntry */
static inline void
@ -243,4 +247,6 @@ static inline void vn_dispatch_vkDestroyDescriptorUpdateTemplate(struct vn_dispa
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_DESCRIPTOR_UPDATE_TEMPLATE_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/*
* These structs/unions/commands are not included
*
@ -9128,4 +9132,6 @@ static inline void vn_dispatch_vkGetDeviceQueue2(struct vn_dispatch_context *ctx
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_DEVICE_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/*
* These structs/unions/commands are not included
*
@ -1008,4 +1012,6 @@ static inline void vn_dispatch_vkGetDeviceMemoryOpaqueCaptureAddress(struct vn_d
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_DEVICE_MEMORY_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkEventCreateInfo chain */
static inline void *
@ -343,4 +347,6 @@ static inline void vn_dispatch_vkResetEvent(struct vn_dispatch_context *ctx, VkC
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_EVENT_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkExportFenceCreateInfo chain */
static inline void *
@ -459,4 +463,6 @@ static inline void vn_dispatch_vkWaitForFences(struct vn_dispatch_context *ctx,
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_FENCE_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkFramebufferAttachmentImageInfo chain */
static inline void *
@ -388,4 +392,6 @@ static inline void vn_dispatch_vkDestroyFramebuffer(struct vn_dispatch_context *
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_FRAMEBUFFER_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkSparseImageMemoryRequirements */
static inline void
@ -1713,4 +1717,6 @@ static inline void vn_dispatch_vkGetImageDrmFormatModifierPropertiesEXT(struct v
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_IMAGE_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkImageViewUsageCreateInfo chain */
static inline void *
@ -294,4 +298,6 @@ static inline void vn_dispatch_vkDestroyImageView(struct vn_dispatch_context *ct
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_IMAGE_VIEW_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/*
* These structs/unions/commands are not included
*
@ -509,4 +513,6 @@ static inline void vn_dispatch_vkEnumerateInstanceExtensionProperties(struct vn_
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_INSTANCE_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkSpecializationMapEntry */
static inline void
@ -1547,4 +1551,6 @@ static inline void vn_dispatch_vkDestroyPipeline(struct vn_dispatch_context *ctx
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_PIPELINE_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkPipelineCacheCreateInfo chain */
static inline void *
@ -348,4 +352,6 @@ static inline void vn_dispatch_vkMergePipelineCaches(struct vn_dispatch_context
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_PIPELINE_CACHE_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkPushConstantRange */
static inline void
@ -243,4 +247,6 @@ static inline void vn_dispatch_vkDestroyPipelineLayout(struct vn_dispatch_contex
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_PIPELINE_LAYOUT_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkQueryPoolCreateInfo chain */
static inline void *
@ -330,4 +334,6 @@ static inline void vn_dispatch_vkResetQueryPool(struct vn_dispatch_context *ctx,
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_QUERY_POOL_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkDeviceGroupSubmitInfo chain */
static inline void *
@ -943,4 +947,6 @@ static inline void vn_dispatch_vkQueueBindSparse(struct vn_dispatch_context *ctx
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_QUEUE_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkAttachmentDescription */
static inline void
@ -1442,4 +1446,6 @@ static inline void vn_dispatch_vkCreateRenderPass2(struct vn_dispatch_context *c
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_RENDER_PASS_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkSamplerReductionModeCreateInfo chain */
static inline void *
@ -314,4 +318,6 @@ static inline void vn_dispatch_vkDestroySampler(struct vn_dispatch_context *ctx,
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_SAMPLER_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkSamplerYcbcrConversionCreateInfo chain */
static inline void *
@ -207,4 +211,6 @@ static inline void vn_dispatch_vkDestroySamplerYcbcrConversion(struct vn_dispatc
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_SAMPLER_YCBCR_CONVERSION_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkExportSemaphoreCreateInfo chain */
static inline void *
@ -626,4 +630,6 @@ static inline void vn_dispatch_vkSignalSemaphore(struct vn_dispatch_context *ctx
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_SEMAPHORE_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/* struct VkShaderModuleCreateInfo chain */
static inline void *
@ -205,4 +209,6 @@ static inline void vn_dispatch_vkDestroyShaderModule(struct vn_dispatch_context
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_SHADER_MODULE_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_handles.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/*
* These structs/unions/commands are not included
*
@ -749,4 +753,6 @@ vn_decode_VkMemoryRequirements2_partial_temp(struct vn_cs_decoder *dec, VkMemory
vn_decode_VkMemoryRequirements2_self_partial_temp(dec, val);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_STRUCTS_H */

@ -10,6 +10,10 @@
#include "vn_protocol_renderer_structs.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-arith"
#pragma GCC diagnostic ignored "-Wunused-parameter"
/*
* These structs/unions/commands are not included
*
@ -736,4 +740,6 @@ static inline void vn_dispatch_vkGetVenusExperimentalFeatureData100000MESA(struc
vn_cs_decoder_reset_temp_pool(ctx->decoder);
}
#pragma GCC diagnostic pop
#endif /* VN_PROTOCOL_RENDERER_TRANSPORT_H */

Loading…
Cancel
Save