Home › Forums › PowerVR Insider Graphics › [Bug] [GLSL] [iPhone SE] Unreachable return statements in shader renders garbage
Tagged: bug, compiler, glsl, iphone, safari, webgl
This topic contains 0 replies, has 1 voice, and was last updated by Paul 10 months, 2 weeks ago.
The fragment shader files, screenshots, reproduction steps and platform info are available here: https://github.com/mc-imperial/shader-compiler-bugs/issues/37
Adding two unreachable return statements in a GLSL fragment shader causes garbage to be rendered.
The bug can be triggered from Safari via WebGL.