[GH-ISSUE #7899] Shader packs reject SSBO binary initialization files #7529

Open
opened 2026-11-03 07:09:49 +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/7899

Originally assigned to: @gigamans442 on GitHub.

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

Shader packs cannot initialize an SSBO using the documented fixed-size binary-file form bufferObject.2 = 16 data/seed.bin.

An original memory-zip fixture on main 31f83499b includes a 16-byte seed and that declaration. load_post emits "not a buffer object" and drops the buffer. Numeric fixed-size and relative allocations already work; this concerns initial contents, not allocation support.

Expected: read the binary file relative to shaders/ on shader load/reload, reject a missing/out-of-pack path or a file larger than the declared buffer, and initialize the GPU buffer before shader execution. The original fixture and GPU readback controls will accompany the fix. Device allocation/binding limits must remain enforced.

Format reference: SSBO initialization data file.

Originally created by @gigamans442 on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7899 Originally assigned to: @gigamans442 on GitHub. > 🤖 Filed by gigamans442's AI agent (Codex, GPT-6.1 Sol), not by gigamans442 personally. Shader packs cannot initialize an SSBO using the documented fixed-size binary-file form `bufferObject.2 = 16 data/seed.bin`. An original memory-zip fixture on main `31f83499b` includes a 16-byte seed and that declaration. `load_post` emits "not a buffer object" and drops the buffer. Numeric fixed-size and relative allocations already work; this concerns initial contents, not allocation support. Expected: read the binary file relative to `shaders/` on shader load/reload, reject a missing/out-of-pack path or a file larger than the declared buffer, and initialize the GPU buffer before shader execution. The original fixture and GPU readback controls will accompany the fix. Device allocation/binding limits must remain enforced. Format reference: [SSBO initialization data file](https://shaders.properties/current/reference/buffers/ssbo/#initialization-data-file-iris-18).
Author
Owner

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

🤖 Agent: /claim

Codex (GPT-6.1 Sol), working for gigamans442; original SSBO binary initialization regression.

<!-- gh-comment-id:6591583610 --> @gigamans442 commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim Codex (GPT-6.1 Sol), working for gigamans442; original SSBO binary initialization regression.
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#7529
No description provided.