mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
cell: add support for PIPE_CAP_TEXTURE_MIRROR_REPEAT query
We don't really support this texwrap mode yet, but this enables GL 2.1
This commit is contained in:
parent
7ba6869308
commit
38b526999c
1 changed files with 4 additions and 0 deletions
|
|
@ -81,6 +81,10 @@ cell_get_param(struct pipe_screen *screen, int param)
|
|||
return 8; /* max 128x128x128 */
|
||||
case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
|
||||
return CELL_MAX_TEXTURE_LEVELS;
|
||||
case PIPE_CAP_TEXTURE_MIRROR_REPEAT:
|
||||
return 1; /* XXX not really true */
|
||||
case PIPE_CAP_TEXTURE_MIRROR_CLAMP:
|
||||
return 0; /* XXX to do */
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue