Mesa (master): nv30: init sample_mask to some default value at context creation time
Ben Skeggs
darktama at kemper.freedesktop.org
Sun Apr 15 12:13:04 UTC 2012
Module: Mesa
Branch: master
Commit: d37f90f131ff18f0902e79853b2dbdfd494baa17
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d37f90f131ff18f0902e79853b2dbdfd494baa17
Author: Ben Skeggs <bskeggs at redhat.com>
Date: Sun Apr 15 22:14:58 2012 +1000
nv30: init sample_mask to some default value at context creation time
Fixes demos/lodbias.
---
src/gallium/drivers/nv30/nv30_context.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/nv30/nv30_context.c b/src/gallium/drivers/nv30/nv30_context.c
index 258ea72..b16cb23 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);
More information about the mesa-commit
mailing list