Mesa (i965g-restart): i965g: enable line stipple packet emit
Keith Whitwell
keithw at kemper.freedesktop.org
Wed Nov 4 15:45:26 PST 2009
Module: Mesa
Branch: i965g-restart
Commit: ffc24463913071bbb0fa9cab9a05ea7a089c56a0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffc24463913071bbb0fa9cab9a05ea7a089c56a0
Author: Keith Whitwell <keithw at vmware.com>
Date: Wed Nov 4 23:44:16 2009 +0000
i965g: enable line stipple packet emit
With this change, trivial/tri manages to build and emit
a fairly unconvincing command buffer (to the debug winsys),
and then crashes.
---
src/gallium/drivers/i965/brw_misc_state.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/i965/brw_misc_state.c b/src/gallium/drivers/i965/brw_misc_state.c
index e786ea1..b562eb7 100644
--- a/src/gallium/drivers/i965/brw_misc_state.c
+++ b/src/gallium/drivers/i965/brw_misc_state.c
@@ -37,6 +37,7 @@
#include "brw_state.h"
#include "brw_defines.h"
#include "brw_screen.h"
+#include "brw_pipe_rast.h"
@@ -342,7 +343,7 @@ const struct brw_tracked_state brw_polygon_stipple = {
static int upload_line_stipple(struct brw_context *brw)
{
- struct brw_line_stipple *bls = NULL; //brw->curr.rast->bls;
+ struct brw_line_stipple *bls = &brw->curr.rast->bls;
BRW_CACHED_BATCH_STRUCT(brw, bls);
return 0;
}
More information about the mesa-commit
mailing list