OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a61690
)
cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS query
author
Brian Paul
<brianp@vmware.com>
Fri, 12 Feb 2010 22:24:24 +0000
(15:24 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 12 Feb 2010 22:24:24 +0000
(15:24 -0700)
src/gallium/drivers/cell/ppu/cell_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/cell/ppu/cell_screen.c
b/src/gallium/drivers/cell/ppu/cell_screen.c
index
9214ac1
..
449855f
100644
(file)
--- a/
src/gallium/drivers/cell/ppu/cell_screen.c
+++ b/
src/gallium/drivers/cell/ppu/cell_screen.c
@@
-59,6
+59,8
@@
cell_get_param(struct pipe_screen *screen, int param)
switch (param) {
case PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS:
return CELL_MAX_SAMPLERS;
+ case PIPE_CAP_MAX_COMBINED_SAMPLERS:
+ return CELL_MAX_SAMPLERS;
case PIPE_CAP_NPOT_TEXTURES:
return 1;
case PIPE_CAP_TWO_SIDED_STENCIL: