summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_descriptor_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/radv_descriptor_set.h')
-rw-r--r--src/amd/vulkan/radv_descriptor_set.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_descriptor_set.h b/src/amd/vulkan/radv_descriptor_set.h
index cad1ccf..0674822 100644
--- a/src/amd/vulkan/radv_descriptor_set.h
+++ b/src/amd/vulkan/radv_descriptor_set.h
@@ -1,6 +1,6 @@
/*
* Copyright © 2016 Bas Nieuwenhuizen
- *
+ *
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
@@ -20,7 +20,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
-#pragma once
+
+#ifndef RADV_DESCRIPTOR_SET_H
+#define RADV_DESCRIPTOR_SET_H
#include <vulkan/vulkan.h>
@@ -79,3 +81,5 @@ struct radv_pipeline_layout {
unsigned char sha1[20];
};
+
+#endif /* RADV_DESCRIPTOR_SET_H */