summaryrefslogtreecommitdiff
path: root/tools/gfx/vulkan
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-10-26 03:22:01 +0800
committerGitHub <noreply@github.com>2023-10-25 12:22:01 -0700
commit1a8216b7cd6f272253e7381bc520c65b7dd38b24 (patch)
tree9865d2dcf28d7a56a13c665563f8adc0fa96de04 /tools/gfx/vulkan
parente04abb54bc69d90a503852d60a89e8bac7b60ec8 (diff)
Fix warnings for gcc 12.3 (#3286)
* Silence a few gcc out of bounds warnings * Search upwards from executable for prelude directory instead of assuming depth * comment wording * Check return values of read and write * Correct path to vulkan headers in gfx * Correct diagnostic on missing file in slang-embed * Do not use absolute path to libraries in test-context.cpp --------- Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/gfx/vulkan')
-rw-r--r--tools/gfx/vulkan/vk-module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/vulkan/vk-module.h b/tools/gfx/vulkan/vk-module.h
index 5e67a0a7f..97a0c8aba 100644
--- a/tools/gfx/vulkan/vk-module.h
+++ b/tools/gfx/vulkan/vk-module.h
@@ -13,7 +13,7 @@
#define VK_NO_PROTOTYPES
-#include <vulkan/include/vulkan/vulkan.h>
+#include <vulkan/vulkan.h>
// Undef xlib macros
#ifdef Always