Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Vedran Miletić <vedran@miletic.net>
Acked-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
*
*/
-#pragma once
#ifndef BRW_CFG_H
#define BRW_CFG_H
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef BRW_COMPILER_H
+#define BRW_COMPILER_H
#include <stdio.h>
#include "common/gen_device_info.h"
#ifdef __cplusplus
} /* extern "C" */
#endif
+
+#endif /* BRW_COMPILER_H */
* IN THE SOFTWARE.
*/
+#ifndef BRW_DEAD_CONTROL_FLOW_H
+#define BRW_DEAD_CONTROL_FLOW_H
+
#include "brw_shader.h"
bool dead_control_flow_eliminate(backend_shader *s);
+
+#endif /* BRW_DEAD_CONTROL_FLOW_H */
*
*/
-#pragma once
+#ifndef BRW_FS_H
+#define BRW_FS_H
#include "brw_shader.h"
#include "brw_ir_fs.h"
enum brw_barycentric_mode brw_barycentric_mode(enum glsl_interp_mode mode,
nir_intrinsic_op op);
+
+#endif /* BRW_FS_H */
*
*/
+#ifndef BRW_FS_LIVE_VARIABLES_H
+#define BRW_FS_LIVE_VARIABLES_H
+
#include "brw_fs.h"
#include "util/bitset.h"
};
} /* namespace brw */
+
+#endif /* BRW_FS_LIVE_VARIABLES_H */
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef BRW_NIR_H
+#define BRW_NIR_H
#include "brw_reg.h"
#include "compiler/nir/nir.h"
#ifdef __cplusplus
}
#endif
+
+#endif /* BRW_NIR_H */
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef BRW_SHADER_H
+#define BRW_SHADER_H
#include <stdint.h>
#include "brw_reg.h"
#ifdef __cplusplus
}
#endif
+
+#endif /* BRW_SHADER_H */
*
*/
+#ifndef BRW_VEC4_LIVE_VARIABLES_H
+#define BRW_VEC4_LIVE_VARIABLES_H
+
#include "util/bitset.h"
#include "brw_vec4.h"
}
} /* namespace brw */
+
+#endif /* BRW_VEC4_LIVE_VARIABLES_H */