mesa/src/intel
Jason Ekstrand 934f178341 anv/descriptor_set: Don't fully destroy sets in pool destroy/reset
In 105002bd2d, we fixed a memory leak bug where we weren't properly
destroying descriptor when destroying/resetting a descriptor pool.
However, the only real leak that happened was that we we take a
reference to the descriptor set layout in the descriptor set and we
weren't dropping our reference.  Everything else in the descriptor set
is tied to the pool itself and doesn't need to be freed on a per-set
basis.  This commit changes the destroy/reset functions to only bother
walking the list of sets to unref the layouts and otherwise we just
assume that the whole-pool destroy/reset takes care of the rest.

Now that we're doing more non-trivial things with descriptor sets such
as allocating things with util_vma_heap, per-set destruction is starting
to show up on perf traces.  This takes reset back to where it's supposed
to be as a cheap whole-pool operation.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-04-26 05:40:28 +00:00
..
blorp intel: Emit 3DSTATE_VF_STATISTICS dynamically 2019-04-14 19:58:04 -07:00
common intel/mi_builder: Disable mem_mem tests on IVB 2019-04-16 12:59:12 -05:00
compiler intel/fs: Don't handle texop_tex for shaders without implicit LOD 2019-04-25 12:13:06 -07:00
dev intel: workaround VS fixed function issue on Gen9 GT1 parts 2019-04-23 13:41:20 +08:00
genxml iris: implement WaEnableStateCacheRedirectToCS 2019-04-18 17:43:08 +01:00
isl intel/isl: Resize clear color buffer to full cacheline 2019-04-24 08:56:42 +03:00
perf i965: fix icelake performance query enabling 2019-04-25 01:11:54 +00:00
tools intel/tools: Remove redundant definitions of INTEL_DEBUG 2019-04-10 13:15:33 -07:00
vulkan anv/descriptor_set: Don't fully destroy sets in pool destroy/reset 2019-04-26 05:40:28 +00:00
Android.blorp.mk
Android.common.mk android: static link with libexpat with Android O+ 2019-03-25 10:11:57 +02:00
Android.compiler.mk
Android.dev.mk drm-uapi: use local files, not system libdrm 2019-02-14 11:20:00 +00:00
Android.genxml.mk
Android.isl.mk android: intel/isl: remove redundant building rules 2019-02-22 07:56:11 +02:00
Android.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.perf.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.vulkan.mk android: static link with libexpat with Android O+ 2019-03-25 10:11:57 +02:00
Makefile.perf.am i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Makefile.sources intel/compiler: add a NIR pass to lower conversions 2019-04-18 11:05:18 +02:00
meson.build i965: extract performance query metrics 2019-04-17 14:10:42 +01:00