[PATCH 4/5] wined3d: Mask out writes to unused render targets.

Henri Verbeet 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
fixing that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-wined3d-Mask-out-writes-to-unused-render-targets.patch
Type: application/text
Size: 7695 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110524/2db8203b/attachment.bin>

More information about the wine-patches mailing list