mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
vc4: Enable glSampleMask() even when !rasterizer->multisample.
gallium's blitter expects that it can set the sample mask even when the rasterizer doesn't have the flag on. Between this and the previous test, 10 new ext_framebuffer_multisample tests start passing.
This commit is contained in:
parent
5c86f119b9
commit
0514b0bdc9
1 changed files with 1 additions and 2 deletions
|
|
@ -2699,8 +2699,7 @@ vc4_update_compiled_fs(struct vc4_context *vc4, uint8_t prim_mode)
|
|||
}
|
||||
if (job->msaa) {
|
||||
key->msaa = vc4->rasterizer->base.multisample;
|
||||
key->sample_coverage = (vc4->rasterizer->base.multisample &&
|
||||
vc4->sample_mask != (1 << VC4_MAX_SAMPLES) - 1);
|
||||
key->sample_coverage = (vc4->sample_mask != (1 << VC4_MAX_SAMPLES) - 1);
|
||||
key->sample_alpha_to_coverage = vc4->blend->alpha_to_coverage;
|
||||
key->sample_alpha_to_one = vc4->blend->alpha_to_one;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue