mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
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>
This commit is contained in:
parent
79e65951a9
commit
dc57fb7095
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue