mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 13:20:14 +01:00
cso_context: Fix cso_context::sample_mask initial value.
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>
This commit is contained in:
parent
72c6d0e506
commit
95bf222603
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ struct cso_context *cso_create_context( struct pipe_context *pipe )
|
||||||
ctx);
|
ctx);
|
||||||
|
|
||||||
ctx->pipe = pipe;
|
ctx->pipe = pipe;
|
||||||
ctx->sample_mask_saved = ~0;
|
ctx->sample_mask = ~0;
|
||||||
|
|
||||||
ctx->aux_vertex_buffer_index = 0; /* 0 for now */
|
ctx->aux_vertex_buffer_index = 0; /* 0 for now */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue