mesa/st: make st_texture_get_current_sampler_view static

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
(cherry picked from commit 22ed7c8230)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40488>
This commit is contained in:
Mike Blumenkrantz 2026-03-11 12:14:51 -04:00 committed by Eric Engestrom
parent f7d31e8681
commit 56b5152152
3 changed files with 2 additions and 6 deletions

View file

@ -1014,7 +1014,7 @@
"description": "mesa/st: make st_texture_get_current_sampler_view static",
"nominated": false,
"nomination_type": 0,
"resolution": 4,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

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,