summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/samplerobj.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-11-09 12:16:58 -0800
committerIan Romanick <[email protected]>2016-01-11 15:38:03 -0800
commit4cf5c85ec70abb736e9c135e77c221b177d85d12 (patch)
tree7b8c12aeb85c6e5b48952815390a15e99aabe834 /src/mesa/main/samplerobj.h
parentecba76d3c0f644c5f3ca84a7b40ea799a9eaf165 (diff)
mesa: Add _mesa_set_sampler_srgb_decode method
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main/samplerobj.h')
-rw-r--r--src/mesa/main/samplerobj.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/samplerobj.h b/src/mesa/main/samplerobj.h
index c35052e0ac3..68a924ce931 100644
--- a/src/mesa/main/samplerobj.h
+++ b/src/mesa/main/samplerobj.h
@@ -89,6 +89,10 @@ _mesa_set_sampler_filters(struct gl_context *ctx,
struct gl_sampler_object *samp,
GLenum min_filter, GLenum mag_filter);
+extern void
+_mesa_set_sampler_srgb_decode(struct gl_context *ctx,
+ struct gl_sampler_object *samp, GLenum param);
+
void GLAPIENTRY
_mesa_GenSamplers(GLsizei count, GLuint *samplers);
void GLAPIENTRY