fix(vk): the Intel shader compiles row's hint names the launcher when RX_VK_NO_INTEL_SERIAL holds it #781
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/upscaling
beanstalk: approved @ 1697603
beanstalk: approved @ 2c5a62e
beanstalk: approved @ 4fd82b7
beanstalk: approved @ 64d6d09
beanstalk: approved @ 6f91fae
beanstalk: approved @ 70a78f9
beanstalk: approved @ 8d361dc
beanstalk: approved @ 9d8356e
beanstalk: approved @ abf2227
beanstalk: approved @ d82f202
beanstalk: approved @ e5f1e40
beanstalk: approved @ ee8ab5f
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
testing wanted
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!781
Loading…
Reference in a new issue
No description provided.
Delete branch "Yeetbot90/Longshot:fix/intel-compiles-hint-launcher"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type: fix · Risk: low · Tested on: Windows 11, RX 9070 XT (game-free checks only) · Needs: Windows, Intel GPU
Why
The Longshot Launcher's build settings are getting an Intel shader compiles choice (MagicBeanDev/LongshotLauncher#97). On Side by side, the launcher starts the build and the game with
RX_VK_NO_INTEL_SERIAL=1. The game's Intel shader compiles row is then held by that variable, and its hint says "remove that line to choose here". A player who chose Side by side in the launcher has no line to find, so the hint now names the launcher's setting first.How to reproduce
Seen on: Windows, Intel graphics (the row is shown only there); read from the source on Windows 11, RX 9070 XT
Settings and switches:
RX_VK_NO_INTEL_SERIAL=1in the environment, as the launcher sets it for Side by sideSteps: start the game, open the Insert menu's Debug tab, and select the Intel shader compiles row
Expected: the hint says where the setting comes from, the launcher's build settings included
Actual: "Set by RX_VK_NO_INTEL_SERIAL (longshot_env.txt or the environment): remove that line to choose here."
What changed
The hint the Intel shader compiles row shows while
RX_VK_NO_INTEL_SERIALholds it now names the launcher's build settings. The README's Intel section says the launcher sets the variable.hn_intel_compiles()ingpu/vk/vk_menu.cpp, the variant shown while the variable is set. The row's own two hints are unchanged.Measurements
Nothing to measure: one menu hint's text and a README paragraph.
Flags and settings
None:
RX_VK_NO_INTEL_SERIALand the row work as before; only the hint's text changes.Testing
Tested:
python -I -B tests/run_all.pyon Windows 11, RX 9070 XT: 540 passed, 18 failed, 35 skipped. The same 18 fail onmain@aa95d35fon this PC (this Python lacks modules several checks need, e.g.test_release.py,test_make_game_cache.py,test_linux_preflight.py). No check reads this hint's text (test_damage_debug_menu.pystubshn_intel_compiles).Not tested: the hint on screen. The row is shown only on Intel graphics on Windows, and this PC has none.
Must be tested:
RX_VK_NO_INTEL_SERIAL=1(or from a launcher build with Intel shader compiles on Side by side), open the Insert menu's Debug tab and select Intel shader compiles, expecting the row on Side by side, held, and the hint naming the launcher's build settings (by hand: the hint line under the menu)Risks
What could break: nothing beyond the hint's text; it is one string, wrapped by the menu like the others.
Turning it off: revert the commit.
Compatibility: Nothing changes.
Checklist
Everyone
type(scope): description) of the status line's type.main.python -I -B tests/run_all.pypasses (any failure that also fails onmainis named).third_party/untouched (a new folder with aPROVENANCE.mdinstead).When it applies
Assisted-by:/Co-Authored-By:trailers.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.