diff options
author | Keith Whitwell <[email protected]> | 2008-03-12 10:39:25 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-03-12 10:42:49 +0000 |
commit | 98ae83d5cc73b61826823c915b5c59746c2e85c7 (patch) | |
tree | eb1913d0641329b9b4a8618227af34f354eb71a8 /src/gallium/include/pipe | |
parent | feb02084a88ca6e23c34fa06e963765c890f0b65 (diff) |
gallium: Add TEX_FILTER_ANISO img filter
Hardware almost universally expects us to set a special filtering mode
when anisotropic filtering is enabled, as opposed to varying a max-aniso
values. Do this once in the state tracker & simplify the driver code.
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 0c662d65179..bc938ba2538 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -152,7 +152,7 @@ enum pipe_texture_target { */ #define PIPE_TEX_FILTER_NEAREST 0 #define PIPE_TEX_FILTER_LINEAR 1 -/* #define PIPE_TEX_FILTER_ANISO 2 */ +#define PIPE_TEX_FILTER_ANISO 2 #define PIPE_TEX_COMPARE_NONE 0 |