Mesa (master): r300g/swtcl: disable converting points/lines to triangles
Marek Olšák
mareko at kemper.freedesktop.org
Sat May 15 22:23:05 UTC 2010
Module: Mesa
Branch: master
Commit: 6a0ec833e4431445fe35230c0ab1d7dfdb997c64
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a0ec833e4431445fe35230c0ab1d7dfdb997c64
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun May 16 00:06:21 2010 +0200
r300g/swtcl: disable converting points/lines to triangles
---
src/gallium/drivers/r300/r300_context.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index c45d4b6..9837dea 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -214,6 +214,9 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen,
draw_set_rasterize_stage(r300->draw, r300_draw_stage(r300));
/* Enable Draw's clipping. */
draw_set_driver_clipping(r300->draw, FALSE);
+ /* Disable converting points/lines to triangles. */
+ draw_wide_line_threshold(r300->draw, 10000000.f);
+ draw_wide_point_threshold(r300->draw, 10000000.f);
}
r300_setup_atoms(r300);
More information about the mesa-commit
mailing list