SSBO Mali GPU - Opengl ES

We are trying to figure out using SSBO for Tensorflow Lite on Android Devices. The behavior is different between Adreno GPUs and Mali GPUs even for the same bit of compute shader code. Even among MALI GPUs, there are various differences. Could you provide a better working code and is there any way we can debug through the shader code for errors. We tried multiple devices like Honor Play, Samsung A8+, Moto C Plus. We believe the code is somewhat good as it is giving some kind of output in Adreno devices. Could you provide us with a complete working android app code using compute shaders, to test out the basic functionality of GPU in the mobile devices. We have also opened upon couple of issues in the Tensorflow Github page, thinking error could be on tensorflow side.

In honor play and Moto C plus, the error is that the program could not be created and linked. Whereas, in Samsung A8+, the error is an invalid bitmap format.

Is it that the shader codes are different for Mali and Adreno devices??


We found one more forum discussion with respect to the similar case, we are facing..

How do we know the specific GPU driver of the mobile phone, we are using. And is there any way in which we could update it ourselves??

More questions in this forum