softpipe: bump max texture array layers to 256.
authorDave Airlie <airlied@redhat.com>
Thu, 12 Jan 2012 10:13:37 +0000 (10:13 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 12 Jan 2012 11:17:07 +0000 (11:17 +0000)
This as per GL3 specification.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_screen.c

index 37aa5852f626724c32a430702c801ab29bb1082c..32408f35cc8cb4b385da2f4211b91bc5cfb1bf84 100644 (file)
@@ -121,7 +121,7 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
       return 1;
    case PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS:
-      return 64; /* matches core Mesa defaults */
+      return 256; /* for GL3 */
    case PIPE_CAP_MIN_TEXEL_OFFSET:
       return -8;
    case PIPE_CAP_MAX_TEXEL_OFFSET: