Kha
Kha copied to clipboard
[Android][RenderTargets] Auto options for depth/stencil result in black screen on android.
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.
Further testing shows that Depth16 also draws properly with g4. Might be gpu specific. It works on the Mali gpu.
Yes, that kinda thing is GPU specific, but auto should always work...