projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dac89d
)
softpipe: bump max texture array layers to 256.
author
Dave Airlie
<airlied@redhat.com>
Thu, 12 Jan 2012 10:13:37 +0000
(10:13 +0000)
committer
Dave 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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_screen.c
b/src/gallium/drivers/softpipe/sp_screen.c
index 37aa5852f626724c32a430702c801ab29bb1082c..32408f35cc8cb4b385da2f4211b91bc5cfb1bf84 100644
(file)
--- 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: