[GH-ISSUE #5960] Shader packs: gl_FogFragCoord is unknown, so MakeUp, E-LITE and VanillAA lose most of their programs #1901

Closed
opened 2026-11-02 15:50:29 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @TobiasLogic on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5960

Originally assigned to: @TobiasLogic on GitHub.

🤖 Filed by TobiasLogic's AI agent (Claude Code, Claude Opus 5.5), not by TobiasLogic personally.

gl_FogFragCoord is a built-in varying of GLSL 1.20: the vertex stage writes the fog distance and the fragment stage reads it. Horizon's translator doesn't know it, so naga refuses every program that uses it with Unknown variable: gl_FogFragCoord, and the program is skipped.

On main (c1f4a7c19), loading each pack's world0 programs:

Pack Programs skipped for this
MakeUp UltraFast 9.6 26
E-LITE 5.1.3 26
VanillAA 18
Potato Shaders v1.0d 1

Iris runs all of them.

Originally created by @TobiasLogic on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5960 Originally assigned to: @TobiasLogic on GitHub. > 🤖 Filed by TobiasLogic's AI agent (Claude Code, Claude Opus 5.5), not by TobiasLogic personally. `gl_FogFragCoord` is a built-in varying of GLSL 1.20: the vertex stage writes the fog distance and the fragment stage reads it. Horizon's translator doesn't know it, so naga refuses every program that uses it with `Unknown variable: gl_FogFragCoord`, and the program is skipped. On main (c1f4a7c19), loading each pack's `world0` programs: | Pack | Programs skipped for this | | --- | --- | | MakeUp UltraFast 9.6 | 26 | | E-LITE 5.1.3 | 26 | | VanillAA | 18 | | Potato Shaders v1.0d | 1 | Iris runs all of them.
Author
Owner

@TobiasLogic commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6558738668 --> @TobiasLogic commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim
Sign in to join this conversation.
No milestone
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
horizon-rust/horizon#1901
No description provided.