projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallium: remove point_size_min and point_size_max from rasterizer state
[mesa.git]
/
src
/
gallium
/
drivers
/
i965
/
brw_context.c
diff --git
a/src/gallium/drivers/i965/brw_context.c
b/src/gallium/drivers/i965/brw_context.c
index 8e1421e7386c23002bf72a5e871ebfc6043b34d4..e67551882dcb279afecde2a88ef6fbc2a67b50a1 100644
(file)
--- a/
src/gallium/drivers/i965/brw_context.c
+++ b/
src/gallium/drivers/i965/brw_context.c
@@
-65,6
+65,9
@@
static void brw_destroy_context( struct pipe_context *pipe )
brw_pipe_vertex_cleanup( brw );
brw_pipe_clear_cleanup( brw );
brw_pipe_vertex_cleanup( brw );
brw_pipe_clear_cleanup( brw );
+ brw_hw_cc_cleanup( brw );
+
+
FREE(brw->wm.compile_data);
for (i = 0; i < brw->curr.fb.nr_cbufs; i++)
FREE(brw->wm.compile_data);
for (i = 0; i < brw->curr.fb.nr_cbufs; i++)
@@
-96,9
+99,6
@@
static void brw_destroy_context( struct pipe_context *pipe )
bo_reference(&brw->wm.sampler_bo, NULL);
bo_reference(&brw->wm.prog_bo, NULL);
bo_reference(&brw->wm.state_bo, NULL);
bo_reference(&brw->wm.sampler_bo, NULL);
bo_reference(&brw->wm.prog_bo, NULL);
bo_reference(&brw->wm.state_bo, NULL);
- bo_reference(&brw->cc.prog_bo, NULL);
- bo_reference(&brw->cc.state_bo, NULL);
- bo_reference(&brw->cc.vp_bo, NULL);
}
}
@@
-114,6
+114,7
@@
struct pipe_context *brw_create_context(struct pipe_screen *screen)
brw->base.screen = screen;
brw->base.destroy = brw_destroy_context;
brw->sws = brw_screen(screen)->sws;
brw->base.screen = screen;
brw->base.destroy = brw_destroy_context;
brw->sws = brw_screen(screen)->sws;
+ brw->chipset = brw_screen(screen)->chipset;
brw_pipe_blend_init( brw );
brw_pipe_depth_stencil_init( brw );
brw_pipe_blend_init( brw );
brw_pipe_depth_stencil_init( brw );
@@
-127,6
+128,8
@@
struct pipe_context *brw_create_context(struct pipe_screen *screen)
brw_pipe_vertex_init( brw );
brw_pipe_clear_init( brw );
brw_pipe_vertex_init( brw );
brw_pipe_clear_init( brw );
+ brw_hw_cc_init( brw );
+
brw_init_state( brw );
brw_draw_init( brw );
brw_init_state( brw );
brw_draw_init( brw );