projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b946984
)
nvfx: remove message
author
Luca Barbieri
<luca@luca-barbieri.com>
Fri, 3 Sep 2010 18:36:29 +0000
(20:36 +0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Fri, 3 Sep 2010 18:48:14 +0000
(20:48 +0200)
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 42094227e1c0c3e23a0cf7a8bdab38d3195878db..15a0d7687beba55859b6414957eff5a1d96503f7 100644
(file)
--- a/
src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/
src/gallium/drivers/nvfx/nvfx_screen.c
@@
-344,19
+344,6
@@
nvfx_screen_get_vertex_buffer_flags(struct nvfx_screen* screen)
vram_hack_default = 1;
vram_hack = debug_get_bool_option("NOUVEAU_VTXIDX_IN_VRAM", vram_hack_default);
vram_hack_default = 1;
vram_hack = debug_get_bool_option("NOUVEAU_VTXIDX_IN_VRAM", vram_hack_default);
-#ifdef DEBUG
- if(!vram_hack)
- {
- fprintf(stderr, "Some systems may experience graphics corruption due to randomly misplaced vertices.\n"
- "If this is happening, export NOUVEAU_VTXIDX_IN_VRAM=1 may reduce or eliminate the problem\n");
- }
- else
- {
- fprintf(stderr, "A performance reducing hack is being used to help avoid graphics corruption.\n"
- "You can try export NOUVEAU_VTXIDX_IN_VRAM=0 to disable it.\n");
- }
-#endif
-
return vram_hack ? NOUVEAU_BO_VRAM : NOUVEAU_BO_GART;
}
return vram_hack ? NOUVEAU_BO_VRAM : NOUVEAU_BO_GART;
}