Shaders: add opt-in block-local expression reuse #4573

Open
github-bot wants to merge 1 commit from github-bot/gh-4572 into main AGit
Owner

@⁠john-9474 on GitHub · 2026-11-30 22:56 UTC · original
john-9474:codex/local-reuse-compatibility → main · +382 −149 · 4 files · 1 commits · open

What it changes

On an RTX 3080 Ti with driver 610.47, five compute pipelines that fail native creation with the default mask 447 all create with the new opt-in mask 959. The first pair was repeated as failure/success/failure/success. Baseline failures were actual CreateComputePipelineState E_OUTOFMEMORY results with memory admission allowed and substantial observed headroom.

Adds LOCAL_REUSE (bit 512): keep pure-expression REUSE within each block while retaining same-block reuse, phi deduplication, known-And/Or select folding and the other requested passes. 959 is the usual 447 plus this modifier. Default 447 and ALL 511 stay unchanged; 512 alone enables no pass. Parser, test override and optimizer invocation preserve the bit, and existing cache fingerprints include its effective value.

This is a compiler compatibility option. The observations do not establish invalid IR or a general CSE semantic defect. The setting applies to all translated stages, while native evidence so far covers compute on one GPU. Keeping extra computations can add instructions and compilation work.

How it was tested

  • Pinned Rust 1.98.1, --locked, two jobs. 31 pure optimizer tests passed with the hardware namespace excluded. Parser/default/ALL/modifier-alone controls and the owned code-difference witness passed separately.
  • On refreshed base 7d93ee07, default and diagnostics shader-library checks and strict shader all-target Clippy passed (cargo clippy --locked --jobs 2 -p victory-shader --all-targets [--features diagnostics] -- -D warnings). The 31 pure optimizer tests, parser control and CPU emission witness were rerun successfully. Explicit locked staged policy passed for four files; Cargo.lock is unchanged. This is focused shader validation, not a full workspace CI claim.
  • Release-profile integration build (--release --features diagnostics, opt-level 3, fat LTO, one codegen unit), with the unchanged host observer and background/mute harness held constant between masks: five paired native compute creation probes produced 0/5 at 447 versus 5/5 at 959, plus the repeated first pair. Success required positive native creation markers, not the CLI exit code. The original four PR files hash-match that tested e125-based integration source (app SHA prefix 055ff48a). The refresh to 7d93ee07 preserves all production code byte for byte; its only difference from the original feature is six upstream test-only lines from #4321. Native/GPU results below belong to the original e125 integration, not a new-main native run. The observer and harness are excluded from this PR. These isolated tests have no display resolution, upscaler or frame generation rate.
  • Required RTX 3080 Ti hardware dispatch, WARP unset and mandatory DXIL validation: masks 0, 447 and 959 passed 26 full output comparisons across four owned compute kernels, including an analytical 32-lane check. Three of the four exact shaders dispatched differ between 447 and 959; the loop's instruction census changes 41 to 43. The fourth is an identical-code control.
  • These owned wave32 cases include loops, LDS/barriers and a waterfall. Float special values exercise comparisons; this does not prove every floating-point zero-sign behavior, console wave64 or all title shaders.
  • A same-café observational reversal showed coherent hair with the local-reuse algorithm and large ribbons after returning to default on the same character. For one fingerprinted compute variant, the public 959 DXIL matches the local-reuse variant used for the observation byte for byte; this identity check does not cover all five shader dumps. Camera and poses differ, so this is bounded visual evidence rather than a pixel-matched test. No gameplay FPS improvement is claimed.

No game assets, extracted shader data, images or runtime harness changes are included.

Checked for overlap

  • Searched exact LOCAL_REUSE and block-local/cross-block CSE terms. No exact duplicate found in the bounded search.
  • Related: #3501 reports a similar NVIDIA strand-pipeline failure, but its fix concerns branch-specific FDivArcp LICM; this base has no such operation. #2703 supplies the existing guarded/known-AndOr folding retained here.

