wined3d: Implement alpha to coverage multisampling for the Vulkan adapter.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
939e8d25f9
commit
5e7dd9d73e
|
@ -1833,9 +1833,11 @@ static bool wined3d_context_vk_update_graphics_pipeline_key(struct wined3d_conte
|
||||||
update = true;
|
update = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (key->ms_desc.rasterizationSamples != context_vk->sample_count)
|
if (key->ms_desc.rasterizationSamples != context_vk->sample_count
|
||||||
|
|| isStateDirty(&context_vk->c, STATE_BLEND))
|
||||||
{
|
{
|
||||||
key->ms_desc.rasterizationSamples = context_vk->sample_count;
|
key->ms_desc.rasterizationSamples = context_vk->sample_count;
|
||||||
|
key->ms_desc.alphaToCoverageEnable = state->blend_state && state->blend_state->desc.alpha_to_coverage;
|
||||||
|
|
||||||
update = true;
|
update = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue