Skip to content

d3d12: preserve PC descriptor validation in slot 25 - #2

Merged
tedin7 merged 1 commit into
tedin7:fast-desc-cleanfrom
TripleJ160:codex/slot25-pc-validation
Nov 23, 2026
Merged

tedin7 merged 1 commit into
tedin7:fast-desc-cleanfrom
TripleJ160:codex/slot25-pc-validation

Conversation

@TripleJ160

Copy link
Copy Markdown

Claimed in the Leonida coordination issue.
Depends on ItsNotRexed/Leonida#7110. This PR targets its branch so the diff contains only the follow-up.

Summary

GetResourceAllocationInfo (slot 25)
  Console call or explicit Xbox tiled layout → normalize a copy
  Other PC calls → preserve layout and flags for host validation

The original normalization made ordinary invalid PC descriptors appear valid by replacing their layout and dropping unknown flags. The mock now checks that an invalid PC buffer layout and flags reach the host unchanged. The existing WARP oracle also asserts that the normalized Xbox buffer gets a valid size.

Evidence

Windows 11 Pro 26200, MSVC 19.44, Vulkan SDK 1.4.363.0, RTX 5090 (616.92) and Ryzen 7 9800X3D Radeon iGPU (AMD 25.10.30). Synthetic fixtures only. AI-assisted.

Merge Danger

The change is reversible and limited to slot-25 descriptor handling and its tests. Allocation sizing and resource leasing are unchanged.

@coderabbitai

coderabbitai Bot commented Nov 23, 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: 8a2edfa2-32c6-4627-b323-a4d09b745eaf

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

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.

2 participants