mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
cell: return CELL_MAX_SAMPLERS to indicate number of texture units
This commit is contained in:
parent
9d287a1841
commit
6ddd2df1ae
1 changed files with 2 additions and 1 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#include "pipe/p_defines.h"
|
||||
#include "pipe/p_screen.h"
|
||||
|
||||
#include "cell/common.h"
|
||||
#include "cell_screen.h"
|
||||
#include "cell_texture.h"
|
||||
#include "cell_winsys.h"
|
||||
|
|
@ -55,7 +56,7 @@ cell_get_param(struct pipe_screen *screen, int param)
|
|||
{
|
||||
switch (param) {
|
||||
case PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS:
|
||||
return PIPE_MAX_SAMPLERS;
|
||||
return CELL_MAX_SAMPLERS;
|
||||
case PIPE_CAP_NPOT_TEXTURES:
|
||||
return 0;
|
||||
case PIPE_CAP_TWO_SIDED_STENCIL:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue