Shaders: lower v_sat_pk_u8_i16 #5063

Open
101Leafy wants to merge 1 commit from upstream-pr/5063 into main
101Leafy commented 2026-12-01 18:45:51 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-12-01T18:45:51Z.


Lowers v_sat_pk_u8_i16 (opsel 0): each signed 16-bit half of src0 clamped to 0..255, the two bytes in the low half of the result, the high half kept.

cargo check -p victory-shader is clean.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5592225280 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/5063). Originally posted by [101Leafy](https://github.com/101Leafy) on 2026-12-01T18:45:51Z. --- Lowers `v_sat_pk_u8_i16` (opsel 0): each signed 16-bit half of src0 clamped to 0..255, the two bytes in the low half of the result, the high half kept. `cargo check -p victory-shader` is clean.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/5063:upstream-pr/5063'
git switch 'upstream-pr/5063'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/5063'
git switch 'upstream-pr/5063'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/5063'
git switch 'upstream-pr/5063'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/5063'
git switch 'main'
git merge --squash 'upstream-pr/5063'
git switch 'main'
git merge --ff-only 'upstream-pr/5063'
git switch 'main'
git merge 'upstream-pr/5063'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
trustno1-coder/VIctory-NVIDIA!5063
No description provided.