summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-12 15:24:24 -0700
committerBrian Paul <[email protected]>2010-02-12 15:24:24 -0700
commit3798cc81573a89c5ac221fd926385c45ba8da3b2 (patch)
tree5f3285fb436c0a32bf256b57b5d27d43fde5f3d4 /src/gallium/drivers/cell
parent8a61690e84a143f5393f36521f15477663baa9e8 (diff)
cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS query
Diffstat (limited to 'src/gallium/drivers/cell')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_screen.c b/src/gallium/drivers/cell/ppu/cell_screen.c
index 9214ac162be..449855f539d 100644
--- 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: