[PATCH 1/2] wined3d: Support AMD alpha to coverage state.

Paul Gofman gofmanp at gmail.com
Mon Feb 10 09:04:43 CST 2020


On 2/10/20 17:37, Henri Verbeet wrote:
> On Mon, 10 Feb 2020 at 13:12, Paul Gofman <gofmanp at gmail.com> wrote:
>> Signed-off-by: Paul Gofman <gofmanp at gmail.com>
>> ---
>>  dlls/d3d9/tests/visual.c       |  2 +-
>>  dlls/wined3d/glsl_shader.c     |  2 ++
>>  dlls/wined3d/state.c           | 21 +++++++++++++++++++++
>>  dlls/wined3d/wined3d_private.h |  5 +++++
>>  4 files changed, 29 insertions(+), 1 deletion(-)
>>
> This potentially conflicts with state_blend_object() also controlling
> GL_SAMPLE_ALPHA_TO_COVERAGE.

Yes, I suggest I merge state_alpha_to_coverage() into
state_blend_object() so that the logic from state_alpha_to_coverage()
has effect only if no blend_state is set (which can happen for d3d11 only).





More information about the wine-devel mailing list