summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_setup_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-09 10:44:07 +0100
committerKeith Whitwell <keithw@vmware.com>2009-10-09 10:44:07 +0100
commit415b271b5100d64579690111bc8eb549866865a7 (patch)
tree9edce30a8e4e33a3e62c779422292f5ff4f1b5e0 /src/gallium/drivers/llvmpipe/lp_setup_context.h
parent47510040a68f5f672aee22eac6c01fb4dd60ec67 (diff)
llvmpipe: hook up some state, add stub line and point functions
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_context.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_context.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_context.h b/src/gallium/drivers/llvmpipe/lp_setup_context.h
index 7410ac70b8..9411f14cfb 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_context.h
+++ b/src/gallium/drivers/llvmpipe/lp_setup_context.h
@@ -83,6 +83,9 @@ struct setup_context {
unsigned tiles_x;
unsigned tiles_y;
+
+ boolean ccw_is_frontface;
+ unsigned cullmode;
struct {
struct pipe_surface *cbuf;
@@ -147,9 +150,9 @@ static INLINE void *get_data( struct data_block_list *list,
/* Add a command to a given bin.
*/
-static INLINE void bin_cmd( struct cmd_block_list *list,
- lp_rast_cmd cmd,
- const union lp_rast_cmd_arg *arg )
+static INLINE void bin_command( struct cmd_block_list *list,
+ lp_rast_cmd cmd,
+ const union lp_rast_cmd_arg *arg )
{
if (list->tail->count == CMD_BLOCK_MAX) {
lp_setup_new_cmd_block( list );