aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_private.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-20 16:04:17 +0000
committerEmil Velikov <[email protected]>2017-03-22 16:55:22 +0000
commitb27a883205156d9b5e13b84aebbcc4c679c5d71a (patch)
tree033132ac57acdd02742a45b145dda7abf12b832d /src/compiler/spirv/vtn_private.h
parente3de145fa26dadf43f6e14ed69aace6a550cd157 (diff)
spirv: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]> Acked-by: Vedran Miletić <[email protected]> Acked-by: Juha-Pekka Heikkila <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
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_ */