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