projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f0d538
)
nvfx: allocate buffers in GART if !NOUVEAU_SWTNL
author
Luca Barbieri
<luca@luca-barbieri.com>
Mon, 12 Apr 2010 16:53:30 +0000
(18:53 +0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Mon, 12 Apr 2010 16:53:30 +0000
(18:53 +0200)
Should improve performance and fix serious regressions on AGP cards.
src/gallium/drivers/nvfx/nvfx_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvfx/nvfx_screen.c
b/src/gallium/drivers/nvfx/nvfx_screen.c
index cf619f24a1caf18761a0a7a2693ebe828bd19308..e142e27115ed6709b1d639f4015fd0d08fe78e79 100644
(file)
--- a/
src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/
src/gallium/drivers/nvfx/nvfx_screen.c
@@
-70,9
+70,8
@@
nvfx_screen_get_param(struct pipe_screen *pscreen, int param)
case PIPE_CAP_BLEND_EQUATION_SEPARATE:
return !!screen->is_nv4x;
case NOUVEAU_CAP_HW_VTXBUF:
- return 0;
case NOUVEAU_CAP_HW_IDXBUF:
- return
0
;
+ return
!screen->force_swtnl
;
case PIPE_CAP_MAX_COMBINED_SAMPLERS:
return 16;
case PIPE_CAP_INDEP_BLEND_ENABLE: