intel: fix max anisotropy supported
authorRoland Scheidegger <sroland@vmware.com>
Wed, 22 Apr 2009 15:37:18 +0000 (17:37 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 22 Apr 2009 15:38:06 +0000 (17:38 +0200)
commit50853be894aa3edd1e9271f7d625f319209e340f
tree9ec361fae781d3968f436e075326df73752f2a52
parent7843243deedd66b0c94c8874e732ed7e8c6617ff
intel: fix max anisotropy supported

i915 actually supports up to 4 (according to header file - not tested),
i965 up to 16 (code already handled this but slightly broken), so don't use 2
for all chips, even though angular dependency is very high.
src/mesa/drivers/dri/i915/i830_context.c
src/mesa/drivers/dri/i915/i915_context.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
src/mesa/drivers/dri/intel/intel_context.c