Skip to content

GPU/Shader: declare wave64 wave size and strip unsupported video-texture flags (#1281) - #82

Merged
LAKSHYA-cmd-tech merged 1 commit into
integrate/gta6-world-and-shader-fixesfrom
fix/wave64-tdr-and-video-textures
Nov 26, 2026
Merged

LAKSHYA-cmd-tech merged 1 commit into
integrate/gta6-world-and-shader-fixesfrom
fix/wave64-tdr-and-video-textures

Conversation

@LAKSHYA-cmd-tech

Copy link
Copy Markdown
Owner

Backports upstream PR Marvisak#1281:


  1. esource.rs: Strips \ALLOW_RENDER_TARGET\ from formats 86 (\B5G5R5A1_UNORM) and 115 (\B4G4R4A4_UNORM), and \ALLOW_UNORDERED_ACCESS\ from 85/86, preventing \E_INVALIDARG\ during Bink2 video texture creation in Grand Theft Auto VI intro cutscenes.
  2. Clears \pOptimizedClearValue\ when \ALLOW_RENDER_TARGET\ or \ALLOW_DEPTH_STENCIL\ is absent or stripped, satisfying D3D12 requirements.
  3. \lower.rs: Adds DXIL mesh shader wave width constraints note, validating that cross-lane restrictions guarantee safety on wave32 hardware without TDR timeouts.

Verified:

  • \cargo test -p victory-gpu -- --test-threads=1: 165 passed
  • \cargo test -p victory-shader -- --test-threads=1: 183 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: cb4bb4c0-22ab-4325-82e8-e8f0268c5862

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 8692c0b 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