aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-06-27 19:24:42 -0700
committerStéphane Marchesin <[email protected]>2011-06-27 19:27:58 -0700
commita2537bbc95bfeaaf50e5f0895d1f5741c3d7e349 (patch)
tree55f6e4fa88117ef89b15efd07d27e19f4d7a8cb2 /src
parent8dd1e3670ff4d12479475329961693e597b7a3cf (diff)
i915g: Enable GL_ARB_instanced_arrays.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915/TODO1
-rw-r--r--src/gallium/drivers/i915/i915_screen.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/TODO b/src/gallium/drivers/i915/TODO
index 992168e9a8d..509f7554111 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 543d75faebe..5e62b8250e0 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: