mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-02 20:21:59 -05:00
* fix(venus): OpenGL quads no longer crash Mali's shader compiler through Zink The Mali-G610's driver crashes compiling Zink's geometry shaders (SIGSEGV at 0x40 in cmpbe_v2_compile_multiple_shaders), and the render server and the application die with it. A plain geometry shader that only passes triangles on does not crash it, but draws nothing. Zink draws GL_QUADS through a geometry shader when the device has the feature, so OpenGL programs died on their first quad. The Mali layer now reports no geometryShader to Zink on ARM GPUs. Mesa then splits quads into triangles itself. DXVK keeps the feature, which it needs for D3D10 and 11. DROIDDECK_MALI_COMPAT_NO_GS=0 keeps it for Zink, =1 hides it from every application. * test(venus): clear DROIDDECK_MALI_COMPAT_NO_GS before the layer tests The geometry shader test checks the default first. With the variable exported in the shell, it failed before it reached its own settings. * test(venus): check that other ARM applications keep the geometry shader