summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Hu <bohu@google.com>2021-11-16 17:51:39 +0000
committerBo Hu <bohu@google.com>2021-11-16 17:51:39 +0000
commitc70e5f5c33700364cc97c9b4aacfa8bf1ab699e3 (patch)
tree56051253aab9f47e8e4fa691ed63b5b53cff3b5c
parente8ba6c0b883677853187314be8480acc85206165 (diff)
downloadgfxstream-protocols-c70e5f5c33700364cc97c9b4aacfa8bf1ab699e3.tar.gz
Revert "macOS: Remove Vulkan cereal marshaling / decoding code f..."
Revert submission 1890497 Reason for revert: broke mac build Reverted Changes: I85d03d2a6:cmake: Remove architecture specifiers for some com... I931213a8a:macOS: Add macOS support to Vulkan unittests. I467ca422d:macOS: Remove Vulkan cereal marshaling / decoding ... Change-Id: I79ad3e745ae6bf0880eefe6b62c58622edef6f8e
-rw-r--r--registry/vulkan/xml/cereal/decoder.py3
-rw-r--r--registry/vulkan/xml/cereal/marshalingdefs.py10
2 files changed, 0 insertions, 13 deletions
diff --git a/registry/vulkan/xml/cereal/decoder.py b/registry/vulkan/xml/cereal/decoder.py
index ba514ee0..f83a3876 100644
--- a/registry/vulkan/xml/cereal/decoder.py
+++ b/registry/vulkan/xml/cereal/decoder.py
@@ -711,9 +711,6 @@ custom_decodes = {
# VK_KHR_xcb_surface
"vkCreateXcbSurfaceKHR": decode_unsupported_api,
"vkGetPhysicalDeviceXcbPresentationSupportKHR": decode_unsupported_api,
-
- # VK_EXT_metal_surface
- "vkCreateMetalSurfaceEXT": decode_unsupported_api,
}
class VulkanDecoder(VulkanWrapperGenerator):
diff --git a/registry/vulkan/xml/cereal/marshalingdefs.py b/registry/vulkan/xml/cereal/marshalingdefs.py
index a351d86d..83a03ab0 100644
--- a/registry/vulkan/xml/cereal/marshalingdefs.py
+++ b/registry/vulkan/xml/cereal/marshalingdefs.py
@@ -414,14 +414,4 @@ __builtin_trap();
"reservedmarshaling": "",
"reservedunmarshaling": "",
},
- "VkMetalSurfaceCreateInfoEXT": {
- "common": """
-// This struct should never be marshaled / unmarshaled.
-__builtin_trap();
-""",
- "marshaling": "",
- "unmarshaling": "",
- "reservedmarshaling": "",
- "reservedunmarshaling": "",
- },
}