summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-11-06 00:35:17 +0000
committerDave Airlie <[email protected]>2017-11-06 01:03:47 +0000
commitf0ae06a13c1a60f58de77401f705eaf620b5b822 (patch)
tree298dce43ddb8c2370412816fec48279f9bb5934d /src/amd/vulkan/radv_private.h
parent608af05ffbba21fe4dcfa4907d40c7958913d090 (diff)
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 <[email protected]> Cc: "17.2 17.3" <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
0 files changed, 0 insertions, 0 deletions