projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5209e6
)
tgsi_to_nir: add #ifdef header guards
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 26 Sep 2019 23:34:31 +0000
(19:34 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 10 Oct 2019 19:49:18 +0000
(15:49 -0400)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/auxiliary/nir/tgsi_to_nir.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/nir/tgsi_to_nir.h
b/src/gallium/auxiliary/nir/tgsi_to_nir.h
index 551ee917c8ad0e7d72859bf0a214c718e9b29f12..666fdf5b1ea1ed4710895c0b0679af6f1a7f64e6 100644
(file)
--- 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