fix(cloth): enable HOS_FPS_CLOTH_60 by default above 60 FPS (#2987) #3122
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
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
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3122
Loading…
Reference in a new issue
No description provided.
Delete branch "cfw34683/Longshot:fix/2987-cloth-above-60fps"
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?
Closes #2987
Summary
Promotes
HOS_FPS_CLOTH_60from an opt-inattemptswitch to akillswitch (enabled by default viaswitch_on_or("HOS_FPS_CLOTH_60", true);HOS_FPS_CLOTH_60=0restores every-frame solving).game/crates/game-core/src/fixes/high_fps.rs(cloth_solve): Gatescloth.solveto at most 60 solves per second (on whole 60ths of the game clock) above a 60 FPS cap by default, since Havok cloth always steps by1/60 sper solve and running every frame at ~130 FPS advances cloth physics >2x faster than real time.gpu/vk/switches.def: UpdatedHOS_FPS_CLOTH_60fromattempttokilland documented=0behavior.the_cloth_solves_once_a_60th_and_every_job_of_a_frame_alike.Testing
python -I -B tests/run_all.py --exact tests/test_switch_table.py: 1 passed, 0 failed, 0 skipped.python -I scripts/dev.py cargo -- test -p game-core high_fps: blocked by an unrelated pre-existing compile error onmain(6318f405) inbuilder/crates/build-core/src/sandbox_windows.rs:1654(note_linesnot found in scope).Possibly related, for context:
934ab682669b143005ee