vkr: update venus-protocol to 1.2.182

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
macos/master
Chia-I Wu 3 years ago
parent d6ebb60f20
commit 6b4c2b1b70
  1. 2
      src/venus-protocol/vk_platform.h
  2. 2
      src/venus-protocol/vn_protocol_renderer.h
  3. 2
      src/venus-protocol/vn_protocol_renderer_info.h
  4. 28
      src/venus-protocol/vn_protocol_renderer_structs.h
  5. 14
      src/venus-protocol/vn_protocol_renderer_types.h
  6. 7
      src/venus-protocol/vulkan.h
  7. 1158
      src/venus-protocol/vulkan_core.h

@ -2,7 +2,7 @@
// File: vk_platform.h // File: vk_platform.h
// //
/* /*
** Copyright (c) 2014-2020 The Khronos Group Inc. ** Copyright 2014-2021 The Khronos Group Inc.
** **
** SPDX-License-Identifier: Apache-2.0 ** SPDX-License-Identifier: Apache-2.0
*/ */

@ -1,4 +1,4 @@
/* This file is generated by venus-protocol git-3854cba2. */ /* This file is generated by venus-protocol git-752e13f6. */
/* /*
* Copyright 2020 Google LLC * Copyright 2020 Google LLC

@ -19,7 +19,7 @@ vn_info_wire_format_version(void)
static inline uint32_t static inline uint32_t
vn_info_vk_xml_version(void) vn_info_vk_xml_version(void)
{ {
return VK_MAKE_VERSION(1, 2, 168); return VK_MAKE_API_VERSION(0, 1, 2, 182);
} }
static inline int static inline int

@ -82,6 +82,16 @@ vn_encode_VkExtensionProperties(struct vn_cs_encoder *enc, const VkExtensionProp
vn_encode_uint32_t(enc, &val->specVersion); vn_encode_uint32_t(enc, &val->specVersion);
} }
static inline void
vn_decode_VkExtensionProperties_temp(struct vn_cs_decoder *dec, VkExtensionProperties *val)
{
{
const size_t array_size = vn_decode_array_size(dec, VK_MAX_EXTENSION_NAME_SIZE);
vn_decode_blob_array(dec, val->extensionName, array_size);
}
vn_decode_uint32_t(dec, &val->specVersion);
}
static inline void static inline void
vn_decode_VkExtensionProperties_partial_temp(struct vn_cs_decoder *dec, VkExtensionProperties *val) vn_decode_VkExtensionProperties_partial_temp(struct vn_cs_decoder *dec, VkExtensionProperties *val)
{ {
@ -89,6 +99,13 @@ vn_decode_VkExtensionProperties_partial_temp(struct vn_cs_decoder *dec, VkExtens
/* skip val->specVersion */ /* skip val->specVersion */
} }
static inline void
vn_replace_VkExtensionProperties_handle(VkExtensionProperties *val)
{
/* skip val->extensionName */
/* skip val->specVersion */
}
/* struct VkMemoryRequirements */ /* struct VkMemoryRequirements */
static inline void static inline void
@ -459,6 +476,17 @@ vn_replace_VkSamplerYcbcrConversionInfo_handle(VkSamplerYcbcrConversionInfo *val
/* struct VkViewport */ /* struct VkViewport */
static inline void
vn_encode_VkViewport(struct vn_cs_encoder *enc, const VkViewport *val)
{
vn_encode_float(enc, &val->x);
vn_encode_float(enc, &val->y);
vn_encode_float(enc, &val->width);
vn_encode_float(enc, &val->height);
vn_encode_float(enc, &val->minDepth);
vn_encode_float(enc, &val->maxDepth);
}
static inline void static inline void
vn_decode_VkViewport_temp(struct vn_cs_decoder *dec, VkViewport *val) vn_decode_VkViewport_temp(struct vn_cs_decoder *dec, VkViewport *val)
{ {

@ -722,6 +722,20 @@ vn_decode_VkQueryResultFlagBits(struct vn_cs_decoder *dec, VkQueryResultFlagBits
vn_decode_int32_t(dec, (int32_t *)val); vn_decode_int32_t(dec, (int32_t *)val);
} }
/* enum VkEventCreateFlagBits */
static inline void
vn_encode_VkEventCreateFlagBits(struct vn_cs_encoder *enc, const VkEventCreateFlagBits *val)
{
vn_encode_int32_t(enc, (const int32_t *)val);
}
static inline void
vn_decode_VkEventCreateFlagBits(struct vn_cs_decoder *dec, VkEventCreateFlagBits *val)
{
vn_decode_int32_t(dec, (int32_t *)val);
}
/* enum VkCommandPoolCreateFlagBits */ /* enum VkCommandPoolCreateFlagBits */
static inline void static inline void

@ -2,7 +2,7 @@
#define VULKAN_H_ 1 #define VULKAN_H_ 1
/* /*
** Copyright (c) 2015-2020 The Khronos Group Inc. ** Copyright 2015-2021 The Khronos Group Inc.
** **
** SPDX-License-Identifier: Apache-2.0 ** SPDX-License-Identifier: Apache-2.0
*/ */
@ -80,6 +80,11 @@
#endif #endif
#ifdef VK_USE_PLATFORM_SCREEN_QNX
#include <screen/screen.h>
#include "vulkan_screen.h"
#endif
#ifdef VK_ENABLE_BETA_EXTENSIONS #ifdef VK_ENABLE_BETA_EXTENSIONS
#include "vulkan_beta.h" #include "vulkan_beta.h"
#endif #endif

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save