diff options
author | Ian Romanick <[email protected]> | 2015-11-09 11:59:19 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-01-11 15:38:03 -0800 |
commit | ecba76d3c0f644c5f3ca84a7b40ea799a9eaf165 (patch) | |
tree | 7d10d39a756d82429f873594108f77ca774b99f1 /src/mesa/main/samplerobj.h | |
parent | 08822b4b43e3bc51bbcc42ab01ba1095b30a9298 (diff) |
mesa: Add _mesa_set_sampler_filters method
v2: Add filter enum assertions. Suggested by Jason.
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/samplerobj.h b/src/mesa/main/samplerobj.h index 1817c1a4468..c35052e0ac3 100644 --- a/src/mesa/main/samplerobj.h +++ b/src/mesa/main/samplerobj.h @@ -84,6 +84,11 @@ extern void _mesa_set_sampler_wrap(struct gl_context *ctx, struct gl_sampler_object *samp, GLenum s, GLenum t, GLenum r); +extern void +_mesa_set_sampler_filters(struct gl_context *ctx, + struct gl_sampler_object *samp, + GLenum min_filter, GLenum mag_filter); + void GLAPIENTRY _mesa_GenSamplers(GLsizei count, GLuint *samplers); void GLAPIENTRY |