diff options
author | Brian Paul <[email protected]> | 2010-02-12 15:24:24 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-02-12 15:24:24 -0700 |
commit | 3798cc81573a89c5ac221fd926385c45ba8da3b2 (patch) | |
tree | 5f3285fb436c0a32bf256b57b5d27d43fde5f3d4 /src | |
parent | 8a61690e84a143f5393f36521f15477663baa9e8 (diff) |
cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS query
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_screen.c | 2 |
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: |