mesa/st: make st_texture_get_current_sampler_view static

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40353>
This commit is contained in:
Mike Blumenkrantz 2026-03-11 12:14:51 -04:00 committed by Marge Bot
parent 514e0d7de7
commit 22ed7c8230
2 changed files with 1 additions and 5 deletions

View file

@ -166,7 +166,7 @@ out:
*
* Performs no additional validation.
*/
struct st_sampler_view *
static struct st_sampler_view *
st_texture_get_current_sampler_view(const struct st_context *st,
const struct gl_texture_object *stObj)
{

View file

@ -66,10 +66,6 @@ void
st_delete_texture_sampler_views(struct st_context *st,
struct gl_texture_object *stObj);
struct st_sampler_view *
st_texture_get_current_sampler_view(const struct st_context *st,
const struct gl_texture_object *stObj);
struct pipe_sampler_view *
st_get_texture_sampler_view_from_stobj(struct st_context *st,
struct gl_texture_object *stObj,