commit | ebe12d50064370e4ddec21a1e087b24295940319 | [log] [tgz] |
---|---|---|
author | Roland Scheidegger <sroland@vmware.com> | Fri Feb 12 00:43:38 2010 +0100 |
committer | Roland Scheidegger <sroland@vmware.com> | Fri Feb 12 00:43:38 2010 +0100 |
tree | d686eb379bbb2b6bae32888be1215b74f32b692e | |
parent | 16d520f6d69edb112887d8db1e014a521a34f532 [diff] |
gallium: make max_anisotropy a unsigned bitfield member saves us a dword in sampler state, hw can't do non-integer aniso degree anyway. To allow aniso 1x (which seems of dubious value but some hardware (radeons) have such a mode, and even d3d allows specifiying it) redefine anisotropic filtering as disabled only if max_anistropy is 0.