This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Stencil Test Doesn't Work on Mali-G76MP16

The game is built upon UE4 and we use stencil for optimization purpose. The issue is that when we deployed the game on Snapdragon Adreno series, it worked as expected. However, it failed on the Mali GPU. After debugging, we found out the stencil write operation failed, but I couldn't extract the depth stencil texture by using Graphics Analyzer.

Here is the screenshot:

For the trace config, I have changed to Everything, but the result has no difference.

Thanks in advance.

Parents
  • Sorry, I cannot share any project generated by our engine. The issue looks like some opengl es states were incorrect. I tried to extract the stencil texture from Renderdoc, but the issue had gone after the Renderdoc connected. Therefore I guess the renderdoc had cleanup the state after it processed the replay.

    If I can get the stencil texture from Graphics Analyzer, it will be easier for me to debug this issue.

    Is there any clue about the missing depth stencil texture?

Reply
  • Sorry, I cannot share any project generated by our engine. The issue looks like some opengl es states were incorrect. I tried to extract the stencil texture from Renderdoc, but the issue had gone after the Renderdoc connected. Therefore I guess the renderdoc had cleanup the state after it processed the replay.

    If I can get the stencil texture from Graphics Analyzer, it will be easier for me to debug this issue.

    Is there any clue about the missing depth stencil texture?

Children