summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_decoder.h
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-09-28 23:57:45 +0100
committerLionel Landwerlin <[email protected]>2017-10-06 17:32:34 +0100
commit0763f814d7b5cb4da945d9211faab47e8523fdad (patch)
tree2c60cdfc6b386956a23bacc7af6e7276d036ebad /src/gallium/auxiliary/vl/vl_decoder.h
parentd296dea54e243c41c2b3fbe631f7bcb87db6ae8c (diff)
anv/cmd_buffer: Reset state in cmd_buffer_destroy
This ensures that everything gets cleaned up properly. In particular, it fixes a memory leak where we were leaking the push constants structs. Valgrind stats on dEQP-VK.pipeline.push_constant.graphics_pipeline.range_size_128 : Before: HEAP SUMMARY: in use at exit: 2,467,513 bytes in 1,305 blocks total heap usage: 697,853 allocs, 696,530 frees, 138,466,600 bytes allocated LEAK SUMMARY: definitely lost: 1,068 bytes in 11 blocks indirectly lost: 24,669 bytes in 412 blocks possibly lost: 0 bytes in 0 blocks still reachable: 2,441,776 bytes in 882 blocks suppressed: 0 bytes in 0 blocks After: HEAP SUMMARY: in use at exit: 2,467,381 bytes in 1,304 blocks total heap usage: 697,853 allocs, 696,531 frees, 138,466,600 bytes allocated LEAK SUMMARY: definitely lost: 936 bytes in 10 blocks indirectly lost: 24,669 bytes in 412 blocks possibly lost: 0 bytes in 0 blocks still reachable: 2,441,776 bytes in 882 blocks suppressed: 0 bytes in 0 blocks Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Cc: "17.2 17.1" <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_decoder.h')
0 files changed, 0 insertions, 0 deletions