vulkan: enable fragmentShaderBarycentric on Apple when supported #1594

Closed
github-bot wants to merge 1 commit from gh-pr/1594/head into gh-pr/1594/base
Owner

@⁠theantipopau on GitHub · 2026-10-17 12:02 UTC · original
theantipopau:apple-barycentric-chain → main · +0 −4 · 1 files · 1 commits · closed without merging

Follow-up to #1590 (merged without this piece).

The Apple device-creation path never chains the barycentric feature struct, so Macs that do expose VK_KHR_fragment_shader_barycentric still fail barycentric pipelines. Chain it conditionally on all platforms instead of bypassing it under APPLE.

Single file, 4-line net deletion. Addresses CodeRabbit's major finding on #1590.

**@⁠theantipopau** on GitHub · 2026-10-17 12:02 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1594) `theantipopau:apple-barycentric-chain` → `main` · +0 −4 · 1 files · 1 commits · closed without merging Follow-up to #1590 (merged without this piece). The Apple device-creation path never chains the barycentric feature struct, so Macs that do expose VK_KHR_fragment_shader_barycentric still fail barycentric pipelines. Chain it conditionally on all platforms instead of bypassing it under __APPLE__. Single file, 4-line net deletion. Addresses CodeRabbit's major finding on #1590.
Follow-up to #1590: the Apple device-creation path never chained the
barycentric feature struct, so Macs exposing
VK_KHR_fragment_shader_barycentric would still fail barycentric
pipelines. Chain it conditionally on all platforms.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:01:20 +00:00
github-bot closed this pull request 2026-11-26 10:01:20 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-17 12:04 UTC · original · edited 2026-10-18 22:14 UTC

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration
  • Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1562d025-c43a-4261-8994-8ca6a56000c3
📥 Commits

Reviewing files that changed from the base of the PR and between f4cdfb9a6ff2cd198dce8f52e89d85304cdd75a5 and 5c178120db.

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

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 78970f1c-f995-4737-876a-e1a345fbe52f
📥 Commits

Reviewing files that changed from the base of the PR and between 415387f00d and f4cdfb9a6ff2cd198dce8f52e89d85304cdd75a5.

📒 Files selected for processing: 1
  • src/graphics/presentation/window/vulkanWindow.cpp
💤 Files with no reviewable changes: 1
  • src/graphics/presentation/window/vulkanWindow.cpp

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

📝 Walkthrough

The Vulkan device setup removes the macOS-specific feature-chain branch. macOS now follows the shared barycentric_supported condition used on other platforms. The robustness2 feature-chain setup is shared across platforms.

Priority: ➖ Normal

Change: Bug fix

Merge Risk: ⚪ Minimal · up to f4cdf

The shared feature-chain change appears ready to merge after normal checks. No actionable issue was found in the Apple device-creation path.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely identifies the main change: enabling fragment-shader barycentric support on Apple when supported.
Description check Passed The description accurately explains the Apple device-creation issue, the conditional feature-chain change, and the purpose of the follow-up.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.

  • 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

Comment @coderabbitai help to get the list of available commands.

