summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_state.h
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-10-31 06:51:19 -0400
committerZack Rusin <zack@tungstengraphics.com>2007-11-02 07:15:17 -0400
commit7ff0df6c2bf11a36bc6101e361484bde57595a79 (patch)
tree62c3b8911fa5d35e5e9d524db3e8775e9799b1f6 /src/mesa/pipe/softpipe/sp_state.h
parentd8e66aca8443c6802ecd8f1a353024ed1d0f32c3 (diff)
Renaming llvmtgsi to gallivm. Taking first steps on the way to supporting
fragment shaders through llvm.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_state.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_state.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_state.h b/src/mesa/pipe/softpipe/sp_state.h
index 676ad06bfc..2f096a9cc9 100644
--- a/src/mesa/pipe/softpipe/sp_state.h
+++ b/src/mesa/pipe/softpipe/sp_state.h
@@ -35,6 +35,10 @@
#include "x86/rtasm/x86sse.h"
+#ifdef MESA_LLVM
+struct gallivm_prog;
+#endif
+
/**
* Softpipe fs state is derived from pipe_shader_state.
*/
@@ -43,6 +47,9 @@ struct sp_fragment_shader_state {
#if defined(__i386__) || defined(__386__)
struct x86_function sse2_program;
#endif
+#ifdef MESA_LLVM
+ struct gallivm_prog *llvm_prog;
+#endif
};
void *