summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/llvmtgsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/llvm/llvmtgsi.h')
-rw-r--r--src/mesa/pipe/llvm/llvmtgsi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/llvmtgsi.h b/src/mesa/pipe/llvm/llvmtgsi.h
index 2b9540f747..40798f9217 100644
--- a/src/mesa/pipe/llvm/llvmtgsi.h
+++ b/src/mesa/pipe/llvm/llvmtgsi.h
@@ -7,6 +7,8 @@ extern "C" {
#include "pipe/p_state.h"
+#ifdef MESA_LLVM
+
struct tgsi_exec_machine;
struct tgsi_token;
struct tgsi_sampler;
@@ -29,6 +31,8 @@ int ga_llvm_prog_exec(struct ga_llvm_prog *prog,
void ga_llvm_prog_dump(struct ga_llvm_prog *prog, const char *file_prefix);
+#endif /* MESA_LLVM */
+
#if defined __cplusplus
} // extern "C"
#endif