vkr: advertise large ring support

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
macos/master
Chia-I Wu 3 years ago
parent 9b8e4a6b50
commit bdcfbd0e67
  1. 2
      src/venus/venus-protocol/vn_protocol_renderer.h
  2. 1
      src/venus/venus-protocol/vn_protocol_renderer_defines.h
  3. 2
      src/venus/vkr_transport.c

@ -1,4 +1,4 @@
/* This file is generated by venus-protocol git-1117eb98. */ /* This file is generated by venus-protocol git-74c1c432. */
/* /*
* Copyright 2020 Google LLC * Copyright 2020 Google LLC

@ -319,6 +319,7 @@ typedef struct VkImportMemoryResourceInfoMESA {
typedef struct VkVenusExperimentalFeatures100000MESA { typedef struct VkVenusExperimentalFeatures100000MESA {
VkBool32 memoryResourceAllocationSize; VkBool32 memoryResourceAllocationSize;
VkBool32 globalFencing; VkBool32 globalFencing;
VkBool32 largeRing;
} VkVenusExperimentalFeatures100000MESA; } VkVenusExperimentalFeatures100000MESA;
typedef struct VkMemoryResourceAllocationSizeProperties100000MESA { typedef struct VkMemoryResourceAllocationSizeProperties100000MESA {

@ -312,6 +312,8 @@ vkr_dispatch_vkGetVenusExperimentalFeatureData100000MESA(
{ {
const VkVenusExperimentalFeatures100000MESA features = { const VkVenusExperimentalFeatures100000MESA features = {
.memoryResourceAllocationSize = VK_TRUE, .memoryResourceAllocationSize = VK_TRUE,
.globalFencing = VK_FALSE,
.largeRing = VK_TRUE,
}; };
vn_replace_vkGetVenusExperimentalFeatureData100000MESA_args_handle(args); vn_replace_vkGetVenusExperimentalFeatureData100000MESA_args_handle(args);

Loading…
Cancel
Save