summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2012-01-12 10:13:37 +0000
committerDave Airlie <[email protected]>2012-01-12 11:17:07 +0000
commit16b5fda0328abb65f0bf245e28e85b753984e0c3 (patch)
treecadf8a6f20051d8e9d2cc6a825497d2ca118e60d /src/gallium/drivers/softpipe
parent4dac89d92c711c01b7909d89b78ba568f9d5e1ef (diff)
softpipe: bump max texture array layers to 256.
This as per GL3 specification. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 37aa5852f62..32408f35cc8 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -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: