[PATCH] wined3d: Unbind the FBOs before glDispatchCompute

Fabian Maurer dark.shadow4 at web.de
Fri Dec 1 11:22:38 CST 2017


> Not necessarily. The correct framebuffer needs to be bound for
> subsequent draws, but that may very well be a different framebuffer
> than the one currently bound. Invalidating STATE_FRAMEBUFFER ensures
> that context_apply_draw_state() will bind the correct framebuffer even
> if the bound render targets didn't change since the previous draw.


> No, the invalidated state is going to be applied again by wined3d
> "state manager", if needed.

Thanks for explaining, that's a clever setup.
I'll send an updated patch.

Regards,
Fabian Maurer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20171201/cfea3225/attachment-0001.html>


More information about the wine-devel mailing list