radv: Use vk_descriptor_set_layout
Use the common ref counting and the common destroy entrypoint. Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17818>
This commit is contained in:

committed by
Marge Bot

parent
da2233a108
commit
19f8d33876
@@ -601,8 +601,8 @@ radv_device_finish_meta_resolve_fragment_state(struct radv_device *device)
|
||||
radv_DestroyPipeline(radv_device_to_handle(device),
|
||||
state->resolve_fragment.stencil_zero_pipeline, &state->alloc);
|
||||
|
||||
radv_DestroyDescriptorSetLayout(radv_device_to_handle(device), state->resolve_fragment.ds_layout,
|
||||
&state->alloc);
|
||||
device->vk.dispatch_table.DestroyDescriptorSetLayout(
|
||||
radv_device_to_handle(device), state->resolve_fragment.ds_layout, &state->alloc);
|
||||
radv_DestroyPipelineLayout(radv_device_to_handle(device), state->resolve_fragment.p_layout,
|
||||
&state->alloc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user