The initial value of cso_context::sample_mask_saved is irrelevant as it
will be overwritten with cso_context::sample_mask in
cso_save_sample_mask. Therefore it is cso_context::sample_mask that
needs to be properly initialized.
This fixes regressions in blits and mipmap generation after adding
support for sample_mask to llvmpipe.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
ctx);
ctx->pipe = pipe;
- ctx->sample_mask_saved = ~0;
+ ctx->sample_mask = ~0;
ctx->aux_vertex_buffer_index = 0; /* 0 for now */