diff options
author | Brian Paul <[email protected]> | 2015-07-23 07:41:09 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-07-23 20:19:51 -0600 |
commit | d7cb3f76f5c175c95ffbbec40eea5976493f8681 (patch) | |
tree | b2ea8b64c7eda11089af1bcee8991fea56d6b539 /src/mesa/state_tracker/st_texture.c | |
parent | 3afa40e43368b29ca99018999936336c3879fa4d (diff) |
st/mesa: add comments on a few sampler view functions
Trivial.
Diffstat (limited to 'src/mesa/state_tracker/st_texture.c')
-rw-r--r-- | src/mesa/state_tracker/st_texture.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index 6beb21e3389..52b094330b9 100644 --- a/src/mesa/state_tracker/st_texture.c +++ b/src/mesa/state_tracker/st_texture.c @@ -462,6 +462,11 @@ st_texture_get_sampler_view(struct st_context *st, return free; } + +/** + * For the given texture object, release any sampler views which belong + * to the calling context. + */ void st_texture_release_sampler_view(struct st_context *st, struct st_texture_object *stObj) @@ -478,6 +483,11 @@ st_texture_release_sampler_view(struct st_context *st, } } + +/** + * Release all sampler views attached to the given texture object, regardless + * of the context. + */ void st_texture_release_all_sampler_views(struct st_context *st, struct st_texture_object *stObj) |