summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_context.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-04 20:26:41 +0000
committerKeith Whitwell <[email protected]>2009-11-04 20:26:41 +0000
commite18f223da710a6e1f6a08d346951ea66c6a1de99 (patch)
tree6741613369c491f2c034f41a9657e737d8ef5270 /src/gallium/drivers/i965/brw_context.c
parent19119517ce00f7710c6cd627c75e7eef765021c2 (diff)
i965g: hook up pipe_clear functions
Diffstat (limited to 'src/gallium/drivers/i965/brw_context.c')
-rw-r--r--src/gallium/drivers/i965/brw_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_context.c b/src/gallium/drivers/i965/brw_context.c
index 0692412b323..5accc858a9c 100644
--- a/src/gallium/drivers/i965/brw_context.c
+++ b/src/gallium/drivers/i965/brw_context.c
@@ -60,6 +60,7 @@ static void brw_destroy_context( struct pipe_context *pipe )
brw_pipe_sampler_cleanup( brw );
brw_pipe_shader_cleanup( brw );
brw_pipe_vertex_cleanup( brw );
+ brw_pipe_clear_cleanup( brw );
FREE(brw->wm.compile_data);
@@ -120,6 +121,7 @@ struct pipe_context *brw_create_context(struct pipe_screen *screen)
brw_pipe_sampler_init( brw );
brw_pipe_shader_init( brw );
brw_pipe_vertex_init( brw );
+ brw_pipe_clear_init( brw );
brw_init_state( brw );
brw_draw_init( brw );