Historical CI on original head 9dacc88a stopped at workspace Clippy on three unchanged e125 baseline findings: Lowered::loop_caps dead code, Shadow::ranged dead code and host.rs manual-is-multiple-of. The same shader finding was reproduced on clean e125. Upstream #4297 has since addressed these baseline findings; refreshed-head strict shader all-target checks now pass in both configurations. New remote workspace CI is separate from these local results. No authored source/config lint allowances or unrelated baseline fixes were added.

**@⁠john-9474** on GitHub · 2026-11-30 22:56 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4572) `john-9474:codex/local-reuse-compatibility` → `main` · +382 −149 · 4 files · 1 commits · open ## What it changes On an RTX 3080 Ti with driver 610.47, five compute pipelines that fail native creation with the default mask 447 all create with the new opt-in mask 959. The first pair was repeated as failure/success/failure/success. Baseline failures were actual `CreateComputePipelineState` `E_OUTOFMEMORY` results with memory admission allowed and substantial observed headroom. Adds `LOCAL_REUSE` (bit 512): keep pure-expression REUSE within each block while retaining same-block reuse, phi deduplication, known-And/Or select folding and the other requested passes. `959` is the usual 447 plus this modifier. Default 447 and ALL 511 stay unchanged; 512 alone enables no pass. Parser, test override and optimizer invocation preserve the bit, and existing cache fingerprints include its effective value. This is a compiler compatibility option. The observations do not establish invalid IR or a general CSE semantic defect. The setting applies to all translated stages, while native evidence so far covers compute on one GPU. Keeping extra computations can add instructions and compilation work. ## How it was tested - Pinned Rust 1.98.1, `--locked`, two jobs. 31 pure optimizer tests passed with the hardware namespace excluded. Parser/default/ALL/modifier-alone controls and the owned code-difference witness passed separately. - On refreshed base `7d93ee07`, default and diagnostics shader-library checks and strict shader **all-target** Clippy passed (`cargo clippy --locked --jobs 2 -p victory-shader --all-targets [--features diagnostics] -- -D warnings`). The 31 pure optimizer tests, parser control and CPU emission witness were rerun successfully. Explicit locked staged policy passed for four files; Cargo.lock is unchanged. This is focused shader validation, not a full workspace CI claim. - Release-profile integration build (`--release --features diagnostics`, opt-level 3, fat LTO, one codegen unit), with the unchanged host observer and background/mute harness held constant between masks: five paired native compute creation probes produced **0/5 at 447 versus 5/5 at 959**, plus the repeated first pair. Success required positive native creation markers, not the CLI exit code. The original four PR files hash-match that tested e125-based integration source (app SHA prefix `055ff48a`). The refresh to `7d93ee07` preserves all production code byte for byte; its only difference from the original feature is six upstream test-only lines from #4321. Native/GPU results below belong to the original e125 integration, not a new-main native run. The observer and harness are excluded from this PR. These isolated tests have no display resolution, upscaler or frame generation rate. - Required RTX 3080 Ti hardware dispatch, WARP unset and mandatory DXIL validation: masks 0, 447 and 959 passed 26 full output comparisons across four owned compute kernels, including an analytical 32-lane check. Three of the four exact shaders dispatched differ between 447 and 959; the loop's instruction census changes 41 to 43. The fourth is an identical-code control. - These owned wave32 cases include loops, LDS/barriers and a waterfall. Float special values exercise comparisons; this does not prove every floating-point zero-sign behavior, console wave64 or all title shaders. - A same-café observational reversal showed coherent hair with the local-reuse algorithm and large ribbons after returning to default on the same character. For one fingerprinted compute variant, the public 959 DXIL matches the local-reuse variant used for the observation byte for byte; this identity check does not cover all five shader dumps. Camera and poses differ, so this is bounded visual evidence rather than a pixel-matched test. No gameplay FPS improvement is claimed. No game assets, extracted shader data, images or runtime harness changes are included. ## Checked for overlap - [x] Searched exact LOCAL_REUSE and block-local/cross-block CSE terms. No exact duplicate found in the bounded search. - Related: #3501 reports a similar NVIDIA strand-pipeline failure, but its fix concerns branch-specific FDivArcp LICM; this base has no such operation. #2703 supplies the existing guarded/known-AndOr folding retained here. Historical CI on original head `9dacc88a` stopped at [workspace Clippy](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46531916906/job/142247765205) on three unchanged e125 baseline findings: `Lowered::loop_caps` dead code, `Shadow::ranged` dead code and `host.rs` manual-is-multiple-of. The same shader finding was reproduced on clean e125. Upstream #4297 has since addressed these baseline findings; refreshed-head strict shader all-target checks now pass in both configurations. New remote workspace CI is separate from these local results. No authored source/config lint allowances or unrelated baseline fixes were added.
Add LOCAL_REUSE (512) as a modifier of the existing shader optimisation
mask, keeping default 447 and ALL 511 unchanged. Preserve same-block
representatives and dominator-scoped select facts. Document the optional
compatibility setting and cover it with structural and owned GPU checks.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 22:57:37 +00:00
github-bot force-pushed github-bot/gh-4572 from 9dacc88a14 to e2774f4cdf 2026-12-01 00:05:30 +00:00 Compare
Author
Owner

