aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-04 23:44:16 +0000
committerKeith Whitwell <[email protected]>2009-11-04 23:44:25 +0000
commitffc24463913071bbb0fa9cab9a05ea7a089c56a0 (patch)
tree5a67f831b1a32b00dba8085e77a8d7a726672837 /src/gallium/drivers
parentc2e51effe6228aa2fe6610c695b494e86490bc80 (diff)
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.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/i965/brw_misc_state.c3
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 e786ea11000..b562eb71529 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;
}