From 5cb7bbce179c51407626ff55bbd32fc5d850105d Mon Sep 17 00:00:00 2001 From: Serdar Kocdemir Date: Sat, 15 Jun 2024 01:49:42 +0100 Subject: [PATCH] Add VK_EXT_debug_report extension support This extension is enabled from the platform side via the Android loader and the applications using the functions or structures of it would crash even if they check the support of the extension. Guest callback addresses within the structures of this extension cannot be used and are already being removed when creating the instances. Reviewed-by: Aaron Ruby Acked-by: Yonggang Luo Acked-by: Adam Jackson Part-of: --- src/gfxstream/codegen/scripts/cerealgenerator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gfxstream/codegen/scripts/cerealgenerator.py b/src/gfxstream/codegen/scripts/cerealgenerator.py index 3e3422c6a9a..cb23590e9cc 100644 --- a/src/gfxstream/codegen/scripts/cerealgenerator.py +++ b/src/gfxstream/codegen/scripts/cerealgenerator.py @@ -42,6 +42,7 @@ SUPPORTED_FEATURES = [ "VK_KHR_external_memory_capabilities", "VK_KHR_external_fence_capabilities", "VK_EXT_debug_utils", + "VK_EXT_debug_report", "VK_EXT_validation_features", # Device extensions "VK_KHR_storage_buffer_storage_class", @@ -151,6 +152,7 @@ HOST_MODULES = ["goldfish_vk_extension_structs", "goldfish_vk_marshaling", # shouldn't generate a function table entry since it's an internal interface. SUPPORTED_MODULES = { "VK_EXT_debug_utils": HOST_MODULES, + "VK_EXT_debug_report": HOST_MODULES, "VK_EXT_validation_features": HOST_MODULES, "VK_KHR_surface": ["goldfish_vk_dispatch"], "VK_KHR_xcb_surface": ["goldfish_vk_dispatch"],