On Thu, Jul 05, 2018 at 01:55:51PM -0700, Eric Anholt wrote: > Caio Marcelo de Oliveira Filho <caio.olive...@intel.com> 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?
Done. > I tend to try to create the API in both hash and set at the same time. > If I get around to putting your changes up in the source project, I will. Got it. In this case _mesa_hash_table_clone already exists. Thanks, Caio _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev