diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-06-08 17:00:19 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-06-09 02:04:57 +0530 |
commit | bb2a104d83a8a913bbaeb1c96f40deb81b3259b2 (patch) | |
tree | 636c84939e5fe845998e71c673f5be5a60e6a17e /recipes/gst-plugins-bad-1.0.recipe | |
parent | f83e23a52b52a578d606082cb7c1922021f59e4d (diff) |
moltenvk: Fix deprecation warnings on macOS
```
In file included from ../sys/applemedia/videotexturecache-vulkan.mm:43:
build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:225:1: error: 'MTLTextureSwizzle' is only available on macOS 10.15 or newer [-Werror,-Wunguarded-availability-new]
MTLTextureSwizzle mvkMTLTextureSwizzleFromVkComponentSwizzle(VkComponentSwizzle vkSwizzle);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h:38:26: note: 'MTLTextureSwizzle' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
typedef NS_ENUM(uint8_t, MTLTextureSwizzle) {
^
build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:225:19: note: annotate 'mvkMTLTextureSwizzleFromVkComponentSwizzle' with an availability attribute to silence this warning
MTLTextureSwizzle mvkMTLTextureSwizzleFromVkComponentSwizzle(VkComponentSwizzle vkSwizzle);
^
build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:228:1: error: 'MTLTextureSwizzleChannels' is only available on macOS 10.15 or newer [-Werror,-Wunguarded-availability-new]
MTLTextureSwizzleChannels mvkMTLTextureSwizzleChannelsFromVkComponentMapping(VkComponentMapping vkMapping);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h:53:3: note: 'MTLTextureSwizzleChannels' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
} MTLTextureSwizzleChannels API_AVAILABLE(macos(10.15), ios(13.0));
^
build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:228:27: note: annotate 'mvkMTLTextureSwizzleChannelsFromVkComponentMapping' with an availability attribute to silence this warning
MTLTextureSwizzleChannels mvkMTLTextureSwizzleChannelsFromVkComponentMapping(VkComponentMapping vkMapping);
^
build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:364:1: error: 'MTLMultisampleDepthResolveFilter' is only available on macOS 10.14 or newer [-Werror,-Wunguarded-availability-new]
MTLMultisampleDepthResolveFilter mvkMTLMultisampleDepthResolveFilterFromVkResolveModeFlagBits(VkResolveModeFlagBits vkResolveMode);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h:145:29: note: 'MTLMultisampleDepthResolveFilter' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.13.0
typedef NS_ENUM(NSUInteger, MTLMultisampleDepthResolveFilter)
^
build/dist/darwin_universal/include/MoltenVK/mvk_datatypes.h:364:34: note: annotate 'mvkMTLMultisampleDepthResolveFilterFromVkResolveModeFlagBits' with an availability attribute to silence this warning
MTLMultisampleDepthResolveFilter mvkMTLMultisampleDepthResolveFilterFromVkResolveModeFlagBits(VkResolveModeFlagBits vkResolveMode);
^
3 errors generated.
```
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1117>
Diffstat (limited to 'recipes/gst-plugins-bad-1.0.recipe')
0 files changed, 0 insertions, 0 deletions