aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_texture.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-07-07 23:59:03 -0400
committerIlia Mirkin <[email protected]>2016-08-12 20:21:08 -0400
commit7727e6f67c47ab0a36d5646092ee89852523cad8 (patch)
tree37d1eec678d69f17103502954825532bf3b4967b /src/mesa/state_tracker/st_texture.h
parent1baae00089c7bf5f31424c1287aa24f8ce5981a3 (diff)
st/mesa: refactor duplicated etc fallback checks
Signed-off-by: Ilia Mirkin <[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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h
index ae9e2b4e9b3..d5e828189ef 100644
--- a/src/mesa/state_tracker/st_texture.h
+++ b/src/mesa/state_tracker/st_texture.h
@@ -245,4 +245,7 @@ st_texture_release_all_sampler_views(struct st_context *st,
void
st_texture_free_sampler_views(struct st_texture_object *stObj);
+bool
+st_etc_fallback(struct st_context *st, struct gl_texture_image *texImage);
+
#endif