radv/meta: remove useless memset when destroying DCC retile state

There should be only one finish call.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30233>
This commit is contained in:
Samuel Pitoiset 2024-07-17 22:27:47 +02:00 committed by Marge Bot
parent 602bdda3a5
commit 5072848a2f

View file

@ -70,9 +70,6 @@ radv_device_finish_meta_dcc_retile_state(struct radv_device *device)
radv_DestroyPipelineLayout(radv_device_to_handle(device), state->dcc_retile.p_layout, &state->alloc);
device->vk.dispatch_table.DestroyDescriptorSetLayout(radv_device_to_handle(device), state->dcc_retile.ds_layout,
&state->alloc);
/* Reset for next finish. */
memset(&state->dcc_retile, 0, sizeof(state->dcc_retile));
}
/*