wined3d: Mask out writes to unused render targets.
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 24 May 2011 20:24:12 +0000 (22:24 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 25 May 2011 09:49:23 +0000 (11:49 +0200)
commit019f6a8534d49cf92e8c819a4fda33a5ab4c1ca1
tree07640ef7ae09d2eace37e8c5d066d42a92ec5bbf
parentd5ee9a4014de9202bbd06c2a874fac810fa087d1
wined3d: Mask out writes to unused render targets.

Outputs not written by the pixel shader are undefined in GL, but in D3D the
render target is unmodified.
dlls/wined3d/arb_program_shader.c
dlls/wined3d/context.c
dlls/wined3d/device.c
dlls/wined3d/shader.c
dlls/wined3d/wined3d_private.h