projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1249937
)
nvk: Add include guards to nvk_bo_sync.h
author
Faith Ekstrand
<faith.ekstrand@collabora.com>
Wed, 6 Sep 2023 15:35:02 +0000
(10:35 -0500)
committer
Marge Bot
<emma+marge@anholt.net>
Wed, 6 Sep 2023 17:05:58 +0000
(17:05 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25085>
src/nouveau/vulkan/nvk_bo_sync.h
patch
|
blob
|
history
diff --git
a/src/nouveau/vulkan/nvk_bo_sync.h
b/src/nouveau/vulkan/nvk_bo_sync.h
index
990e743
..
efd4eca
100644
(file)
--- a/
src/nouveau/vulkan/nvk_bo_sync.h
+++ b/
src/nouveau/vulkan/nvk_bo_sync.h
@@
-1,3
+1,6
@@
+#ifndef NVK_BO_SYNC_H
+#define NVK_BO_SYNC_H 1
+
#include "nvk_private.h"
#include "vulkan/runtime/vk_sync.h"
@@
-23,3
+26,5
@@
nvk_create_sync_for_memory(struct vk_device *device,
VkDeviceMemory memory,
bool signal_memory,
struct vk_sync **sync_out);
+
+#endif /* NVK_BO_SYNC_H */