[GL-B12] Delete LLViewerShaderMgr, LLShaderMgr, shader cache, the 126 g*Program globals #68

Closed
opened 2026-09-27 05:33:52 +00:00 by sky_line · 2 comments
Owner

Scope: Keep gUIProgram/gSolidColorProgram/gAlphaMaskProgram until C2

Prereq: B9

Acceptance: links; UI renders

Risk: med

Shared acceptance baseline: links; logs in under VK and renders prims/mesh/rigged/terrain/water/sky/particles; click-select object/avatar/attachment; region crossing + teleport; no GLSL Compilation Error|SIGSEGV in the log.

Source: research/gl_removal_map.md

**Scope:** Keep `gUIProgram`/`gSolidColorProgram`/`gAlphaMaskProgram` until C2 **Prereq:** B9 **Acceptance:** links; UI renders **Risk:** med **Shared acceptance baseline:** links; logs in under VK and renders prims/mesh/rigged/terrain/water/sky/particles; click-select object/avatar/attachment; region crossing + teleport; no `GLSL Compilation Error|SIGSEGV` in the log. Source: research/gl_removal_map.md
Author
Owner

Status check (verification sweep): partly done. 9bad552128 (v1.0.0-beta.1) gutted LLShaderMgr, LLViewerShaderMgr and LLGLSLShader, and llrender/llshadermgr.cpp is gone. Remaining: llviewershadermgr.{h,cpp} (76-line stub) is still referenced from llviewermenu, llappviewer, llviewerregion, llsettingsvo, llvovolume and llvoavatar. LLShaderMgr is still referenced (96 lines across 5 files), and 22 extern program globals remain in llviewershadermgr.h.

Status check (verification sweep): partly done. 9bad552128 (v1.0.0-beta.1) gutted LLShaderMgr, LLViewerShaderMgr and LLGLSLShader, and llrender/llshadermgr.cpp is gone. Remaining: llviewershadermgr.{h,cpp} (76-line stub) is still referenced from llviewermenu, llappviewer, llviewerregion, llsettingsvo, llvovolume and llvoavatar. LLShaderMgr is still referenced (96 lines across 5 files), and 22 extern program globals remain in llviewershadermgr.h.
sky_line added this to the Slipstream project 2026-10-06 15:04:15 +00:00
Author
Owner

Verified against forgejo/main (v1.2.0, 55f4242518); GL deletion in ef8365e45f (gl-delete merge), 52c3662a76, 547061ef34, 5f9502cf69. Verified absent: LLViewerShaderMgr, LLShaderMgr, shader cache, all g*Program globals (only comments mention gUIProgram/gAlphaMaskProgram: llappviewer.cpp:6814, ui_atest.frag:5). No newview/app_settings/shaders GLSL left.

Verified against forgejo/main (v1.2.0, 55f4242518); GL deletion in ef8365e45f (gl-delete merge), 52c3662a76, 547061ef34, 5f9502cf69. Verified absent: LLViewerShaderMgr, LLShaderMgr, shader cache, all g*Program globals (only comments mention gUIProgram/gAlphaMaskProgram: llappviewer.cpp:6814, ui_atest.frag:5). No newview/app_settings/shaders GLSL left.
sky_line 2026-10-10 06:24:36 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#68
No description provided.