wined3d: Implement draw calls with no attachments.
commit7096e1e02d900bb47c819fde223ec91dd7dbb733
authorJózef Kucia <jkucia@codeweavers.com>
Thu, 1 Mar 2018 18:36:52 +0000 (1 19:36 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 2 Mar 2018 09:51:59 +0000 (2 10:51 +0100)
tree5ccb911f9b1cffff14199346bb9809db67ecf0f7
parent4998cea0702107621f350b46c934ba07190bbaf8
wined3d: Implement draw calls with no attachments.

Supported when ARB_framebuffer_no_attachments is available.

It was reported that no attachments framebuffers trigger GPU hangs
in The Witcher 3 on some system configurations with radeonsi driver.
MESA_EXTENSION_OVERRIDE=-GL_ARB_framebuffer_no_attachments can be used
as a workaround until it's fixed.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/context.c
dlls/wined3d/directx.c
dlls/wined3d/state.c
dlls/wined3d/wined3d_private.h