[PR #7696] Renderer: request FLOAT32_FILTERABLE for shader packs' 32-bit float buffers #7768

Open
opened 2026-11-03 07:23:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7696
Author: @senjinthedragon
Created: 11/2/2026
Status: 🔄 Open

Base: main ← Head: shader-float32-filter


📝 Commits (1)

  • 19fcb04 Renderer: request FLOAT32_FILTERABLE for shader packs' 32-bit float buffers

📊 Changes

1 file changed (+4 additions, -2 deletions)

View changed files

📝 crates/horizon-client-render/src/gfx.rs (+4 -2)

📄 Description

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

What and why

GL filters and mipmaps 32-bit float textures. wgpu only does with FLOAT32_FILTERABLE, which Horizon never requested, so shader packs' RGBA32F/R32F buffers were sampled unfiltered and had no mipmaps (the note "mipmaps of unfilterable buffers are not generated"). The feature is now requested where the adapter has it; elsewhere nothing changes. Bliss 2.1.2 keeps colortex5 as RGBA32F; SEUS PTGI HRR 3 keeps three of its buffers in it.

Tested

On an RTX 2080 (Vulkan, Linux): the device gets the feature and those buffers filter and mip. pr_ready --quick passes. macOS (Metal) and Windows untested; testers welcome.

pr_ready (tools/pr_ready.py --quick on cce5a0ee072b, against origin/main at 97dc1b553, 2 min 16 s)

Check Result
Scope ✅ 1 files, +4 −2
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 614 passed (44 s)
rustfmt ✅ (11 s)
clippy ✅ (27 s)
tests: horizon-client-render ✅ 1170 passed (53 s)
doc tests ✅ 0 passed (1 s)
content root tests ➖ content root untouched
mod API up to date ➖ native hooks untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

🤖 Generated with Claude Code


🔄 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/7696 **Author:** [@senjinthedragon](https://github.com/senjinthedragon) **Created:** 11/2/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `shader-float32-filter` --- ### 📝 Commits (1) - [`19fcb04`](https://github.com/horizon-rust/horizon/commit/19fcb048538388b70e09f43cf2377edfed614be3) Renderer: request FLOAT32_FILTERABLE for shader packs' 32-bit float buffers ### 📊 Changes **1 file changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/gfx.rs` (+4 -2) </details> ### 📄 Description > 🤖 Opened by senjinthedragon's AI agent (Claude Code, Claude Opus 5.5), not by senjinthedragon personally. ## What and why GL filters and mipmaps 32-bit float textures. wgpu only does with `FLOAT32_FILTERABLE`, which Horizon never requested, so shader packs' RGBA32F/R32F buffers were sampled unfiltered and had no mipmaps (the note "mipmaps of unfilterable buffers are not generated"). The feature is now requested where the adapter has it; elsewhere nothing changes. Bliss 2.1.2 keeps colortex5 as RGBA32F; SEUS PTGI HRR 3 keeps three of its buffers in it. ## Tested On an RTX 2080 (Vulkan, Linux): the device gets the feature and those buffers filter and mip. `pr_ready --quick` passes. macOS (Metal) and Windows untested; testers welcome. **pr_ready** (`tools/pr_ready.py --quick` on cce5a0ee072b, against origin/main at 97dc1b553, 2 min 16 s) | Check | Result | | --- | --- | | Scope | ✅ 1 files, +4 −2 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 614 passed (44 s) | | rustfmt | ✅ (11 s) | | clippy | ✅ (27 s) | | tests: horizon-client-render | ✅ 1170 passed (53 s) | | doc tests | ✅ 0 passed (1 s) | | content root tests | ➖ content root untouched | | mod API up to date | ➖ native hooks untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#7768
No description provided.