startup: allow descriptor format words in indirect draw entries #3568

Manually merged
github merged 1 commit from github-bot/gh-3566 into gh-pr/3566/base 2026-11-30 09:18:00 +00:00 AGit
Owner

@⁠tedin7 on GitHub · 2026-11-30 09:08 UTC · original
tedin7:uppr-indirect-desc-word3 → main · +38 −1 · 3 files · 1 commits · merged 2026-11-30 09:14 UTC

Problem

indirect_shader_entry rejected translated shaders whose user-data table includes Translation::desc_word3 (descriptor format word 3), causing indirect draws using formatted buffer loads to fall back unnecessarily even though desc_word3 is already populated per draw.

Fix

  • Allow Translation::desc_word3 in indirect_shader_entry in src/startup_stubs/d3d12_draw.inl.
  • Add tests/startup_indirect_entry_word3_check.py (and tests/checks/python-linux/startup_indirect_entry_word3.txt) to verify the guard with a compiler check and negative control.

Verification

  • python3 -B tests/startup_indirect_entry_word3_check.py (passed)
  • python3 -B tests/bidi_controls_check.py (passed)
  • python3 -B tests/docs_links_check.py (passed)
  • git diff --check origin/main..HEAD (passed)
**@⁠tedin7** on GitHub · 2026-11-30 09:08 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3566) `tedin7:uppr-indirect-desc-word3` → `main` · +38 −1 · 3 files · 1 commits · merged 2026-11-30 09:14 UTC ### Problem `indirect_shader_entry` rejected translated shaders whose user-data table includes `Translation::desc_word3` (descriptor format word 3), causing indirect draws using formatted buffer loads to fall back unnecessarily even though `desc_word3` is already populated per draw. ### Fix - Allow `Translation::desc_word3` in `indirect_shader_entry` in `src/startup_stubs/d3d12_draw.inl`. - Add `tests/startup_indirect_entry_word3_check.py` (and `tests/checks/python-linux/startup_indirect_entry_word3.txt`) to verify the guard with a compiler check and negative control. ### Verification - `python3 -B tests/startup_indirect_entry_word3_check.py` (passed) - `python3 -B tests/bidi_controls_check.py` (passed) - `python3 -B tests/docs_links_check.py` (passed) - `git diff --check origin/main..HEAD` (passed)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 09:10:08 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-30 09:08 UTC · original · edited 2026-11-30 09:11 UTC

Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T09:11:24.486922Z b0b98b0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review" or "@⁠codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-30 09:08 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3566#issuecomment-7273796211) · edited 2026-11-30 09:11 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"b0b98b0da9455b4aeeff1ea499a3fb0a44619033","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-30T09:11:24.486922Z">2026-11-30T09:11:24.486922Z</relative-time> | `b0b98b0` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review" or "@⁠codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
github-bot changed target branch from main to gh-pr/3566/base 2026-11-30 09:17:57 +00:00
github manually merged commit b0b98b0da9 into gh-pr/3566/base 2026-11-30 09:18:00 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.