gallium: make max_anisotropy a unsigned bitfield member
[mesa.git] / src / gallium / include / pipe / p_state.h
index 23748acbdc293031c32b98213caa72b5c11f3af0..5ac5c878135db10ae652438c1c5576cc6e626251 100644 (file)
@@ -281,10 +281,10 @@ struct pipe_sampler_state
    unsigned compare_mode:1;      /**< PIPE_TEX_COMPARE_x */
    unsigned compare_func:3;      /**< PIPE_FUNC_x */
    unsigned normalized_coords:1; /**< Are coords normalized to [0,1]? */
+   unsigned max_anisotropy:6;
    float lod_bias;               /**< LOD/lambda bias */
    float min_lod, max_lod;       /**< LOD clamp range, after bias */
    float border_color[4];
-   float max_anisotropy;
 };