Module: Mesa Branch: lp-binning Commit: f406ffaea62005157f56ea17709291326c4dca8a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f406ffaea62005157f56ea17709291326c4dca8a
Author: Keith Whitwell <[email protected]> Date: Fri Oct 9 15:29:10 2009 +0100 llvmpipe: set block count/used values back to zero on reset --- src/gallium/drivers/llvmpipe/lp_setup.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index 793b71e..03c5479 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -115,6 +115,7 @@ static void reset_context( struct setup_context *setup ) } list->head = list->tail; + list->head->count = 0; } } @@ -130,6 +131,7 @@ static void reset_context( struct setup_context *setup ) } list->head = list->tail; + list->head->used = 0; } /* Reset some state: _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