**@⁠coderabbitai[bot]** on GitHub · 2026-10-17 12:04 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1594#issuecomment-6233670944) · edited 2026-10-18 22:14 UTC <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/KytyPS5/KytyPS5/pull/1594?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui-dark.svg?v=3"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg?v=3"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg?v=3" alt="Review in Change Stack →" height="32"></picture></a> <!-- review_stack_entry_end --> <!-- This is an auto-generated comment: skip review by coderabbit.ai --> > [!IMPORTANT] > ## Review skipped > > Review was skipped as selected files did not have any reviewable changes. > > > > > > <details> > <summary><strong>⚙️ Run configuration</strong></summary> > <dl> > <dd> > > - **Configuration used**: Repository: KytyPS5/KytyPS5/.coderabbit.yaml > - **Review profile**: CHILL > - **Plan**: Advanced > - **Run ID**: `1562d025-c43a-4261-8994-8ca6a56000c3` > > </dd> > </dl> > </details> > > <details> > <summary><strong>📥 Commits</strong></summary> > <dl> > <dd> > > Reviewing files that changed from the base of the PR and between f4cdfb9a6ff2cd198dce8f52e89d85304cdd75a5 and 5c178120dbf196906a4af5e449ebdf6db634686c. > > </dd> > </dl> > </details> > > 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: > - [ ] <!-- {"checkboxId":"e9bb8d72-00e8-4f67-9cb2-caf3b22574fe"} --> 🔍 Trigger review <!-- end of auto-generated comment: skip review by coderabbit.ai --> <!-- recent_review_start --> No actionable comments were generated in the recent review. 🎉 <details> <summary><strong>ℹ️ Recent review info</strong></summary> <dl> <dd> <details> <summary><strong>⚙️ Run configuration</strong></summary> <dl> <dd> - **Configuration used**: Repository: KytyPS5/KytyPS5/.coderabbit.yaml - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `78970f1c-f995-4737-876a-e1a345fbe52f` </dd> </dl> </details> <details> <summary><strong>📥 Commits</strong></summary> <dl> <dd> Reviewing files that changed from the base of the PR and between 415387f00d8ff6cf8040cb2f5bd42a4b5f87235f and f4cdfb9a6ff2cd198dce8f52e89d85304cdd75a5. </dd> </dl> </details> <details> <summary><strong>📒 Files selected for processing: 1</strong></summary> <dl> <dd> * `src/graphics/presentation/window/vulkanWindow.cpp` </dd> </dl> </details> <details> <summary><strong>💤 Files with no reviewable changes: 1</strong></summary> <dl> <dd> * src/graphics/presentation/window/vulkanWindow.cpp </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review. </dd> </dl> </details> <!-- recent_review_end --> <!-- walkthrough_start --> <details> <summary><strong>📝 Walkthrough</strong></summary> <dl> <dd> The Vulkan device setup removes the macOS-specific feature-chain branch. macOS now follows the shared `barycentric_supported` condition used on other platforms. The robustness2 feature-chain setup is shared across platforms. </dd> </dl> </details> <!-- walkthrough_end --> <!-- change_assessment_start --> **Priority:** ➖ Normal <!-- change_assessment_commit:"f4cdfb9a6ff2cd198dce8f52e89d85304cdd75a5" --> **Change:** Bug fix <!-- change_assessment_end --> <details> <summary><strong>Merge Risk:</strong> <strong>⚪ Minimal</strong> · up to <code>f4cdf</code></summary> <dl> <dd> <!-- final_review_risk_start --> <!-- final_review_risk_label **Merge Risk:** **⚪ Minimal** · up to `f4cdf` --> <!-- final_review_risk_coverage:{"sourceCommitId":"f4cdfb9a6ff2cd198dce8f52e89d85304cdd75a5","coveredCommitId":"f4cdfb9a6ff2cd198dce8f52e89d85304cdd75a5","kind":"reviewed"} --> The shared feature-chain change appears ready to merge after normal checks. No actionable issue was found in the Apple device-creation path. <!-- final_review_risk_end --> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_start --> <details> <summary><strong>Pre-merge checks: <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> 5</strong></summary> <dl> <dd> | Check name | Status | Explanation | | :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Title check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The title clearly and concisely identifies the main change: enabling fragment-shader barycentric support on Apple when supported. | | Description check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The description accurately explains the Apple device-creation issue, the conditional feature-chain change, and the purpose of the follow-up. | | Docstring Coverage | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0… | | Linked Issues check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | <details> <summary><strong>Full details: Docstring Coverage</strong></summary> <dl> <dd> **Explanation** No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. </dd> </dl> </details> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- autopilot:start --> - [ ] <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autofix</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts <!-- autopilot:end --> <!-- tips_start --> Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=KytyPS5/KytyPS5&utm_content=1594)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary><strong>❤️ Share</strong></summary> <dl> <dd> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </dd> </dl> </details> <sub>Comment `@coderabbitai help` to get the list of available commands.</sub> <!-- tips_end -->
Author
Owner

@⁠theantipopau on GitHub · 2026-10-18 23:05 UTC · original

Rebased to current main (post-#1590) with no conflicts; CI green on all three platforms. Remaining diff is 4 deletions: it drops the Apple-only branch so the barycentric feature struct chains conditionally on all platforms. Small follow-up, ready whenever.

**@⁠theantipopau** on GitHub · 2026-10-18 23:05 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1594#issuecomment-6256290560) Rebased to current main (post-#1590) with no conflicts; CI green on all three platforms. Remaining diff is 4 deletions: it drops the Apple-only branch so the barycentric feature struct chains conditionally on all platforms. Small follow-up, ready whenever.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.