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

Henri Verbeet hverbeet at gmail.com
Wed Feb 12 04:43:41 CST 2020


On Wed, 12 Feb 2020 at 13:23, Paul Gofman <gofmanp at gmail.com> wrote:
> After a bit of more testing I found out that state blocks favour ATOC
> state. So it is no straightforward way to deal with it in d3d9 unless we
> want to add blend object to wined3d state block. The other solution I
> can think of is to handle ATOC states in
> wined3d_stateblock_set_render_state(). That is, to introduce an internal
> blend state object in wined3d_stateblock, update it from
> wined3d_stateblock_set_render_state() if necessary, and apply
> STATE_BLEND on state block application.
>
I think that's more or less what we want eventually. I.e., the idea is
that most render states and the like will eventually go away from core
wined3d, and will be replaced with d3d10/11 style state objects.



More information about the wine-devel mailing list