Update Vulkan headers to 1.1 (flutter/engine#6806)
This commit is contained in:
4
DEPS
4
DEPS
@@ -370,9 +370,9 @@ deps = {
|
||||
'src/third_party/gyp':
|
||||
Var('chromium_git') + '/external/gyp.git' + '@' + '4801a5331ae62da9769a327f11c4213d32fb0dad',
|
||||
|
||||
# Headers for Vulkan 1.0
|
||||
# Headers for Vulkan 1.1
|
||||
'src/third_party/vulkan':
|
||||
Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'e29c2489e238509c41aeb8c7bce9d669a496344b',
|
||||
Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'v1.1.91',
|
||||
|
||||
'src/third_party/pkg/when':
|
||||
Var('dart_git') + '/when.git' + '@' + '0.2.0',
|
||||
|
||||
@@ -1903,8 +1903,8 @@ class RepositoryVulkanDirectory extends RepositoryDirectory {
|
||||
|
||||
@override
|
||||
bool shouldRecurse(fs.IoNode entry) {
|
||||
return entry.name != 'doc' // documentation
|
||||
&& entry.name != 'out' // documentation
|
||||
// Flutter only uses the headers in the include directory.
|
||||
return entry.name == 'include'
|
||||
&& super.shouldRecurse(entry);
|
||||
}
|
||||
|
||||
|
||||
@@ -62,6 +62,10 @@ std::string VulkanResultToString(VkResult result) {
|
||||
return "VK_RESULT_RANGE_SIZE";
|
||||
case VK_RESULT_MAX_ENUM:
|
||||
return "VK_RESULT_MAX_ENUM";
|
||||
case VK_ERROR_INVALID_EXTERNAL_HANDLE:
|
||||
return "VK_ERROR_INVALID_EXTERNAL_HANDLE";
|
||||
case VK_ERROR_OUT_OF_POOL_MEMORY:
|
||||
return "VK_ERROR_OUT_OF_POOL_MEMORY";
|
||||
|
||||
#if VK_HEADER_VERSION >= 63
|
||||
case VK_ERROR_NOT_PERMITTED_EXT:
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
#include "flutter/vulkan/vulkan_native_surface_android.h"
|
||||
|
||||
#include <android/native_window.h>
|
||||
|
||||
#include "third_party/skia/include/gpu/vk/GrVkBackendContext.h"
|
||||
|
||||
namespace vulkan {
|
||||
|
||||
Reference in New Issue
Block a user