Commit 55f06b7
committed
fix(sagepatch,macos): default DXVK_HUD off; MoltenVK can't compile DrawIndex
The wrapper scripts shipped DXVK_HUD=fps when SagePatch was active. On
macOS 26 (MoltenVK 1.4.1, current SDK), DXVK's HUD pipeline shader uses
gl_DrawID, which lowers to SPIR-V DrawIndex. SPIRV-Cross to MSL has no
equivalent for that decoration and aborts conversion:
[mvk-error] SPIR-V to MSL conversion error: DrawIndex is not supported in MSL.
err: Failed to create swap chain blit pipeline: VK_ERROR_INITIALIZATION_FAILED
The blit pipeline failure means DXVK can never present a frame; the game
hangs at the EA Games logo (last thing the engine drew before DXVK started
needing the blit pipeline).
Revert the default to DXVK_HUD=0 on the three macOS wrapper scripts.
Users who want the FPS overlay can still opt in with DXVK_HUD=fps.
Linux and Flatpak wrappers are unchanged: native Vulkan drivers handle
DrawIndex correctly there.1 parent 1cf944f commit 55f06b7
3 files changed
Lines changed: 12 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
376 | | - | |
377 | | - | |
| 375 | + | |
| 376 | + | |
378 | 377 | | |
379 | 378 | | |
380 | 379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
| |||
0 commit comments