Mesa (lp-binning): llvmpipe: initialize setup data store

Keith Whitwell keithw at kemper.freedesktop.org
Fri Oct 9 13:37:44 UTC 2009


Module: Mesa
Branch: lp-binning
Commit: 082b3b0a895615a60a7eae40fea14bf231960dba
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=082b3b0a895615a60a7eae40fea14bf231960dba

Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Oct  9 14:36:41 2009 +0100

llvmpipe: initialize setup data store

---

 src/gallium/drivers/llvmpipe/lp_setup.c |    3 +++
 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 4783986..336a8b4 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;




More information about the mesa-commit mailing list