From: Marek Olšák Date: Thu, 26 Sep 2019 23:34:31 +0000 (-0400) Subject: tgsi_to_nir: add #ifdef header guards X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fc59197937cceb5670b36f5304d942c26be3f18;p=mesa.git tgsi_to_nir: add #ifdef header guards Reviewed-by: Timothy Arceri Reviewed-by: Kenneth Graunke --- 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