Shaders: image_sample_o with constant offsets #634
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!634
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/634/head"
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?
@SAitken91 on GitHub · 2026-11-24 05:58 UTC · original
SAitken91:shader/image-sample-o→main· +31 −1 · 2 files · 1 commits · merged 2026-11-24 08:19 UTCimage_sample_owas refused by name. That blocked 4 pixel programs in shaders.rpf, for examplePS_VolumeLight_Interleave_Reconstruction_Weighted.Change
sample's immediate offsets when it is a constant within DXIL's −8..7.Module::int_valuereads an integer constant's value.Results
victory translate --validate shaders.rpf: vertex/pixel validated 12172 → 12176 (all four).Testing
cargo test -p victory-shader: 69 passed. Clippy and rustfmt are clean.This is independent of my other open PRs (#539, #554, #563, #565, #569, #571, #592).
Written with the help of Claude (AI).
🤖 Generated with Claude Code
@slint6614-dev on GitHub · 2026-11-24 07:47 UTC · original
Measured on the full retail shader pack (26,503 containers) with
victory translate --validate, against maind2a4bae(emitted / validated). Windows 11, dxil.dll from SDK 10.0.26100.Both clear the 4
image_sample_orefusals:cargo test -p victory-shaderpasses on both.