mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
tc: delete unused surface ref code
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40462>
This commit is contained in:
parent
0115fc92c6
commit
f1b09f7760
1 changed files with 0 additions and 8 deletions
|
|
@ -463,14 +463,6 @@ tc_drop_resource_reference(struct pipe_resource *dst)
|
|||
pipe_resource_destroy(dst);
|
||||
}
|
||||
|
||||
/* Unreference dst but don't touch the dst pointer. */
|
||||
static inline void
|
||||
tc_drop_surface_reference(struct pipe_surface *dst)
|
||||
{
|
||||
if (pipe_reference(&dst->reference, NULL)) /* only decrement refcount */
|
||||
dst->context->surface_destroy(dst->context, dst);
|
||||
}
|
||||
|
||||
/* Unreference dst but don't touch the dst pointer. */
|
||||
static inline void
|
||||
tc_drop_so_target_reference(struct pipe_stream_output_target *dst)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue