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>
This commit is contained in:
parent
3bcb9a858f
commit
7ed14bec11
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue