[Mesa-dev] [PATCH 05/10] util/set: add a clone function

2018-06-27 Thread Caio Marcelo de Oliveira Filho
--- src/util/set.c | 23 +++ src/util/set.h | 3 +++ 2 files changed, 26 insertions(+) diff --git a/src/util/set.c b/src/util/set.c index 2c9b09319ff..b2aa5ba13d5 100644 --- a/src/util/set.c +++ b/src/util/set.c @@ -34,6 +34,7 @@ #include #include +#include #include

Re: [Mesa-dev] [PATCH 05/10] util/set: add a clone function

2018-07-05 Thread Eric Anholt
Caio Marcelo de Oliveira Filho writes: > --- Could you add a little unit test with it? Maybe make a table with a couple entries and a deleted entry, and verify that the clone has both entries and not the deleted one? I tend to try to create the API in both hash and set at the same time. If I g

Re: [Mesa-dev] [PATCH 05/10] util/set: add a clone function

2018-07-09 Thread Caio Marcelo de Oliveira Filho
On Thu, Jul 05, 2018 at 01:55:51PM -0700, Eric Anholt wrote: > Caio Marcelo de Oliveira Filho writes: > > > --- > > Could you add a little unit test with it? Maybe make a table with a > couple entries and a deleted entry, and verify that the clone has both > entries and not the deleted one? Do