summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_state.h
diff options
context:
space:
mode:
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 2b1f2e452db..fb10329887d 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;
};