summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/spirv/vtn_private.h')
-rw-r--r--src/compiler/spirv/vtn_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h
index cc866295274..5769c0c6cd2 100644
--- a/src/compiler/spirv/vtn_private.h
+++ b/src/compiler/spirv/vtn_private.h
@@ -25,6 +25,9 @@
*
*/
+#ifndef _VTN_PRIVATE_H_
+#define _VTN_PRIVATE_H_
+
#include "nir/nir.h"
#include "nir/nir_builder.h"
#include "nir/nir_array.h"
@@ -496,3 +499,5 @@ vtn_u64_literal(const uint32_t *w)
{
return (uint64_t)w[1] << 32 | w[0];
}
+
+#endif /* _VTN_PRIVATE_H_ */