@⁠VibeCodeGuy on GitHub · 2026-12-01 01:12 UTC · original

Offline corpus check (every shader container in a v1.0.2.1 dump: 25,699 unique programs), this PR at e2774f4c with VICTORY_SHADER_OPT=959 against the same build at the default mask.

  • Newly failing: 0. Newly passing: 0.
  • DXIL output changed: 22298 programs (9861 Ps, 8765 Ms, 2513 Cs, 1159 Vs); 22227 of them pass the validator, the other 71 failed it on main too (oversized mesh outputs).
The 22298 changed programs by family
  • 488 × MS_VS_Transform_PositionOnly
  • 383 × PS_DeferredTextured
  • 372 × MS_VS_Transform
  • 365 × PS_MirrorReflectionDeferredTextured
  • 355 × MSNC_VS_TransformSkin_PositionOnly
  • 314 × PS_VfxVBuffer_AlphaClip
  • 310 × PS_MirrorReflectionTextured_Eight
  • 310 × PS_Textured_Eight
  • 306 × PS_LinearDepth
  • 296 × PS_DeferredTextured_AlphaClip
  • 295 × PS_MirrorReflectionDeferredTextured_AlphaClip
  • 294 × PS_VoxelizeVisiblity
  • 274 × MSNC_VS_TransformSkin
  • 268 × PS_AlphaPrepass
  • 262 × PS_EntityMask
  • 260 × MS_VS_MirrorReflectionTransform
  • 252 × MS_VS_CascadeShadows_draw
  • 247 × MS_VS_CascadeShadows_drawTexture
  • 242 × MS_VS_TransformD
  • 239 × PS_MirrorReflectionDeferredDecalTextured
  • 235 × MS_VS_LinearDepth
  • 230 × MSNC_VS_MirrorReflectionTransformSkin
  • 229 × PS_CascadeShadows_texture
  • 226 × MS_VS_MirrorReflectionTransformD
  • 216 × VS_Transform_VfxVBuffer_AlphaClip
  • 214 × MS_VS_TransformEntityMask
  • 205 × VS_Transform_VfxVBuffer
  • 202 × VS_TransformSkin_VfxVBuffer_AlphaClip
  • 195 × VS_TransformSkin_VfxVBuffer
  • 192 × MSNC_VS_TransformSkinD
  • 181 × MS_VS_TransformTransmission
  • 176 × MSNC_VS_LinearDepthSkin
  • 176 × MSNC_VS_MirrorReflectionTransformSkinD
  • 176 × MS_VS_TransformAlphaPrepass
  • 174 × MSNC_VS_TransformSkinEntityMask
  • 166 × MSNC_VS_CascadeShadows_drawskinnedTexture
  • 152 × MSNC_VS_CascadeShadows_drawskinned
  • 146 × MSNC_VS_TransformSkinTransmission
  • 146 × MSNC_VS_TransformSkin_AlphaPrepass
  • 146 × MS_VS_MirrorReflectionTransformDecalsD
  • 129 × MSNC_VS_MirrorReflectionTransformSkinDecalsD
  • 109 × PS_MirrorPedTextured_Eight
  • 109 × PS_PedAlphaPrepass
  • 109 × PS_PedTextured_Eight_Alpha
  • 109 × PS_StudioPedTextured_Eight
  • 109 × PS_TexturedDeferred
  • 107 × PS_PedAlphaPrepass_Decals
  • 107 × PS_PedTextured_Eight_Decals
  • 99 × MS_VS_TransformLit
  • 96 × MSNC_VS_PedTransformSkinAlpha
  • 95 × PS_TrailmapDeformData
  • 88 × MS_VS_TrailmapDeformData
  • 83 × MS_VS_TransformSkin_PositionOnly
  • 82 × MS_VS_PedTransformAlpha
  • 80 × PS_MirrorReflectionTexturedDeferred
  • 79 × PS_CascadeShadows_texture_alpha
  • 78 × PS_PuddleDetect
  • 76 × PS_TexturedLit_8
  • 75 × MSNC_VS_TrailmapDeformDataSkinned
  • 72 × PS_DeferredPedTexturedNC
  • 71 × PS_MirrorReflectionDeferredPedTexturedNC
  • 70 × PS_DeferredPedDecalTextured
  • 69 × PS_DeferredTextured_AlphaClipNC
  • 69 × PS_MirrorReflectionDeferredTextured_AlphaClipNC
  • 65 × MS_VS_CascadeShadows_PedTransformPreSkinD
  • 59 × PS_AlphaTransmission
  • 59 × PS_TexturedLit
  • 58 × MSR_VS_TransformSkin_PositionOnly
  • 52 × MSNC_VS_PedTransformSkinD_PositionOnly
  • 52 × PS_AlphaPrepass_Fire
  • 51 × MSNC_VS_PedTransformSkinEntityMaskD
  • 51 × MS_VS_PedTransformD_PositionOnly
  • 50 × PS_Textured_Eight_Fire
  • 49 × MSNC_VS_MirrorReflectionPedTransformSkin
  • 49 × MSNC_VS_PedTransformSkinTransmissionAlpha
  • 48 × MSNC_VS_PedTransformSkin_Decals
  • 48 × PS_AlphaTransmission_Fire
  • 47 × MSNC_VS_PedTransformSkinAlpha_Decals
  • 47 × MSNC_VS_PedTransformSkinTransmission_Decals
  • 46 × MS_VS_PedTransformPreSkinD_PositionOnly
  • 46 × PS_PedEntityMask
  • 45 × MS_VS_PedTransformEntityMask
  • 45 × PS_MirrorReflectionTexturedDeferredAlphaClipNC
  • 45 × PS_TexturedDeferredAlphaClipNC
  • 44 × PS_PedEntityMaskD
  • 43 × MS_VS_LinearDepthPreSkin
  • 43 × PS_CascadeShadows_texture_fire
  • 42 × MSNC_VS_MirrorReflectionPedTransformSkinD
  • 42 × MSNC_VS_PedTransformSkinD
  • 42 × PS_PedTexturedCutOutTint_Zero
  • 42 × PS_TrailMapPropDeepSurfaceFlatten_UAV
  • 41 × MS_VS_MirrorReflectionPedTransform
  • 41 × MS_VS_PedTransformTransmissionAlpha
  • 41 × MS_VS_PedTransform_Decals
  • 41 × PS_LinearDepth_Fire
  • 40 × MSNC_VS_MirrorReflectionPedTransformSkinDecalsD
  • 40 × MS_VS_MirrorReflectionPedTransformD
  • 40 × MS_VS_PedTransformAlpha_Decals
  • 40 × MS_VS_PedTransformD
  • 40 × MS_VS_PedTransformTransmissionAlpha_Decals
  • 39 × MS_VS_MirrorReflectionPedTransformDecalsD
  • 38 × PS_AlphaPrepassSpatter
  • 38 × PS_AlphaTransmissionSpatter
  • 37 × MS_VS_PedTransformPreSkinD
  • 37 × PS_TwoLayerEntityMask
  • 37 × VS_VoxelizeGeneric
  • 35 × PS_AlphaPrepassSpatter_Fire
  • 35 × PS_AlphaTransmissionSpatter_Fire
  • 35 × PS_PropVehicleDeferred
  • 35 × PS_VehicleLiveryOffComplexDirtOffDeferred
  • 35 × PS_VehicleLiveryOffComplexDirtOffDetailMapsOffDeferred
  • 35 × PS_VehicleLiveryOffDetailMapsOffComplexDirtOffStickersOffFlakesOffDeferred
  • 35 × PS_VehicleLiveryOffDetailMapsOffDeferred
  • 35 × PS_VehicleLiveryOffOnlyDeferred
  • 35 × PS_VehicleLiveryOnDetailMapsOffDeferred
  • 35 × PS_VehicleVariationDeferred
  • 35 × ptfx_PS
  • 35 × ptfx_PS_alphathreshold_mv_uvdistort
  • 35 × ptfx_PS_alphathreshold_mv_uvdistort_nolocallights
  • 35 × ptfx_PS_nolocallights
  • 34 × MS_VS_TransformTransmissionFire
  • 34 × MS_VS_Transform_Fire
  • 33 × MS_VS_Transform_Fire_AlphaPrepass
  • 32 × MSNC_VS_BakeDecorations
  • 32 × MSR_VS_TransformSkin
  • 32 × MS_VS_TransformSkin
  • 32 × PS_DeferredPedTexturedNC_Packed
  • 31 × PS_TexturedLit_ReflectionMap
  • 28 × MSNC_VS_TransformSkinTransmissionFire
  • 28 × MSNC_VS_TransformSkin_Fire
  • 28 × MSNC_VS_TransformSkin_Fire_AlphaPrepass
  • 28 × PS_BakeDecorations
  • 26 × PS_DeferredPedTextured_AlphaClipNC_Tint
  • 26 × VS_TransformPreSkin_VfxVBuffer
  • 25 × MSR_VS_MirrorReflectionTransformSkinD
  • 25 × MSR_VS_TransformSkinD
  • 25 × MS_VS_MirrorReflectionTransformSkinD
  • 25 × MS_VS_TransformSkinD
  • 25 × MS_VS_TransformSpatterAlphaPrepass
  • 25 × MS_VS_TransformTransmissionSpatter
  • 25 × PS_DeferredPedTextured_AlphaClip_Decal_Tint
  • 24 × MSR_VS_CascadeShadows_drawskinned
  • 24 × MST_DS_TerrainTransform
  • 24 × MS_VS_CascadeShadows_drawskinned
  • 24 × MS_VS_MirrorReflectionTransformLit
  • 24 × PS_PedVfxVBuffer_AlphaClip
  • 23 × MSR_VS_LinearDepthSkin
  • 23 × MS_VS_CascadeShadows_draw_fire
  • 23 × MS_VS_LinearDepthSkin
  • 22 × MSNC_VS_CascadeShadows_drawskinned_fire

