[PR #7308] [MERGED] Repair eleven client2-001 ledger citations that named no fn #7481

Closed
opened 2026-11-03 06:40:01 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7308
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/fix-citations-client2-001


📝 Commits (1)

  • 4e45758 Name the fn each client2-001 row ports

📊 Changes

1 file changed (+11 additions, -11 deletions)

View changed files

📝 tools/port_map/client2-001.tsv (+11 -11)

📄 Description

Eleven rows in tools/port_map/client2-001.tsv named a where cell that port_ledger.py map-check could not resolve (no fn): bare files, file:line and prose forms, a +-joined pair, a slash pair and a const name instead of a fn. Each now names the single function that implements the method.

row before now cites
8 CloudRenderer.renderOit .../gfx/oit.rs crates/horizon-client-render/src/gfx/oit.rs::Oit::render_clouds — one stage's cloud pass, its own depth copied from the world's
43 FirstPersonHandsAndItemsRenderer.renderMapHand ...::map_arm_poses (MapHold::TwoHanded) crates/horizon-client/src/first_person.rs::map_arm_poses — its MapHold::TwoHanded arm is the two arms behind the map
60 GameRenderer.preparePostEffects .../gfx.rs::post_effects (post_chain::PostEffects, built at gfx.rs:8424) crates/horizon-client-render/src/post_chain.rs::PostEffects::apply — loads each requested chain on first use
61 GameRenderer.applyPostEffects .../gfx.rs::post_effects crates/horizon-client-render/src/post_chain.rs::PostEffects::apply — the same fn runs the chain over the frame
62 GameRenderer.tryTakeScreenshotIfNeeded .../game.rs::tick_world_icon (called at game.rs:17852) crates/horizon-client/src/game.rs::Game::tick_world_icon — one 64x64 icon grab a second while the world lacks one
64 GameRenderer.integrate3DHudDepth .../gfx.rs::post_effects crates/horizon-client-render/src/post_chain.rs::PostEffects::apply — the frame's depth is handed to the chain there, for a pass that reads minecraft:main's depth
70 GameRenderer.useImprovedTransparency .../gfx.rs::improved_transparency / oit: Option<oit::Oit> crates/horizon-client-render/src/gfx.rs::Renderer::draw_frame — oit_on is self.improved_transparency && ... and gates the OIT pass
85 LevelRenderer.executeOit .../gfx/oit.rs + gfx::mark_oit (gfx/entity_batch.rs:31) crates/horizon-client-render/src/gfx/oit.rs::Oit::run — the three stages over the marked translucent geometry
86 LevelRenderer.executeDepthBoundsCull .../gfx/oit.rs crates/horizon-client-render/src/gfx/oit.rs::Oit::execute_depth_bounds_cull
87 LevelRenderer.executeOitWaterMask .../gfx.rs::WATER_MASK_OVERLAY crates/horizon-client-render/src/gfx/oit.rs::Oit::execute_water_mask — the pass that draws the mask layer WATER_MASK_OVERLAY names
96 LevelRenderer.submitTransientBlocks .../game/remote.rs: C::AddTransientBlock => add_transient_block crates/horizon-client/src/game/transient_blocks.rs::Game::transient_block_geometry — each live transient block drawn as a moving block

Rows 60, 61 and 64 share one fn because PostEffects::apply is where a chain is loaded, run and handed the frame's depth; the rows keep their own notes, so which half each one claims stays readable. Rows 85, 86 and 87 are the three Oit methods, one per vanilla method. No verdict changed: all eleven stay port or inline.

Validation, against a build of upstream/main with both 26.3 jars:

$ PORT_LEDGER_OUT=/tmp/led-repair python3 tools/port_ledger.py map-check tools/port_map/client2-001.tsv
150 rows, no problems.

Proven: every cited path::fn exists at that path and holds the work the row describes (oit_on gate, the lazily built chain, the depth handoff, the transient-block draw).

Not proven: that any of these ports is complete against the vanilla method — only that the citation now names a real fn; verdicts and notes are untouched.

These cells were written before map-check was run over the verdict map, which is why a bare file, a file:line form, a + pair or a const name could sit in the where column unresolved.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7308 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/fix-citations-client2-001` --- ### 📝 Commits (1) - [`4e45758`](https://github.com/horizon-rust/horizon/commit/4e457588366d1d3888fc815b83a14a1f788f0e48) Name the fn each client2-001 row ports ### 📊 Changes **1 file changed** (+11 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-001.tsv` (+11 -11) </details> ### 📄 Description Eleven rows in `tools/port_map/client2-001.tsv` named a `where` cell that `port_ledger.py map-check` could not resolve (`no fn`): bare files, `file:line` and prose forms, a `+`-joined pair, a slash pair and a const name instead of a fn. Each now names the single function that implements the method. | row | before | now cites | | --- | --- | --- | | 8 `CloudRenderer.renderOit` | `.../gfx/oit.rs` | `crates/horizon-client-render/src/gfx/oit.rs::Oit::render_clouds` — one stage's cloud pass, its own depth copied from the world's | | 43 `FirstPersonHandsAndItemsRenderer.renderMapHand` | `...::map_arm_poses (MapHold::TwoHanded)` | `crates/horizon-client/src/first_person.rs::map_arm_poses` — its `MapHold::TwoHanded` arm is the two arms behind the map | | 60 `GameRenderer.preparePostEffects` | `.../gfx.rs::post_effects (post_chain::PostEffects, built at gfx.rs:8424)` | `crates/horizon-client-render/src/post_chain.rs::PostEffects::apply` — loads each requested chain on first use | | 61 `GameRenderer.applyPostEffects` | `.../gfx.rs::post_effects` | `crates/horizon-client-render/src/post_chain.rs::PostEffects::apply` — the same fn runs the chain over the frame | | 62 `GameRenderer.tryTakeScreenshotIfNeeded` | `.../game.rs::tick_world_icon (called at game.rs:17852)` | `crates/horizon-client/src/game.rs::Game::tick_world_icon` — one 64x64 icon grab a second while the world lacks one | | 64 `GameRenderer.integrate3DHudDepth` | `.../gfx.rs::post_effects` | `crates/horizon-client-render/src/post_chain.rs::PostEffects::apply` — the frame's depth is handed to the chain there, for a pass that reads `minecraft:main`'s depth | | 70 `GameRenderer.useImprovedTransparency` | `.../gfx.rs::improved_transparency / oit: Option<oit::Oit>` | `crates/horizon-client-render/src/gfx.rs::Renderer::draw_frame` — `oit_on` is `self.improved_transparency && ...` and gates the OIT pass | | 85 `LevelRenderer.executeOit` | `.../gfx/oit.rs + gfx::mark_oit (gfx/entity_batch.rs:31)` | `crates/horizon-client-render/src/gfx/oit.rs::Oit::run` — the three stages over the marked translucent geometry | | 86 `LevelRenderer.executeDepthBoundsCull` | `.../gfx/oit.rs` | `crates/horizon-client-render/src/gfx/oit.rs::Oit::execute_depth_bounds_cull` | | 87 `LevelRenderer.executeOitWaterMask` | `.../gfx.rs::WATER_MASK_OVERLAY` | `crates/horizon-client-render/src/gfx/oit.rs::Oit::execute_water_mask` — the pass that draws the mask layer `WATER_MASK_OVERLAY` names | | 96 `LevelRenderer.submitTransientBlocks` | `.../game/remote.rs: C::AddTransientBlock => add_transient_block` | `crates/horizon-client/src/game/transient_blocks.rs::Game::transient_block_geometry` — each live transient block drawn as a moving block | Rows 60, 61 and 64 share one fn because `PostEffects::apply` is where a chain is loaded, run and handed the frame's depth; the rows keep their own notes, so which half each one claims stays readable. Rows 85, 86 and 87 are the three `Oit` methods, one per vanilla method. No verdict changed: all eleven stay `port` or `inline`. Validation, against a build of `upstream/main` with both 26.3 jars: ``` $ PORT_LEDGER_OUT=/tmp/led-repair python3 tools/port_ledger.py map-check tools/port_map/client2-001.tsv 150 rows, no problems. ``` **Proven:** every cited `path::fn` exists at that path and holds the work the row describes (`oit_on` gate, the lazily built chain, the depth handoff, the transient-block draw). **Not proven:** that any of these ports is complete against the vanilla method — only that the citation now names a real fn; verdicts and notes are untouched. These cells were written before `map-check` was run over the verdict map, which is why a bare file, a `file:line` form, a `+` pair or a const name could sit in the `where` column unresolved. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:40:01 +07:00
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#7481
No description provided.