cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS query

This commit is contained in:
Brian Paul 2010-02-12 15:24:24 -07:00
parent 8a61690e84
commit 3798cc8157
1 changed files with 2 additions and 0 deletions

View File

@ -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: