Page MenuHome

AMD Adrenalin 19.9.2 clear buffers workaround
Needs ReviewPublic

Authored by Jeroen Bakker (jbakker) on Wed, Sep 18, 2:00 PM.



Added a work around for detected driver issue.

It seems like the AMD Adrenalin 19.9.2 driver doesn't respect selected glDrawBuffers and only clears the first color buffer.
This patch will add a work around to in this case clear every buffer one by one.

T69972: [OpenGL Driver Bug] X-ray causes viewport artifacts in Edit Mode when using Solid rendering

Diff Detail

rB Blender
arcpatch-D5838 (branched from master)
Build Status
Buildable 5010
Build 5010: arc lint + arc unit

Event Timeline

Clément Foucault (fclem) requested changes to this revision.Wed, Sep 18, 2:20 PM
Clément Foucault (fclem) added inline comments.

use glClearBuffer here instead of messing the FBO state.

This revision now requires changes to proceed.Wed, Sep 18, 2:20 PM

Changed to glClearBuffer.
Still need to do clang formatting.

Jeroen Bakker (jbakker) marked an inline comment as done.Wed, Sep 18, 3:58 PM

@Clément Foucault (fclem) Bug has been confirmed and have been solved at AMD. Their advice: Tell our users to not use that driver :-)
... now how to limit the number of bug reports the upcoming month orso.
I would suggest to not commit this work-around.