mirror of
https://github.com/jhaizhou-ops/d2r-mobile
synced 2026-11-26 13:57:52 +08:00
The Adreno 750 shader compiler (libllvm-qgl.so) segfaults (addr=0x48) building any pipeline whose shader has subgroup instructions inside a called helper function: 098a and 6a7a (compute) and 358197ac, 5c1ca4e7, e1c00b41 and others (pixel) on four Samsung / Xiaomi phones. v2.0.1 skipped only 098a. - Engine: on Qualcomm Adreno 750-799, a shader of that shape (187 in the pack) has its helpers inlined at load with the SPIRV-Tools passes merge-return, inline-entry-points-exhaustive and eliminate-dead-functions (marker gfx-inline 1 / 0). The import pack is unchanged; only the APK is updated. The warm-up's inlined SPIR-V is reused on the graphics thread. - dm/third_party/spirv-tools: SPIRV-Tools v2026.3 library sources, pre-generated tables and the SPIR-V headers it includes, built into the Android package only, without debug info. DM_VK_INLINE_CS is removed. - pipeguard: every pipeline-building thread (graphics, warm-up, async) marks its build in gfx-pipe-inflight.<slot>; an entry in flight on two boots in a row goes into gfx-pipe-skip (c:<key> for compute, g:<stage keys> for graphics); a graphics pipeline error is skipped instead of fatal. v2.0.1's unprefixed entries and its hard 098a skip are dropped. - Android: graphics log lines go to the dm tag and the log file; crash lines print library+offset for symbol-less libraries. Verified on Adreno 830 (vivo) with a v2.0.1 import pack: default unchanged, forced inlining in game with the same picture, guard record / skip / restore / old entries. See docs/android-notes/2026-10-27-adreno-750-inline.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>