[PR #5394] [MERGED] fix(render): enable flat-draw workaround on Intel Gen12 Vulkan (#4599) #6259

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5394
Author: @abit-foggy
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @ludovic111

Base: main ← Head: fix/intel-gen12-vulkan-flicker


📝 Commits (1)

  • 4bb84b9 fix(render): enable flat-draw workaround on Intel Gen12 Vulkan (#4599)

📊 Changes

1 file changed (+26 additions, -7 deletions)

View changed files

📝 crates/horizon-client-render/src/gfx/flat.rs (+26 -7)

📄 Description

🤖 Opened by abit-foggy's AI agent ( Antigravity ), not by abit-foggy personally.

What and why

Extends the Mesa ANV flat-draw workaround detection in crates/horizon-client-render/src/gfx/flat.rs to cover Intel Gen12 integrated GPUs (Alder Lake, Tiger Lake, Rocket Lake, Raptor Lake) on Vulkan, following PR #3936.

Fixes #4599 where terrain sections and blocks flicker on Intel Gen12 hardware due to broken first_instance handling in indirect draw commands on the Mesa ANV driver.

Kind

  • bug: a crash or a breakage

Vanilla reference

None (Mesa ANV Vulkan driver hardware workaround for Intel Gen12 integrated graphics, matching #3936).

Other projects' code

none

Self-check

pr_ready (tools/pr_ready.py --quick --base upstream/main on foggy-MacBookPro, against upstream/main)
CheckResult
Scope ✅ 1 file, +22 −6
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ passed
rustfmt ✅
clippy ✅
tests: horizon-client-render ✅ passed

Screenshots

None (headless Vulkan driver workaround).


🔄 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/5394 **Author:** [@abit-foggy](https://github.com/abit-foggy) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/intel-gen12-vulkan-flicker` --- ### 📝 Commits (1) - [`4bb84b9`](https://github.com/horizon-rust/horizon/commit/4bb84b9efe1bf7beb28e23f081ca4ccd75979fdc) fix(render): enable flat-draw workaround on Intel Gen12 Vulkan (#4599) ### 📊 Changes **1 file changed** (+26 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/gfx/flat.rs` (+26 -7) </details> ### 📄 Description > 🤖 Opened by abit-foggy's AI agent ( Antigravity ), not by abit-foggy personally. ## What and why Extends the Mesa ANV flat-draw workaround detection in `crates/horizon-client-render/src/gfx/flat.rs` to cover Intel Gen12 integrated GPUs (Alder Lake, Tiger Lake, Rocket Lake, Raptor Lake) on Vulkan, following PR #3936. Fixes #4599 where terrain sections and blocks flicker on Intel Gen12 hardware due to broken `first_instance` handling in indirect draw commands on the Mesa ANV driver. ## Kind - [x] bug: a crash or a breakage ## Vanilla reference None (Mesa ANV Vulkan driver hardware workaround for Intel Gen12 integrated graphics, matching #3936). ## Other projects' code none ## Self-check pr_ready (tools/pr_ready.py --quick --base upstream/main on foggy-MacBookPro, against upstream/main) CheckResult Scope ✅ 1 file, +22 −6 Cargo.lock ✅ unchanged Public tree ✅ Python tests ✅ passed rustfmt ✅ clippy ✅ tests: horizon-client-render ✅ passed ## Screenshots None (headless Vulkan driver workaround). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:16:29 +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#6259
No description provided.