We're having consistent problems with our (playcanvas) shaders crashing Chrome and other browsers on Android devices using the Adreno 420 (in particular Note 4 and Nexus 6).
There is a bug with the Chrome team: https://code.google.com/p/chromium/issues/detail?id=498947 which states the problem has been fixed in driver updates for devices but have yet to be rolled out.
My question is, how can we work around this bug until the drivers are updated? We have clients for whom browser crashes on flagship devices such as Note 4/Nexus 6 is not acceptable.
Can someone from Qualcomm give us some more information about what is causing the crashes so we can attempt to work around them?
From the bug above, this is the simplest shader that causes a crash:
precision highp float; uniform int renderType; uniform sampler2D texMap; void main() { vec2 uv = vec2(0.0, 0.0); if( renderType == 0 ) { gl_FragColor = texture2D( texMap, uv ); } else { vec4 texture = texture2D( texMap, uv ); gl_FragColor = texture; } }