diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com> | 2020-05-09 19:59:46 +0200 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-05-11 12:04:08 +0000 |
commit | dc57fb7095b5041e4f3a4cae2bafd56369e10212 (patch) | |
tree | 58f05806c4b2e8442c382e1738a62e1ec525ff22 /gst-libs/gst/vulkan | |
parent | 79e65951a90eebfa496cae35b76b4b9eaa92931e (diff) | |
download | gstreamer-plugins-bad-dc57fb7095b5041e4f3a4cae2bafd56369e10212.tar.gz |
vulkan: Drop use of VK_RESULT_BEGIN_RANGE
This was removed in Vulkan 1.2.140.
> Shortly after 2020-04-24, we will be removing the automatically
> generated `VK_*_BEGIN_RANGE`, `VK_*_END_RANGE`, and `VK_*_RANGE_SIZE`
> tokens from the Vulkan headers. These tokens are currently defined for
> some enumerated types, but are explicitly not part of the Vulkan API.
> They existed only to support some Vulkan implementation internals,
> which no longer require them. We will be accepting comments on this
> topic in [#1230], but we strongly suggest any external projects using
> these tokens immediately migrate away from them.
[#1230]: https://github.com/KhronosGroup/Vulkan-Docs/issues/1230
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1255>
Diffstat (limited to 'gst-libs/gst/vulkan')
-rw-r--r-- | gst-libs/gst/vulkan/gstvkerror.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gst-libs/gst/vulkan/gstvkerror.c b/gst-libs/gst/vulkan/gstvkerror.c index a51450506..5fff48c25 100644 --- a/gst-libs/gst/vulkan/gstvkerror.c +++ b/gst-libs/gst/vulkan/gstvkerror.c @@ -27,7 +27,7 @@ #include "gstvkerror.h" /* *INDENT-OFF* */ -static const struct +static const struct { VkResult result; const char *str; @@ -63,8 +63,6 @@ _vk_result_to_string (VkResult result) if (result >= 0) return NULL; - if (result < VK_RESULT_BEGIN_RANGE) - return "Unknown Error"; for (i = 0; i < G_N_ELEMENTS (vk_result_string_map); i++) { if (result == vk_result_string_map[i].result) |