Module: Mesa
Branch: master
Commit: e7e1fd057e8cc78e7039637d045ac922bb82b8d8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7e1fd057e8cc78e7039637d045ac922bb82b8d8

Author: Jakob Bornecrantz <wallbra...@gmail.com>
Date:   Mon Feb 21 21:27:05 2011 +0000

i915g: Anisotropic filtering works

---

 src/gallium/drivers/i915/i915_screen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/i915/i915_screen.c 
b/src/gallium/drivers/i915/i915_screen.c
index 232262a..2260bce 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -102,6 +102,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap 
cap)
 {
    switch (cap) {
    /* Supported features (boolean caps). */
+   case PIPE_CAP_ANISOTROPIC_FILTER:
    case PIPE_CAP_NPOT_TEXTURES:
    case PIPE_CAP_PRIMITIVE_RESTART: /* draw module */
    case PIPE_CAP_TEXTURE_SHADOW_MAP:
@@ -115,7 +116,6 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap 
cap)
       return 0;
 
    /* Unsupported features (boolean caps). */
-   case PIPE_CAP_ANISOTROPIC_FILTER:
    case PIPE_CAP_ARRAY_TEXTURES:
    case PIPE_CAP_DEPTH_CLAMP:
    case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE: /* disable for now */

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to