i915g: Enable GL_ARB_instanced_arrays.
authorStéphane Marchesin <marcheu@chromium.org>
Tue, 28 Jun 2011 02:24:42 +0000 (19:24 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Tue, 28 Jun 2011 02:27:58 +0000 (19:27 -0700)
src/gallium/drivers/i915/TODO
src/gallium/drivers/i915/i915_screen.c

index 992168e9a8d60c9b8ff7dced0b9bf2983910624a..509f75541116e8a43a445ef4e7db9443c0c7b94d 100644 (file)
@@ -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.
index 543d75faebea9e501dfd7829aad370cbe57607a2..5e62b8250e06a8dfb2e2c646fce1b0d361bfe48a 100644 (file)
@@ -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: