Mesa (master): i915g: Point sprite cap could be supported

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Sun Mar 13 12:38:20 UTC 2011


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

Author: Jakob Bornecrantz <wallbraker at gmail.com>
Date:   Sun Mar 13 13:28:08 2011 +0100

i915g: Point sprite cap could be supported

---

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

diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 7947f7e..504bd0d 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -116,6 +116,8 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
    /* Features that should be supported (boolean caps). */
    /* XXX: Just test the code */
    case PIPE_CAP_BLEND_EQUATION_SEPARATE:
+   /* XXX: No code but hw supports it */
+   case PIPE_CAP_POINT_SPRITE:
       return 0;
 
    /* Unsupported features (boolean caps). */
@@ -126,7 +128,6 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
    case PIPE_CAP_INDEP_BLEND_FUNC:
    case PIPE_CAP_TGSI_INSTANCEID:
    case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
-   case PIPE_CAP_POINT_SPRITE:
    case PIPE_CAP_SHADER_STENCIL_EXPORT:
    case PIPE_CAP_TEXTURE_MIRROR_CLAMP:
    case PIPE_CAP_TEXTURE_SWIZZLE:




More information about the mesa-commit mailing list