Repository navigation
Conversation
…40 programs) Ported from DexNom/VIctory ddb7332 (GPL-3.0): both samples are taken with the original derivatives, and the texel from the edge that supplied the console's sampler is kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ExoCalibra
added a commit
to ExoCalibra/victory-exo
that referenced
this pull request
Nov 25, 2026
…, +40 shaders)
ExoCalibra
added a commit
to ExoCalibra/victory-exo
that referenced
this pull request
Nov 25, 2026
This was referenced Nov 25, 2026
Open
notquiteog
added a commit
to notquiteog/victory-nvidia
that referenced
this pull request
Nov 26, 2026
…e between two immediate samplers (40 programs) (by m335671) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Nov 26, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
On current
main, 40 programs fail translation withemit: a descriptor chosen by control flow. In each of them, a uniform branch picks one of two immediate (constant) samplers before an image sample. This ports DexNom's fix from DexNom/VIctoryddb7332(GPL-3.0, thelower.rspart only):imagenow takes the sampler and callsimage_with_sampler; everything else is unchanged.The commit also carries DexNom's unit test,
a_uniform_branch_can_choose_between_immediate_samplers.Testing
RTX 4070 12 GB (32-lane waves), driver 32.0.16.2124, Windows 11 Pro 26300.
Offline,
VICTORY_HOST_MAX_WAVE=32 victory translate --list --pipelinesover the title's whole shader pack, compared program by program by hash:a descriptor chosen by control flowmaind510ee4maincreates is lost, and no other failure count changes.PS_TexturedDeferred(10);PS_TexturedLit_ReflectionMap,PS_TexturedLit_8andPS_MirrorReflectionTexturedDeferred(7 each);PS_PuddleDetect(6);MST_DS_TerrainTransform(2); andMST_DS_CascadeShadows_PNTriTexture(1).cargo test -p victory-shader immediate_samplerspasses.In the title (diagnostics build, prewarmed cache, checkpoint to the first room, then idle;
VICTORY_INDIRECT_WINDOW=1 VICTORY_LEVELS_ON_DEMAND=1 VICTORY_JOIN_PARTS=1 VICTORY_BACK_OWN_VIEW=1 VICTORY_COPY_PLAIN=1 VICTORY_INDIRECT_GATHER=1 VICTORY_CARD_REHASH_RUNS=1, with #1093 atVICTORY_AMBIENT=0.6):Not tested: scenes that use these programs, other GPUs, and DexNom's integer-target blending change from the same commit (left out here).
Credit: the lowering and its test are DexNom's; this PR only applies them to this tree.
AI use: Claude Code (Claude Opus 5.5) ported the change, ran the checks on my machine and wrote this description.
🤖 Generated with Claude Code