[Bug 21708] d3d is trying to use GL_DEPTH_TEXTURE_MODE_ARB when driver doesn't support ARB_depth_texture

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 18 08:58:14 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=21708

--- Comment #11 from Rafał Mużyło <galtgendo at o2.pl> 2012-11-18 08:58:14 CST ---
(In reply to comment #9)
> Created attachment 42534 [details]
> wined3d: Remove ARB_depth_texture requirement for  D3DFMT_D16_UNORM (HACK)
> 
> Out of curiosity, does this hack make it any better? It's by no means a correct
> fix, but it might just be enough to get those games going.

Well, for the display, it makes no difference.

For the console output, it does.

err:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_INVALID_VALUE
(0x501) from glTexImage2D @ surface.c / 2748
fixme:d3d:context_check_fbo_status FBO status
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6)
fixme:d3d:context_check_fbo_status      Location SFLAG_INTEXTURE (0x40000).
fixme:d3d:context_check_fbo_status      Color attachment 0: (0x194730)
WINED3DFMT_B8G8R8X8_UNORM 800x600 0 samples.
fixme:d3d:context_check_fbo_status      Depth attachment: (0x194888)
WINED3DFMT_D16_UNORM 800x600 0 samples.
err:d3d:device_clear_render_targets >>>>>>>>>>>>>>>>>
GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glClear @device.c / 777
fixme:d3d:context_check_fbo_status FBO status
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6)
fixme:d3d:context_check_fbo_status      Location SFLAG_INTEXTURE (0x40000).
fixme:d3d:context_check_fbo_status      Color attachment 0: (0x194730)
WINED3DFMT_B8G8R8X8_UNORM 800x600 0 samples.
fixme:d3d:context_check_fbo_status      Depth attachment: (0x194888)
WINED3DFMT_D16_UNORM 800x600 0 samples.

err:d3d:device_clear_render_targets >>>>>>>>>>>>>>>>>
GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glClear @ device.c / 815
fixme:d3d:context_check_fbo_status FBO status
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6)
fixme:d3d:context_check_fbo_status      Location SFLAG_INTEXTURE (0x40000).
fixme:d3d:context_check_fbo_status      Color attachment 0: (0x194730)
WINED3DFMT_B8G8R8X8_UNORM 800x600 0 samples.
fixme:d3d:context_check_fbo_status      Depth attachment: (0x194888)
WINED3DFMT_D16_UNORM 800x600 0 samples.
err:d3d_draw:drawStridedSlow >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION
(0x506) from glEnd and previous calls @ drawprim.c / 310
fixme:d3d:context_check_fbo_status FBO status
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6)
fixme:d3d:context_check_fbo_status      Location SFLAG_INTEXTURE (0x40000).
fixme:d3d:context_check_fbo_status      Color attachment 0: (0x194730)
WINED3DFMT_B8G8R8X8_UNORM 800x600 0 samples.
fixme:d3d:context_check_fbo_status      Depth attachment: (0x194888)
WINED3DFMT_D16_UNORM 800x600 0 samples.

This 4 types now flood the console.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list