Inscrit le: 18 Déc 2017
Moyenne de points: 1,80
|Posté le: Jeu 11 Jan - 14:22 (2018) Sujet du message: MX4 MSAA with discard in GLSL breaks rendering
The bug can be reproduced on this sample project, which is basically a combo of Google’s ndk+ogl sample from here and MSAA sample from here .
The bug is triggered by rendering to MSAA framebuffer with a shader that has discard (and the discard has to be executed at least once), which is “heavy enough” (in our case, execution of several math-heavy functions like pow or sin triggers it). Minimum changes in the shader inside that sample project make bug disapper The bug, when manifested, results in nothing being rendered to MSAA-enabled framebuffer. No Opengl errors are reported by driver.
Any suggestions to work this around?
I didn't find the right solution from the Internet.
Peer to Peer Marketing Examples