i915g: Point sprite cap could be supported
authorJakob Bornecrantz <wallbraker@gmail.com>
Sun, 13 Mar 2011 12:28:08 +0000 (13:28 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Sun, 13 Mar 2011 12:36:21 +0000 (13:36 +0100)
src/gallium/drivers/i915/i915_screen.c

index 7947f7e528cd6f4d607e0e98cb6bef5bc85426fb..504bd0d4c69162a84b36c552d467e08f026693d1 100644 (file)
@@ -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: