tgsi_to_nir: add #ifdef header guards
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
e5209e6a95
commit
7fc5919793
|
@ -21,6 +21,9 @@
|
||||||
* IN THE SOFTWARE.
|
* IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef TGSI_TO_NIR_H
|
||||||
|
#define TGSI_TO_NIR_H
|
||||||
|
|
||||||
#include "compiler/nir/nir.h"
|
#include "compiler/nir/nir.h"
|
||||||
#include "pipe/p_screen.h"
|
#include "pipe/p_screen.h"
|
||||||
|
|
||||||
|
@ -31,3 +34,5 @@ tgsi_to_nir(const void *tgsi_tokens,
|
||||||
struct nir_shader *
|
struct nir_shader *
|
||||||
tgsi_to_nir_noscreen(const void *tgsi_tokens,
|
tgsi_to_nir_noscreen(const void *tgsi_tokens,
|
||||||
const nir_shader_compiler_options *options);
|
const nir_shader_compiler_options *options);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue