This cherrypicks 21c1e4566726c9397a840dc5331e40a8d0ca9511 from upstream ANGLE which fixes a crash when running: /conformance/glsl/bugs/undefined-index-should-not-crash.html --HG-- extra : rebase_source : d1801b3ac1ab5e8d364ea7de024187a4d8ff221e