summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-08-26 21:45:26 +0200
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-08-26 21:45:26 +0200
commit7ed14bec112e20002b18bea1caf11f17318d9f06 (patch)
tree67eb3e620288019688630bb5cbc9bd1f7befbb45 /src/gallium/auxiliary
parent3bcb9a858f482c21bc7c4d0fcd3571e25ea95090 (diff)
downloadexternal_mesa3d-7ed14bec112e20002b18bea1caf11f17318d9f06.zip
external_mesa3d-7ed14bec112e20002b18bea1caf11f17318d9f06.tar.gz
external_mesa3d-7ed14bec112e20002b18bea1caf11f17318d9f06.tar.bz2
pp: initialize the sample mask
We cannot rely on pipe drivers to default to non-zero. Fixes pp being a no-op on nv50. Reviewed-by: Lauri Kasanen <cand@gmx.com>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/postprocess/pp_program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/postprocess/pp_program.c b/src/gallium/auxiliary/postprocess/pp_program.c
index 6ec8625..b92ac80 100644
--- a/src/gallium/auxiliary/postprocess/pp_program.c
+++ b/src/gallium/auxiliary/postprocess/pp_program.c
@@ -133,5 +133,7 @@ pp_init_prog(struct pp_queue_t *ppq, struct pipe_screen *pscreen)
p->surf.usage = PIPE_BIND_RENDER_TARGET;
p->surf.format = PIPE_FORMAT_B8G8R8A8_UNORM;
+ p->pipe->set_sample_mask(p->pipe, ~0);
+
return p;
}