projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29128e5
)
nv30: init sample_mask to some default value at context creation time
author
Ben Skeggs
<bskeggs@redhat.com>
Sun, 15 Apr 2012 12:14:58 +0000
(22:14 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Sun, 15 Apr 2012 12:18:02 +0000
(22:18 +1000)
Fixes demos/lodbias.
src/gallium/drivers/nv30/nv30_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv30/nv30_context.c
b/src/gallium/drivers/nv30/nv30_context.c
index 258ea7278f4878c219772d39a819caeed16c243a..b16cb2378730fc4a1cc4f6ebe10bb127e13a5347 100644
(file)
--- 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);