From d37f90f131ff18f0902e79853b2dbdfd494baa17 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sun, 15 Apr 2012 22:14:58 +1000 Subject: nv30: init sample_mask to some default value at context creation time Fixes demos/lodbias. --- src/gallium/drivers/nv30/nv30_context.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/nv30/nv30_context.c b/src/gallium/drivers/nv30/nv30_context.c index 258ea7278f4..b16cb237873 100644 --- a/src/gallium/drivers/nv30/nv30_context.c +++ b/src/gallium/drivers/nv30/nv30_context.c @@ -158,6 +158,7 @@ nv30_context_create(struct pipe_screen *pscreen, void *priv) nv30->use_nv4x = (screen->eng3d->oclass >= NV40_3D_CLASS) ? ~0 : 0; nv30->render_mode = HW; + nv30->sample_mask = 0xffff; nv30_vbo_init(pipe); nv30_query_init(pipe); nv30_state_init(pipe); -- cgit v1.2.3