summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-10-09 14:36:41 +0100
committerKeith Whitwell <[email protected]>2009-10-09 14:36:41 +0100
commit082b3b0a895615a60a7eae40fea14bf231960dba (patch)
treedab398feed28a8817e25bac8f9c4baf9d635edb1
parent163a31952c903034c8a70213b344e1b2ef287270 (diff)
llvmpipe: initialize setup data store
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c
index 47839869ac6..336a8b4e5b5 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup.c
@@ -568,6 +568,9 @@ lp_setup_create( struct pipe_screen *screen )
setup->tile[i][j].head =
setup->tile[i][j].tail = CALLOC_STRUCT(cmd_block);
+ setup->data.head =
+ setup->data.tail = CALLOC_STRUCT(data_block);
+
setup->triangle = first_triangle;
setup->line = first_line;
setup->point = first_point;