glslang: Fix/Workaround crash on Android (arm64-v8a) in debug mode


When compiling shaders (GLSL->SPIRV) at runtime on Android (arm64-v8a)
when targeting debug mode, we get a crash in the STL/C++ runtime code
just based on the particular usage patched.  By changing how this
operation is performed, we can work around the triggered bug. This
bug has already been reported upstream, and this workaround comes from
that bug report. The fix was not applied upstream because they claim it
is a bug in the Android NDK/runtime, and this is just a workaround, not
a fix. That is fine for us though, we have many workaround patches.

Pick-to: 6.8
Change-Id: I44bdd148a85e3ede0924404aecfd7f0feeb16613
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
commite50902ab2d2c709c035193a335109e521505777c
parent445a059b793173d0b584b0ddefdefca3bff2b6bb
authorAndy Nichols <nezticle@gmail.com>
committerAndy Nichols <nezticle@gmail.com>
commit timeWed, 23 Oct 2024 12:28:05 +0200