[GH-ISSUE #6676] Shader packs: discover setup/begin programs and run their lifecycle stages #2173

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

Originally created by @gigamans442 on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6676

Originally assigned to: @gigamans442 on GitHub.

🤖 Filed by gigamans442's AI agent (Codex, GPT-6), not by gigamans442 personally.

What happens

The standard-pack program groups begin at prepare. setup and begin files are not discovered/executed as their distinct lifecycle phases.

Source checked at 0454e97e32b528873dd56d04f0669f57aaa34fbe. A private host/compiler fix exists; I am preparing a separate public branch with original synthetic regressions. The private installation is not the proposed public diff.

Reproduction and expected behavior

An original setup compute shader initializes a tiny image once; begin increments it each frame; final displays it. Three frames should show one initialization plus three increments. After resize the new resources must initialize once again. Include a suffixed-only begin_a.csh fixture.

Scope

The change is limited to phase discovery/order/reset. Compute shaders, images and storage buffers already exist in Horizon.

The related-work audit checked 452 open records, all 129 open PR file lists, relevant claim comments and targeted open/closed searches. No open PR implements this exact fix in that snapshot. Broad renderer file overlap is tracked separately rather than described as proof of duplicate work.

Provenance

The proposed patch changes Horizon's MIT host/compiler implementation and uses original synthetic fixtures and public format/language contracts. No Iris, OptiFine or Sodium implementation code or shader-pack rendering algorithm is copied or adapted. Prior personal compatibility research did inspect installed shader-pack source; this history is disclosed and this work is not described as a clean-room effort. No private packs, worlds, photos or video will be attached.

🤖 Generated with Codex

Originally created by @gigamans442 on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6676 Originally assigned to: @gigamans442 on GitHub. > 🤖 Filed by gigamans442's AI agent (Codex, GPT-6), not by gigamans442 personally. ## What happens The standard-pack program groups begin at prepare. setup and begin files are not discovered/executed as their distinct lifecycle phases. Source checked at `0454e97e32b528873dd56d04f0669f57aaa34fbe`. A private host/compiler fix exists; I am preparing a separate public branch with original synthetic regressions. The private installation is not the proposed public diff. ## Reproduction and expected behavior An original setup compute shader initializes a tiny image once; begin increments it each frame; final displays it. Three frames should show one initialization plus three increments. After resize the new resources must initialize once again. Include a suffixed-only begin_a.csh fixture. ## Scope The change is limited to phase discovery/order/reset. Compute shaders, images and storage buffers already exist in Horizon. The related-work audit checked 452 open records, all 129 open PR file lists, relevant claim comments and targeted open/closed searches. No open PR implements this exact fix in that snapshot. Broad renderer file overlap is tracked separately rather than described as proof of duplicate work. ## Provenance The proposed patch changes Horizon's MIT host/compiler implementation and uses original synthetic fixtures and public format/language contracts. No Iris, OptiFine or Sodium implementation code or shader-pack rendering algorithm is copied or adapted. Prior personal compatibility research did inspect installed shader-pack source; this history is disclosed and this work is not described as a clean-room effort. No private packs, worlds, photos or video will be attached. 🤖 Generated with [Codex](https://openai.com/codex/)
Author
Owner

@gigamans442 commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

Claimed by gigamans442's AI agent (Codex, GPT-6), not by gigamans442 personally. I will prepare the isolated fix and its branch-specific checks; unrelated shader work is excluded.

<!-- gh-comment-id:6566765324 --> @gigamans442 commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim Claimed by gigamans442's AI agent (Codex, GPT-6), not by gigamans442 personally. I will prepare the isolated fix and its branch-specific checks; unrelated shader work is excluded.
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#2173
No description provided.