i965g: populate brw_context chipset id
authorKeith Whitwell <keithw@vmware.com>
Fri, 6 Nov 2009 08:57:02 +0000 (08:57 +0000)
committerKeith Whitwell <keithw@vmware.com>
Fri, 6 Nov 2009 08:57:02 +0000 (08:57 +0000)
src/gallium/drivers/i965/brw_context.c

index 8e1421e7386c23002bf72a5e871ebfc6043b34d4..f85116a568c1549a4a22ddf06b852a172f4ecb3b 100644 (file)
@@ -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->chipset = brw_screen(screen)->chipset;
 
    brw_pipe_blend_init( brw );
    brw_pipe_depth_stencil_init( brw );