- Home /
Can compute shader run on Android device?
Can compute shader run on Android device?
I saw unity compute shader is based on DirectCompute which is based on directX, so I assume this is windows only. Then why they pick up this direction to do the gpu computing?
Thanks,
Answer by Beugnen · Jun 11, 2015 at 03:44 PM
According to the doco, Compute Shaders will run on Android.
Compute shaders in Unity are built on top of DirectX 11 DirectCompute technology. On PC it requires Windows Vista or later and a GPU capable of Shader Model 5.0. Compute shaders are also supported on capable consoles and OpenGL ES 3.1 mobile devices. Tell me more
...and
Android includes support for high performance 2D and 3D graphics with the Open Graphics Library (OpenGL®), specifically, the OpenGL ES API. Android supports several versions of the OpenGL ES API....OpenGL ES 3.1 - This API specification is supported by Android 5.0 (API level 21) and higher. Tell me more
Answer by LiverX! · May 20, 2014 at 03:24 PM
No! DirectX made by Microsoft and thay hate linux-based OS (Android). If you want to use gpu on android device (it is possible) use other libs, the best is QT with it's OpenCL support (C++ only!)
Your answer
Follow this Question
Related Questions
Pass ComputeBuffer to another ComputeShader 0 Answers
Persistent Data in Compute Shaders. 0 Answers
GPU Sorting 0 Answers
Is it possible to profile compute shaders? 2 Answers
How to share constant variables between Compute Shaders? 0 Answers