Hi,
I'm rendering some cubes via gpu instancing / compute shaders, and specifically on Samsung S7 Edge the more instances I add the more flickers I get. This is reproducible so far only on T880, other GPUs I've tried are good, including other Malis like G71.
Latest firmware, OpenGL ES 3.2 v1.r22p0-01rel0 driver.
I found the thread with almost the same problems on S7 as well, but GLES3.1 and supposed to be solved in r22 driver. I can't use GLES due to come compute shaders stuff not implemented and throwing an error, but otherwise it seems to be related issue: https://community.arm.com/developer/tools-software/graphics/f/discussions/10285/opengl-es-3-1-on-mali-t880-flashes/33025#33025
Please find the test APK here: drive.google.com/open
"Add prefabs" button adds 4096 instances and for me flickering starts around 16k instances and gets really, really bad after 32k.
Please advise!
Thank you Pete,
I'm instancing up to 100k cubes, 8 verts per each, while staying above 30fps. But occasional flicker starts much earlier, at around 16k cubes. Checking out the blog posts!
Thanks. That doesn't sound too high unless you have an awful lot of data per vertex (post-transform space is normally > 128MB on the early drivers), so for ~ 1 million verts you should have 128 bytes per vertex which should be plenty.
It's barebones untextured, fixed color cubes. No vertex data whatsoever besides the position.