[PATCH 4/5] wined3d: Mask out writes to unused render targets.
hverbeet at gmail.com
Tue May 24 15:37:38 CDT 2011
On 24 May 2011 22:15, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> Shouldn't you also check if the lowest bit of rt_mask? Otherwise you'll miss
> situations where oC0 is written, oC1 isn't and oC2 is written.
Right, use the attached patch instead.
> context->draw_buffer_dirty also has to be dirtified somewhere when the pixel
> shader is changed, their rt masks are different and a target is bound to one of
> the changed indices.
It should also be changed if the render targets change. The
draw_buffer_dirty stuff is simply broken, but Matteo is working on
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7695 bytes
Desc: not available
More information about the wine-patches