Skip to content

Performance Update + AMD Fixes - Build 122 (experimental)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Nov 07:27

What's new in this build

This is build 122 of nx2-experimental (9210b8d): build 119 plus one fix for Mario Kart World. Nothing else changed.

Mario Kart World: one more compute shader compiles

Mario Kart World has a compute shader with HSETP2.EQ.AND P0, PT, R44.H0_H0, R44.H1_H1, P0 (opcode 0x234). The Ampere lowering only had the immediate form (0x434), so the whole program was rejected. The register form is now lowered to Maxwell's HSETP2 with a register source — B register, swizzle, abs and neg taken from bits 20–31 — the same way the immediate form is.

There is nothing to switch on or configure: the program now compiles instead of being skipped.

Coming from build 119?

The .nup fix from 119 is still here and nothing else moved. Note that build 121 is the other line (nx2, the Fire Emblem: Fortune's Weave batch) — it has neither this fix nor the nx2-experimental batch; 121 and 122 are built from different branches.

How it works, for the technically curious

lower_to_maxwell.h now handles 0x234 next to 0x434. For the register form it rejects the native half comparison modes (words[1] & 0x0fffff00, Bits(64,5)) instead of lowering them wrongly, and builds the Maxwell source operand from Bits(32,8) (the B register) with the swizzle at Bits(60,2), abs at 62 and neg at 63.


Automatic build of nx2-experimental at 9210b8d.

Windows: extract the zip and run eglantine.exe, or eden-cli.exe from a terminal.
Linux (AppImage): make it executable (chmod +x) and run it; it bundles its libraries and needs glibc 2.39 or newer (Ubuntu 24.04, Fedora 40, Debian 13, Arch).
Linux (tar.gz): extract it and run ./eglantine or ./eden-cli; it uses your system libraries, so Qt 6 and the usual libraries must be installed.
macOS: Apple Silicon and macOS 15 or newer. Unzip and move eglantine.app to Applications; eden-cli is inside it, in Contents/MacOS. The app is not notarized, so the first time right-click it and choose Open (or run xattr -dr com.apple.quarantine eglantine.app).
The -pgo builds are the same programs compiled with profile-guided optimization (clang plus Eden's profile); prefer them when your CPU supports it. The Windows PGO build is a MinGW build, so it carries its own DLLs and needs no Visual C++ redistributable.