nv50, nvc0: initialize ctx->sample_mask to ~0
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 12 Jan 2014 20:01:29 +0000 (15:01 -0500)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Thu, 16 Jan 2014 18:26:05 +0000 (19:26 +0100)
commitdd687fb8d090f08d09ac5e350a92f38ded837788
treed2cb85951d2f4ee33f8831369dafbb9e3d7430ce
parent188383591d6d657b557a5407ee9b7b993f79c53b
nv50, nvc0: initialize ctx->sample_mask to ~0

Commit 95bf222603b (cso_context: Fix cso_context::sample_mask initial
value.) fixed the cso sample mask to be initialized to ~0. The cso code
is also careful not to needlessly call set_sample_mask, so we ended up
with the ctx->sample_mask never being set. This broke a number of
EXT_framebuffer_multisample piglit tests.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_state.c
src/gallium/drivers/nouveau/nvc0/nvc0_state.c