diff options
Diffstat (limited to 'meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch')
| -rw-r--r-- | meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch new file mode 100644 index 0000000000..40aea8f203 --- /dev/null +++ b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 1b7646ced0f0b969f818084887885827ed1a4244 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 31 May 2021 17:31:33 -0700 | ||
| 4 | Subject: [PATCH] vulkancts: Include missing <cstdint> | ||
| 5 | |||
| 6 | Fixes build with gcc-13 | ||
| 7 | |||
| 8 | ../git/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp:2798:102: error: 'uintptr_t' in namespace 'std' does not name a type | ||
| 9 | 2798 | BufferDataType type = static_cast<BufferDataType>(reinterpret_cast<std::uintptr_t>(expectedOutputs[resultIndex].getUserData())); | ||
| 10 | | ^~~~~~~~~ | ||
| 11 | |||
| 12 | Upstream-Status: Submitted [https://github.com/KhronosGroup/VK-GL-CTS/pull/378] | ||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | .../vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp | ||
| 19 | index ab02be1dc..3d3ee4829 100644 | ||
| 20 | --- a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp | ||
| 21 | +++ b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp | ||
| 22 | @@ -33,6 +33,7 @@ | ||
| 23 | #include "deFloat16.h" | ||
| 24 | #include "vkQueryUtil.hpp" | ||
| 25 | #include "vkRefUtil.hpp" | ||
| 26 | +#include <cstdint> | ||
| 27 | #include <cstring> | ||
| 28 | #include <vector> | ||
| 29 | #include <limits> | ||
| 30 | -- | ||
| 31 | 2.39.1 | ||
| 32 | |||
