projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d917ad5
)
softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16)
author
Brian Paul
<brianp@vmware.com>
Fri, 2 Jan 2009 23:55:33 +0000
(16:55 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 2 Jan 2009 23:55:33 +0000
(16:55 -0700)
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 12f98c32f539fbf57db590174c770ee795ed7881..11b08b3a82d389c4f39b77e42747331803ae8be2 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_screen.c
+++ b/
src/gallium/drivers/softpipe/sp_screen.c
@@
-55,9
+55,9
@@
softpipe_get_param(struct pipe_screen *screen, int param)
{
switch (param) {
case PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS:
- return
8
;
+ return
PIPE_MAX_SAMPLERS
;
case PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS:
- return
8
;
+ return
PIPE_MAX_SAMPLERS
;
case PIPE_CAP_NPOT_TEXTURES:
return 1;
case PIPE_CAP_TWO_SIDED_STENCIL: