summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-10-08 23:08:41 +0100
committerKeith Whitwell <[email protected]>2009-10-08 23:08:41 +0100
commit253dfed93918bd87c4a55047a9d569ede545f8be (patch)
tree2d2872ab638122f084f631c18bb90f0546881f10 /src/gallium/drivers/llvmpipe/lp_setup.h
parent1814395b7ef3506935ae1f12630cdd602e15cd55 (diff)
llvmpipe: get lp_setup compiling
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.h b/src/gallium/drivers/llvmpipe/lp_setup.h
index 7c813070b95..04f9f878926 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.h
+++ b/src/gallium/drivers/llvmpipe/lp_setup.h
@@ -37,8 +37,15 @@ enum lp_interp {
LP_INTERP_FACING
};
+struct lp_shader_input {
+ enum lp_interp interp;
+ unsigned vs_output;
+};
+
struct pipe_texture;
+struct pipe_surface;
struct setup_context;
+struct lp_jit_context;
struct setup_context *
lp_setup_create( void );
@@ -83,12 +90,12 @@ lp_setup_set_triangle_state( struct setup_context *setup,
void
lp_setup_set_fs_inputs( struct setup_context *setup,
- const enum lp_interp *interp,
+ const struct lp_shader_input *interp,
unsigned nr );
void
lp_setup_set_shader_state( struct setup_context *setup,
- const struct jit_context *jc );
+ const struct lp_jit_context *jc );
boolean
lp_setup_is_texture_referenced( struct setup_context *setup,