summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2011-03-13 13:28:08 +0100
committerJakob Bornecrantz <wallbraker@gmail.com>2011-03-13 13:36:21 +0100
commitc03be14d4244d9320318709c9274c57c73790235 (patch)
treef5d2977ba5d5078fd3b400b075d22ab7f557b348
parent6d86429bd99a0b7a0bc0060a760f35c297b1dc5a (diff)
i915g: Point sprite cap could be supported
-rw-r--r--src/gallium/drivers/i915/i915_screen.c3
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 7947f7e528..504bd0d4c6 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: