From 7fc59197937cceb5670b36f5304d942c26be3f18 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 26 Sep 2019 19:34:31 -0400 Subject: [PATCH] tgsi_to_nir: add #ifdef header guards Reviewed-by: Timothy Arceri Reviewed-by: Kenneth Graunke --- src/gallium/auxiliary/nir/tgsi_to_nir.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.h b/src/gallium/auxiliary/nir/tgsi_to_nir.h index 551ee917c8a..666fdf5b1ea 100644 --- a/src/gallium/auxiliary/nir/tgsi_to_nir.h +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.h @@ -21,6 +21,9 @@ * IN THE SOFTWARE. */ +#ifndef TGSI_TO_NIR_H +#define TGSI_TO_NIR_H + #include "compiler/nir/nir.h" #include "pipe/p_screen.h" @@ -31,3 +34,5 @@ tgsi_to_nir(const void *tgsi_tokens, struct nir_shader * tgsi_to_nir_noscreen(const void *tgsi_tokens, const nir_shader_compiler_options *options); + +#endif -- 2.30.2