vk: Call finish for binding table state stream
authorKristian Høgsberg <kristian.h.kristensen@intel.com>
Tue, 19 May 2015 04:11:40 +0000 (21:11 -0700)
committerKristian Høgsberg <kristian.h.kristensen@intel.com>
Tue, 19 May 2015 04:12:13 +0000 (21:12 -0700)
src/vulkan/device.c

index a26986b658ae3fb22e24b056f0acda735620734d..f6578d01341378ce2062763e2086da05a9872339 100644 (file)
@@ -926,6 +926,7 @@ anv_cmd_buffer_destructor(struct anv_device *   device,
    
    anv_state_stream_finish(&cmd_buffer->surface_state_stream);
    anv_state_stream_finish(&cmd_buffer->dynamic_state_stream);
+   anv_state_stream_finish(&cmd_buffer->binding_table_state_stream);
    anv_batch_finish(&cmd_buffer->batch, device);
    anv_device_free(device, cmd_buffer->exec2_objects);
    anv_device_free(device, cmd_buffer->exec2_bos);