Mesa (master): i915g: Enable GL_ARB_instanced_arrays.
Stephane Marchesin
marcheu at kemper.freedesktop.org
Tue Jun 28 02:56:32 UTC 2011
Module: Mesa
Branch: master
Commit: a2537bbc95bfeaaf50e5f0895d1f5741c3d7e349
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2537bbc95bfeaaf50e5f0895d1f5741c3d7e349
Author: Stéphane Marchesin <marcheu at chromium.org>
Date: Mon Jun 27 19:24:42 2011 -0700
i915g: Enable GL_ARB_instanced_arrays.
---
src/gallium/drivers/i915/TODO | 1 -
src/gallium/drivers/i915/i915_screen.c | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/i915/TODO b/src/gallium/drivers/i915/TODO
index 992168e..509f755 100644
--- a/src/gallium/drivers/i915/TODO
+++ b/src/gallium/drivers/i915/TODO
@@ -33,7 +33,6 @@ Random list of problems with i915g:
- Leverage draw to enable more caps:
* PIPE_CAP_TGSI_INSTANCEID
- * PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR
* PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS
- Finish front/back face. We need to add face support to lp_build_system_values_array and use it in draw_llvm.c.
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 543d75f..5e62b82 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -114,6 +114,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
case PIPE_CAP_TEXTURE_MIRROR_REPEAT:
case PIPE_CAP_TEXTURE_SHADOW_MAP:
case PIPE_CAP_TWO_SIDED_STENCIL:
+ case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
return 1;
/* Features that should be supported (boolean caps). */
@@ -128,7 +129,6 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
case PIPE_CAP_INDEP_BLEND_ENABLE:
case PIPE_CAP_INDEP_BLEND_FUNC:
case PIPE_CAP_TGSI_INSTANCEID:
- case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
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