summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_texture.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-05-09 14:07:24 +0200
committerSamuel Pitoiset <[email protected]>2017-06-14 10:04:36 +0200
commit32b4aa34999c756e82d69472c67dbdd01e1f4fb0 (patch)
treec42955a6f87e1e949eea992556f811c1e3fe7025 /src/mesa/state_tracker/st_texture.h
parent9c1558d222cc51f0fa96198773186130a3752302 (diff)
st/mesa: make convert_sampler_from_unit() non-static
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_texture.h')
-rw-r--r--src/mesa/state_tracker/st_texture.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h
index 3931cbad5a6..cd6a73c7703 100644
--- a/src/mesa/state_tracker/st_texture.h
+++ b/src/mesa/state_tracker/st_texture.h
@@ -273,6 +273,11 @@ st_convert_sampler(const struct st_context *st,
const struct gl_sampler_object *msamp,
struct pipe_sampler_state *sampler);
+void
+st_convert_sampler_from_unit(const struct st_context *st,
+ struct pipe_sampler_state *sampler,
+ GLuint texUnit);
+
GLboolean
st_update_single_texture(struct st_context *st,
struct pipe_sampler_view **sampler_view,