summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_state.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-23 05:52:20 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:41 +0100
commit08dd41fd6899bd6b3289d30dc31f8b2998406889 (patch)
tree06e983e67d5c99eadd59a418b568082175bc8bbb /src/gallium/drivers/llvmpipe/lp_state.h
parent97b4681d7e1ccf40d1584436ade7c70fc1893e27 (diff)
llvmpipe: Centralize the C <-> JIT interfaces in one place.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state.h b/src/gallium/drivers/llvmpipe/lp_state.h
index 2b1f2e452d..fb10329887 100644
--- a/src/gallium/drivers/llvmpipe/lp_state.h
+++ b/src/gallium/drivers/llvmpipe/lp_state.h
@@ -35,6 +35,7 @@
#include "pipe/p_state.h"
#include "tgsi/tgsi_scan.h"
+#include "lp_jit.h"
#define LP_NEW_VIEWPORT 0x1
@@ -58,19 +59,6 @@ struct tgsi_sampler;
struct vertex_info;
-typedef void
-(*lp_shader_fs_func)(uint32_t x,
- uint32_t y,
- const void *a0,
- const void *dadx,
- const void *dady,
- const void *consts,
- uint32_t *mask,
- void *color,
- void *depth,
- struct tgsi_sampler **samplers);
-
-
struct lp_fragment_shader;
@@ -90,7 +78,7 @@ struct lp_fragment_shader_variant
LLVMValueRef function;
- lp_shader_fs_func jit_function;
+ lp_jit_frag_func jit_function;
struct lp_fragment_shader_variant *next;
};