From: Ben Skeggs Date: Sun, 15 Apr 2012 12:14:58 +0000 (+1000) Subject: nv30: init sample_mask to some default value at context creation time X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d37f90f131ff18f0902e79853b2dbdfd494baa17;p=mesa.git nv30: init sample_mask to some default value at context creation time Fixes demos/lodbias. --- 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);