aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-20 16:04:38 +0000
committerEmil Velikov <[email protected]>2017-03-22 16:55:22 +0000
commit2438c0a236639e510716228ffd9578329185fe00 (patch)
tree55755b37aef4fc370e79a428ad15238a5c0009b8 /src/intel/compiler/brw_fs.h
parent868324419e7e98db0af01dad52660e735de20236 (diff)
intel/compiler: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]> Acked-by: Lionel Landwerlin <[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/intel/compiler/brw_fs.h')
-rw-r--r--src/intel/compiler/brw_fs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h
index 00861ce5dad..8a5525b786e 100644
--- a/src/intel/compiler/brw_fs.h
+++ b/src/intel/compiler/brw_fs.h
@@ -25,7 +25,8 @@
*
*/
-#pragma once
+#ifndef BRW_FS_H
+#define BRW_FS_H
#include "brw_shader.h"
#include "brw_ir_fs.h"
@@ -498,3 +499,5 @@ fs_reg setup_imm_df(const brw::fs_builder &bld,
enum brw_barycentric_mode brw_barycentric_mode(enum glsl_interp_mode mode,
nir_intrinsic_op op);
+
+#endif /* BRW_FS_H */