diff options
author | Keith Whitwell <[email protected]> | 2007-08-09 19:09:19 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-08-09 19:09:44 +0100 |
commit | 78b1a29a0da8d1877408421df5012d37084a96de (patch) | |
tree | b3d287b901f95715e8ef7be9e5f9889f1c80c8ab /src/mesa/pipe/p_state.h | |
parent | 00677fb67c44a671f866cbd351fc6f183bcd83bb (diff) |
Split texfilter enums to match common hardware usage.
Diffstat (limited to 'src/mesa/pipe/p_state.h')
-rw-r--r-- | src/mesa/pipe/p_state.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h index ee29e38a48c..64a475ba00d 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 */ |