Skip to content

Shaders, HLE: fold waterfall loop SCC after loop and translate \??\ NT paths in media (#3016, #3030) - #84

Merged
LAKSHYA-cmd-tech merged 1 commit into
integrate/gta6-world-and-shader-fixesfrom
fix/waterfall-scc-and-media-translate
Nov 26, 2026
Merged

LAKSHYA-cmd-tech merged 1 commit into
integrate/gta6-world-and-shader-fixesfrom
fix/waterfall-scc-and-media-translate

Conversation

@LAKSHYA-cmd-tech

Copy link
Copy Markdown
Owner

Backports upstream PR Marvisak#3016 and Marvisak#3030:

  1. \lower.rs: Identifies console waterfall loops (\�_readfirstlane_b32, \�_cmpx_eq_, \s_andn2_wrexec, \s_cbranch_execnz) and evaluates the loop's post-exit SCC as constant \ alse. Because the loop exits only once \EXEC == 0, the post-loop SCC (\EXEC != 0) is guaranteed false, unblocking GTA VI ray-tracing character skinning kernels that were previously refused with \� lane mask read as data.
  2. \media.rs: Translates \??<drive>:...\ NT object-manager paths through virtual drive mounts (e.g. \??\G:\movies\clip.mp4), enabling game video cutscenes and media streams to resolve correctly against host directories.

Verified:

  • \cargo test -p victory-shader -- --test-threads=1: 186 passed
  • \cargo test -p victory-hle -- --test-threads=1: 121 passed
  • \cargo clippy: 0 warnings
  • \cargo run -p xtask -- policy: 160 files ok

@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 742c39d1-0936-4248-8c8f-434dadb629fb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@LAKSHYA-cmd-tech
LAKSHYA-cmd-tech merged commit 3d4dd80 into integrate/gta6-world-and-shader-fixes Nov 26, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant