projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8f85dc
)
r300g: pretend NPOT support
author
Marek Olšák
<maraeo@gmail.com>
Sat, 31 Oct 2009 04:38:25 +0000
(
05:38
+0100)
committer
Joakim Sindholt
<opensource@zhasha.com>
Sat, 31 Oct 2009 06:30:48 +0000
(07:30 +0100)
It's requires to get GL2.1, therefore, much more piglit tests can be used
for testing. Figure out later how to emulate this.
src/gallium/drivers/r300/r300_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_screen.c
b/src/gallium/drivers/r300/r300_screen.c
index 6efa17cbaf8e1ae61bbef48b6cf93a6d1d11a60f..390b63007e5f2ee50660de39c6dc165382a00d19 100644
(file)
--- a/
src/gallium/drivers/r300/r300_screen.c
+++ b/
src/gallium/drivers/r300/r300_screen.c
@@
-84,7
+84,9
@@
static int r300_get_param(struct pipe_screen* pscreen, int param)
/* XXX I'm told this goes up to 16 */
return 8;
case PIPE_CAP_NPOT_TEXTURES:
- return 0;
+ /* XXX enable now to get GL2.1 API,
+ * figure out later how to emulate this */
+ return 1;
case PIPE_CAP_TWO_SIDED_STENCIL:
if (r300screen->caps->is_r500) {
return 1;