Kha icon indicating copy to clipboard operation
Kha copied to clipboard

[Android][RenderTargets] Auto options for depth/stencil result in black screen on android.

Open Disar opened this issue 7 years ago • 2 comments

I have tested two devices with two different gpu sets:

  • Mali-T720MP2
  • Adreno 305

Both give a black screen.

Code:

backbuffer = Image.createRenderTarget(360,640,null,kha.graphics4.DepthStencilFormat.DepthAutoStencilAuto);

Using DepthOnly for example seems to work.

edit:

Depth24Stencil8 and Depth32Stencil8 give black screen.

Depth16 renders g2 only.

Disar avatar Sep 30 '17 09:09 Disar

Further testing shows that Depth16 also draws properly with g4. Might be gpu specific. It works on the Mali gpu.

Disar avatar Feb 07 '18 16:02 Disar

Yes, that kinda thing is GPU specific, but auto should always work...

RobDangerous avatar Feb 07 '18 16:02 RobDangerous