How: victory translate <dump> --validate --list built for each side (release, cross-built with cargo-xwin, run under Wine), VICTORY_HOST_WAVE=32, plus the four shader-cache-key settings play starts with (VICTORY_EARLY_DEPTH=1, VICTORY_NAN_SCRUB=1, VICTORY_BVH_MISS=1, VICTORY_SAMPLED_MARKS=1). Validator: dxil.dll from DXC v1.9.2609. "Changed" compares translate's emitted hash of each module and its bindings. There was no GPU on this side, so no host pipelines were made and nothing was run on a card. On main the same run has 72 failures: 71 mesh programs over the 32 KiB output limit (the known shortcut in mesh_prologue) and CS_TraceShadowRays_FullAdaptive (#2993).

The default is untouched, as the description says. This PR's head with the default mask produces DXIL identical to main e1251c31 for all 25,699 programs. (It does not merge cleanly onto main, and its merge-base, 0c8c2092, does not build, so I compared the head with itself.)

**@⁠VibeCodeGuy** on GitHub · 2026-12-01 01:12 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4572#issuecomment-7297228550) **Offline corpus check** (every shader container in a v1.0.2.1 dump: 25,699 unique programs), this PR at e2774f4c with `VICTORY_SHADER_OPT=959` against the same build at the default mask. - Newly failing: **0**. Newly passing: **0**. - DXIL output changed: **22298** programs (9861 Ps, 8765 Ms, 2513 Cs, 1159 Vs); 22227 of them pass the validator, the other 71 failed it on `main` too (oversized mesh outputs). <details><summary>The 22298 changed programs by family</summary> - 488 × `MS_VS_Transform_PositionOnly` - 383 × `PS_DeferredTextured` - 372 × `MS_VS_Transform` - 365 × `PS_MirrorReflectionDeferredTextured` - 355 × `MSNC_VS_TransformSkin_PositionOnly` - 314 × `PS_VfxVBuffer_AlphaClip` - 310 × `PS_MirrorReflectionTextured_Eight` - 310 × `PS_Textured_Eight` - 306 × `PS_LinearDepth` - 296 × `PS_DeferredTextured_AlphaClip` - 295 × `PS_MirrorReflectionDeferredTextured_AlphaClip` - 294 × `PS_VoxelizeVisiblity` - 274 × `MSNC_VS_TransformSkin` - 268 × `PS_AlphaPrepass` - 262 × `PS_EntityMask` - 260 × `MS_VS_MirrorReflectionTransform` - 252 × `MS_VS_CascadeShadows_draw` - 247 × `MS_VS_CascadeShadows_drawTexture` - 242 × `MS_VS_TransformD` - 239 × `PS_MirrorReflectionDeferredDecalTextured` - 235 × `MS_VS_LinearDepth` - 230 × `MSNC_VS_MirrorReflectionTransformSkin` - 229 × `PS_CascadeShadows_texture` - 226 × `MS_VS_MirrorReflectionTransformD` - 216 × `VS_Transform_VfxVBuffer_AlphaClip` - 214 × `MS_VS_TransformEntityMask` - 205 × `VS_Transform_VfxVBuffer` - 202 × `VS_TransformSkin_VfxVBuffer_AlphaClip` - 195 × `VS_TransformSkin_VfxVBuffer` - 192 × `MSNC_VS_TransformSkinD` - 181 × `MS_VS_TransformTransmission` - 176 × `MSNC_VS_LinearDepthSkin` - 176 × `MSNC_VS_MirrorReflectionTransformSkinD` - 176 × `MS_VS_TransformAlphaPrepass` - 174 × `MSNC_VS_TransformSkinEntityMask` - 166 × `MSNC_VS_CascadeShadows_drawskinnedTexture` - 152 × `MSNC_VS_CascadeShadows_drawskinned` - 146 × `MSNC_VS_TransformSkinTransmission` - 146 × `MSNC_VS_TransformSkin_AlphaPrepass` - 146 × `MS_VS_MirrorReflectionTransformDecalsD` - 129 × `MSNC_VS_MirrorReflectionTransformSkinDecalsD` - 109 × `PS_MirrorPedTextured_Eight` - 109 × `PS_PedAlphaPrepass` - 109 × `PS_PedTextured_Eight_Alpha` - 109 × `PS_StudioPedTextured_Eight` - 109 × `PS_TexturedDeferred` - 107 × `PS_PedAlphaPrepass_Decals` - 107 × `PS_PedTextured_Eight_Decals` - 99 × `MS_VS_TransformLit` - 96 × `MSNC_VS_PedTransformSkinAlpha` - 95 × `PS_TrailmapDeformData` - 88 × `MS_VS_TrailmapDeformData` - 83 × `MS_VS_TransformSkin_PositionOnly` - 82 × `MS_VS_PedTransformAlpha` - 80 × `PS_MirrorReflectionTexturedDeferred` - 79 × `PS_CascadeShadows_texture_alpha` - 78 × `PS_PuddleDetect` - 76 × `PS_TexturedLit_8` - 75 × `MSNC_VS_TrailmapDeformDataSkinned` - 72 × `PS_DeferredPedTexturedNC` - 71 × `PS_MirrorReflectionDeferredPedTexturedNC` - 70 × `PS_DeferredPedDecalTextured` - 69 × `PS_DeferredTextured_AlphaClipNC` - 69 × `PS_MirrorReflectionDeferredTextured_AlphaClipNC` - 65 × `MS_VS_CascadeShadows_PedTransformPreSkinD` - 59 × `PS_AlphaTransmission` - 59 × `PS_TexturedLit` - 58 × `MSR_VS_TransformSkin_PositionOnly` - 52 × `MSNC_VS_PedTransformSkinD_PositionOnly` - 52 × `PS_AlphaPrepass_Fire` - 51 × `MSNC_VS_PedTransformSkinEntityMaskD` - 51 × `MS_VS_PedTransformD_PositionOnly` - 50 × `PS_Textured_Eight_Fire` - 49 × `MSNC_VS_MirrorReflectionPedTransformSkin` - 49 × `MSNC_VS_PedTransformSkinTransmissionAlpha` - 48 × `MSNC_VS_PedTransformSkin_Decals` - 48 × `PS_AlphaTransmission_Fire` - 47 × `MSNC_VS_PedTransformSkinAlpha_Decals` - 47 × `MSNC_VS_PedTransformSkinTransmission_Decals` - 46 × `MS_VS_PedTransformPreSkinD_PositionOnly` - 46 × `PS_PedEntityMask` - 45 × `MS_VS_PedTransformEntityMask` - 45 × `PS_MirrorReflectionTexturedDeferredAlphaClipNC` - 45 × `PS_TexturedDeferredAlphaClipNC` - 44 × `PS_PedEntityMaskD` - 43 × `MS_VS_LinearDepthPreSkin` - 43 × `PS_CascadeShadows_texture_fire` - 42 × `MSNC_VS_MirrorReflectionPedTransformSkinD` - 42 × `MSNC_VS_PedTransformSkinD` - 42 × `PS_PedTexturedCutOutTint_Zero` - 42 × `PS_TrailMapPropDeepSurfaceFlatten_UAV` - 41 × `MS_VS_MirrorReflectionPedTransform` - 41 × `MS_VS_PedTransformTransmissionAlpha` - 41 × `MS_VS_PedTransform_Decals` - 41 × `PS_LinearDepth_Fire` - 40 × `MSNC_VS_MirrorReflectionPedTransformSkinDecalsD` - 40 × `MS_VS_MirrorReflectionPedTransformD` - 40 × `MS_VS_PedTransformAlpha_Decals` - 40 × `MS_VS_PedTransformD` - 40 × `MS_VS_PedTransformTransmissionAlpha_Decals` - 39 × `MS_VS_MirrorReflectionPedTransformDecalsD` - 38 × `PS_AlphaPrepassSpatter` - 38 × `PS_AlphaTransmissionSpatter` - 37 × `MS_VS_PedTransformPreSkinD` - 37 × `PS_TwoLayerEntityMask` - 37 × `VS_VoxelizeGeneric` - 35 × `PS_AlphaPrepassSpatter_Fire` - 35 × `PS_AlphaTransmissionSpatter_Fire` - 35 × `PS_PropVehicleDeferred` - 35 × `PS_VehicleLiveryOffComplexDirtOffDeferred` - 35 × `PS_VehicleLiveryOffComplexDirtOffDetailMapsOffDeferred` - 35 × `PS_VehicleLiveryOffDetailMapsOffComplexDirtOffStickersOffFlakesOffDeferred` - 35 × `PS_VehicleLiveryOffDetailMapsOffDeferred` - 35 × `PS_VehicleLiveryOffOnlyDeferred` - 35 × `PS_VehicleLiveryOnDetailMapsOffDeferred` - 35 × `PS_VehicleVariationDeferred` - 35 × `ptfx_PS` - 35 × `ptfx_PS_alphathreshold_mv_uvdistort` - 35 × `ptfx_PS_alphathreshold_mv_uvdistort_nolocallights` - 35 × `ptfx_PS_nolocallights` - 34 × `MS_VS_TransformTransmissionFire` - 34 × `MS_VS_Transform_Fire` - 33 × `MS_VS_Transform_Fire_AlphaPrepass` - 32 × `MSNC_VS_BakeDecorations` - 32 × `MSR_VS_TransformSkin` - 32 × `MS_VS_TransformSkin` - 32 × `PS_DeferredPedTexturedNC_Packed` - 31 × `PS_TexturedLit_ReflectionMap` - 28 × `MSNC_VS_TransformSkinTransmissionFire` - 28 × `MSNC_VS_TransformSkin_Fire` - 28 × `MSNC_VS_TransformSkin_Fire_AlphaPrepass` - 28 × `PS_BakeDecorations` - 26 × `PS_DeferredPedTextured_AlphaClipNC_Tint` - 26 × `VS_TransformPreSkin_VfxVBuffer` - 25 × `MSR_VS_MirrorReflectionTransformSkinD` - 25 × `MSR_VS_TransformSkinD` - 25 × `MS_VS_MirrorReflectionTransformSkinD` - 25 × `MS_VS_TransformSkinD` - 25 × `MS_VS_TransformSpatterAlphaPrepass` - 25 × `MS_VS_TransformTransmissionSpatter` - 25 × `PS_DeferredPedTextured_AlphaClip_Decal_Tint` - 24 × `MSR_VS_CascadeShadows_drawskinned` - 24 × `MST_DS_TerrainTransform` - 24 × `MS_VS_CascadeShadows_drawskinned` - 24 × `MS_VS_MirrorReflectionTransformLit` - 24 × `PS_PedVfxVBuffer_AlphaClip` - 23 × `MSR_VS_LinearDepthSkin` - 23 × `MS_VS_CascadeShadows_draw_fire` - 23 × `MS_VS_LinearDepthSkin` - 22 × `MSNC_VS_CascadeShadows_drawskinned_fire` </details> How: `victory translate <dump> --validate --list` built for each side (release, cross-built with cargo-xwin, run under Wine), `VICTORY_HOST_WAVE=32`, plus the four shader-cache-key settings `play` starts with (`VICTORY_EARLY_DEPTH=1`, `VICTORY_NAN_SCRUB=1`, `VICTORY_BVH_MISS=1`, `VICTORY_SAMPLED_MARKS=1`). Validator: `dxil.dll` from DXC v1.9.2609. "Changed" compares translate's `emitted` hash of each module and its bindings. There was no GPU on this side, so no host pipelines were made and nothing was run on a card. On `main` the same run has 72 failures: 71 mesh programs over the 32 KiB output limit (the known shortcut in `mesh_prologue`) and `CS_TraceShadowRays_FullAdaptive` (#2993). The default is untouched, as the description says. This PR's head with the default mask produces DXIL identical to `main` e1251c31 for all 25,699 programs. (It does not merge cleanly onto `main`, and its merge-base, 0c8c2092, does not build, so I compared the head with itself.)
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/4573/head:github-bot/gh-4572'
git switch 'github-bot/gh-4572'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4572'
git switch 'github-bot/gh-4572'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4572'
git switch 'github-bot/gh-4572'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4572'
git switch 'main'
git merge --squash 'github-bot/gh-4572'
git switch 'main'
git merge --ff-only 'github-bot/gh-4572'
git switch 'main'
git merge 'github-bot/gh-4572'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

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