gallium/u_threaded: drop unused function
tc_drop_sampler_view_reference is unused. It was introduced in340703e0and its last usage was dropped inbb89cf4bf3Fixes a compile warning with clang Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14252>
This commit is contained in:
committed by
Marge Bot
parent
2a5b867594
commit
887b838632
@@ -159,14 +159,6 @@ tc_drop_surface_reference(struct pipe_surface *dst)
|
||||
dst->context->surface_destroy(dst->context, dst);
|
||||
}
|
||||
|
||||
/* Unreference dst but don't touch the dst pointer. */
|
||||
static inline void
|
||||
tc_drop_sampler_view_reference(struct pipe_sampler_view *dst)
|
||||
{
|
||||
if (pipe_reference(&dst->reference, NULL)) /* only decrement refcount */
|
||||
dst->context->sampler_view_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)
|
||||
|
||||
Reference in New Issue
Block a user