summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/p_state.h')
-rw-r--r--src/mesa/pipe/p_state.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h
index ee29e38a48..64a475ba00 100644
--- a/src/mesa/pipe/p_state.h
+++ b/src/mesa/pipe/p_state.h
@@ -213,8 +213,9 @@ struct pipe_sampler_state
GLuint wrap_s:3; /**< PIPE_TEX_WRAP_x */
GLuint wrap_t:3; /**< PIPE_TEX_WRAP_x */
GLuint wrap_r:3; /**< PIPE_TEX_WRAP_x */
- GLuint min_filter:3; /**< PIPE_TEX_FILTER_x */
- GLuint mag_filter:1; /**< PIPE_TEX_FILTER_LINEAR or _NEAREST */
+ GLuint min_img_filter:2; /**< PIPE_TEX_FILTER_x */
+ GLuint min_mip_filter:2; /**< PIPE_TEX_MIPFILTER_x */
+ GLuint mag_img_filter:2; /**< PIPE_TEX_FILTER_x */
GLuint compare:1; /**< shadow/depth compare enabled? */
GLenum compare_mode:1; /**< PIPE_TEX_COMPARE_x */
GLenum compare_func:3; /**< PIPE_FUNC_x */