projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba6869
)
cell: add support for PIPE_CAP_TEXTURE_MIRROR_REPEAT query
author
Brian Paul
<brianp@vmware.com>
Mon, 5 Jan 2009 01:38:42 +0000
(18:38 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 5 Jan 2009 01:38:42 +0000
(18:38 -0700)
We don't really support this texwrap mode yet, but this enables GL 2.1
src/gallium/drivers/cell/ppu/cell_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/cell/ppu/cell_screen.c
b/src/gallium/drivers/cell/ppu/cell_screen.c
index ee3e4444154956b3e01a11073121d2f3aab4c925..6fc2257e2a3794ce5e331a441613410ad52c85eb 100644
(file)
--- a/
src/gallium/drivers/cell/ppu/cell_screen.c
+++ b/
src/gallium/drivers/cell/ppu/cell_screen.c
@@
-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;
}