llvmpipe: set block count/used values back to zero on reset

This commit is contained in:
Keith Whitwell 2009-10-09 15:29:10 +01:00
parent da1808ccc9
commit f406ffaea6

View file

@ -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: