mesa/src
Dave Airlie 23eaeeb88a radv: free attachments on end command buffer.
If we allocate attachments in the begin command buffer due to the
render pass continue bit, we were leaking them.

Since renderpasses inside a cmd buffer malloc/free these properly,
and set to NULL, we just need to call free at end.

Fixes a memory leak with multithreading demo.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "17.2 17.3" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit f0ae06a13c)
[Andres Gomez: resolve trivial conflicts]
Signed-off-by: Andres Gomez <agomez@igalia.com>

Conflicts:
	src/amd/vulkan/radv_cmd_buffer.c
2017-11-07 18:35:54 +02:00
..
amd radv: free attachments on end command buffer. 2017-11-07 18:35:54 +02:00
broadcom broadcom: correct header file in BROADCOM_FILES 2017-07-24 01:40:05 +03:00
compiler nir/opt_intrinsics: Fix values for gl_SubGroupG{e,t}MaskARB 2017-11-07 18:35:53 +02:00
egl wayland-drm: use a copy of the wayland_drm_callbacks struct 2017-10-17 16:59:31 +01:00
gallium i915g: make gears run again. 2017-11-07 18:35:54 +02:00
gbm gbm: fix typo 2017-07-19 15:51:54 +01:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx glxcmds: Fix a typo in the __APPLE__ codepath 2017-08-17 15:48:20 -07:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel intel/compiler/gen9: Pixel shader header only workaround 2017-11-07 18:35:53 +02:00
loader dri3: Wait for all pending swapbuffers to be scheduled before touching the front 2017-08-05 00:09:25 +01:00
mapi mapi: add missing no_error tag to glBlitNamedFramebuffer() 2017-07-18 10:07:34 +02:00
mesa i965: Check CCS_E compatibility for texture view rendering 2017-11-07 18:35:53 +02:00
util util/queue: fix a race condition in the fence code 2017-10-11 17:22:55 +01:00
vulkan vulkan/wsi: Free the event in x11_manage_fifo_queues(). 2017-10-27 18:04:59 +03:00
Makefile.am build systems: move git_sha1_gen.sh to bin/ 2017-07-06 22:59:39 +01:00
SConscript scons: use python3-compatible print() 2017-10-17 16:59:31 +01:00