summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_texture.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-05-15 14:15:40 +0200
committerSamuel Pitoiset <[email protected]>2017-06-14 10:04:36 +0200
commit76b8758253fc640616bb00d47a0362353cba4ada (patch)
tree2ba3968ac09abeff49c75f995e31043f079b6f5e /src/mesa/state_tracker/st_texture.h
parent66a2589d00e38f0d25530ec70274cf42c35e1f9d (diff)
st/mesa: make bindless samplers/images bound to units resident
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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h
index 18b5870b393..450d940e76e 100644
--- a/src/mesa/state_tracker/st_texture.h
+++ b/src/mesa/state_tracker/st_texture.h
@@ -293,4 +293,12 @@ st_update_single_texture(struct st_context *st,
struct pipe_sampler_view **sampler_view,
GLuint texUnit, unsigned glsl_version);
+void
+st_make_bound_samplers_resident(struct st_context *st,
+ struct gl_program *prog);
+
+void
+st_make_bound_images_resident(struct st_context *st,
+ struct gl_program *prog);
+
#endif