OSDN Git Service

nir: add helper for cloning nir_cf_list
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 25 Aug 2016 02:48:57 +0000 (12:48 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 22 Dec 2016 23:15:36 +0000 (10:15 +1100)
commitf8407a5398db040ab698503eab26b59982fe1a10
tree277d6c728fdfbbe0c2374fcf775cd5fa2ea5d25c
parentb84dfa0f628717f62b58db94c88123325ef542cd
nir: add helper for cloning nir_cf_list

V2:
- updated to create a generic list clone helper nir_cf_list_clone()
- continue to assert on clone when fallback flag not set as suggested
  by Jason.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_clone.c
src/compiler/nir/nir_control_flow.h