As mentioned in documents, all shaders are pre-compiled into bytecode. But as is known, Android platform has too many variations of Vulkan drivers. So, I worried that it may cause some crash on old Android devices. It would be much safer to compile shaders when first launching games on Android in my perspective. How do you guys think?
When building for Android shader source code is compiled into SPIR-V bytecode. When opening the game GPU driver compiles that SPIR-V into the actual GPU bytecode. Flax utilizes shader cache and validation cache to be saved on a device for faster load times when opening the game 2nd time.
Shipping shader sources would not benefit this process that much.
Thanks for confirming this detail!