graphics: fall back to a 1x1 stand-in image when nullDescriptor is unsupported #1635

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

@⁠wuboo on GitHub · 2026-10-18 09:26 UTC · original
wuboo:pr/apple-nulldescriptor-fallback → main · +163 −22 · 8 files · 1 commits · closed without merging

Problem

MoltenVK does not report VK_EXT_robustness2 nullDescriptor. VulkanFindPhysicalDevice requires it
(check_feature(robustness2.nullDescriptor, ...)) and VulkanCreateDevice forces it to VK_TRUE, so on
macOS the only GPU (Apple M3 Max, MoltenVK 1.4.x) is rejected and the emulator exits before it loads a title
("Could not find suitable device", nullDescriptor is the first hard failure in the log; colorWriteEnable /
depthClipEnable / depthBounds are already warnings on Apple).

Change

  • GraphicContext::null_descriptor_enabled is set from UseNativeNullDescriptor(supported nullDescriptor)
    (vulkanCommon.h) when the device is created, and logged (Vulkan nullDescriptor: native|stand-in image).
  • On __APPLE__ a missing nullDescriptor is a warning in device selection (same pattern as
    colorWriteEnable / depthClipEnable); other platforms keep requiring it.
  • With the feature, null T# descriptors keep binding VK_NULL_HANDLE as today. Without it,
    ResolveTexture returns a 1x1 stand-in image per pixel format (TextureCache::GetNullImage,
    NullTextureDesc): an unregistered image with no guest backing (info.data.Empty() skips registration,
    tracking, refresh, download and write-back), transitioned to eGeneral before use.

Tests

  • CPU: null_descriptor_policy (tests/NullDescriptorPolicyTests.cpp): native only when the feature is
    supported. Mutant (UseNativeNullDescriptor returns true): the test no longer builds
    (static_assert fails), so it is caught.
  • Full ctest on this branch vs. origin/main built the same way: 58 tests vs 57, the same 19 failures (all
    GPU tests aborting with "could not load the Vulkan loader" in the CPU-only environment), 0 new failures.

Limits

  • The stand-in path has run on an M3 Max (MoltenVK) in Astro Bot on our macOS stack for several days of benchmark runs (level scene image matches our reference); it is not
    covered by a headless GPU test, and the other shaders that need features MoltenVK lacks (image view min LOD,
    64-bit buffer atomics, cull distance) are handled separately (see #1547, #1314).
  • A stand-in image is one uninitialized-content texel of the T#'s numeric class; it is not guaranteed to read as
    zero like a native null descriptor does. Whether a title depends on that was not measured.
  • Related, not duplicate: #1019 / #1467 (image format that names nothing) change when a descriptor is
    considered null, not how a null descriptor is bound.
**@⁠wuboo** on GitHub · 2026-10-18 09:26 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1635) `wuboo:pr/apple-nulldescriptor-fallback` → `main` · +163 −22 · 8 files · 1 commits · closed without merging ## Problem MoltenVK does not report `VK_EXT_robustness2` `nullDescriptor`. `VulkanFindPhysicalDevice` requires it (`check_feature(robustness2.nullDescriptor, ...)`) and `VulkanCreateDevice` forces it to `VK_TRUE`, so on macOS the only GPU (Apple M3 Max, MoltenVK 1.4.x) is rejected and the emulator exits before it loads a title ("Could not find suitable device", nullDescriptor is the first hard failure in the log; colorWriteEnable / depthClipEnable / depthBounds are already warnings on Apple). ## Change - `GraphicContext::null_descriptor_enabled` is set from `UseNativeNullDescriptor(supported nullDescriptor)` (`vulkanCommon.h`) when the device is created, and logged (`Vulkan nullDescriptor: native|stand-in image`). - On `__APPLE__` a missing `nullDescriptor` is a warning in device selection (same pattern as `colorWriteEnable` / `depthClipEnable`); other platforms keep requiring it. - With the feature, null T# descriptors keep binding `VK_NULL_HANDLE` as today. Without it, `ResolveTexture` returns a 1x1 stand-in image per pixel format (`TextureCache::GetNullImage`, `NullTextureDesc`): an unregistered image with no guest backing (`info.data.Empty()` skips registration, tracking, refresh, download and write-back), transitioned to `eGeneral` before use. ## Tests - CPU: `null_descriptor_policy` (`tests/NullDescriptorPolicyTests.cpp`): native only when the feature is supported. Mutant (`UseNativeNullDescriptor` returns `true`): the test no longer builds (`static_assert` fails), so it is caught. - Full `ctest` on this branch vs. origin/main built the same way: 58 tests vs 57, the same 19 failures (all GPU tests aborting with "could not load the Vulkan loader" in the CPU-only environment), 0 new failures. ## Limits - The stand-in path has run on an M3 Max (MoltenVK) in Astro Bot on our macOS stack for several days of benchmark runs (level scene image matches our reference); it is not covered by a headless GPU test, and the other shaders that need features MoltenVK lacks (image view min LOD, 64-bit buffer atomics, cull distance) are handled separately (see #1547, #1314). - A stand-in image is one uninitialized-content texel of the T#'s numeric class; it is not guaranteed to read as zero like a native null descriptor does. Whether a title depends on that was not measured. - Related, not duplicate: #1019 / #1467 (image format that names nothing) change when a descriptor is considered null, not how a null descriptor is bound.
MoltenVK does not report robustness2.nullDescriptor, so requiring it
rejected every Apple device. Select a 1x1 stand-in image for null T#
descriptors when the device lacks the feature; devices with
nullDescriptor keep binding native null descriptors.

On __APPLE__ a missing nullDescriptor is now a warning, like
colorWriteEnable and depthClipEnable.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:02:18 +00:00
github-bot closed this pull request 2026-11-26 10:02:18 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-18 09:34 UTC · original

Review in Change Stack →

📝 Walkthrough

The Vulkan device setup now records whether nullDescriptor is supported and enabled. On macOS, devices without the feature are no longer rejected for that reason. When native null descriptors are unavailable, texture descriptor resolution uses a cached 1×1 stand-in image. Empty-backed images skip guest-memory tracking and related refresh and storage-write operations. A test executable checks the null-descriptor policy helper.

Suggested reviewers: nmzik

Priority: ⬆️ High

Change: Feature

Merge Risk: 🟡 Moderate · up to da324

Apple devices without native null descriptors can now run, but the fallback can still abort on dynamic-mip null textures. It can also return values that differ from real null descriptors: garbage contents, leftover writes, wrong comparison results, or alpha of one. Address the crash and the read semantics before merge; other platforms are unaffected.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 19.23% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 26 functions across 7 files. (1 skipped: … Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly summarizes the main change: using a 1x1 stand-in image when Vulkan nullDescriptor is unsupported.
Description check Passed The description directly explains the nullDescriptor compatibility problem, the stand-in image fallback, platform behavior, and test results.
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

Docstring coverage is 19.23% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 26 functions across 7 files. (1 skipped: 1 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

  • 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-18 09:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1635#issuecomment-6248293840) <!-- 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/1635?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 --> <!-- walkthrough_start --> <details> <summary><strong>📝 Walkthrough</strong></summary> <dl> <dd> The Vulkan device setup now records whether `nullDescriptor` is supported and enabled. On macOS, devices without the feature are no longer rejected for that reason. When native null descriptors are unavailable, texture descriptor resolution uses a cached 1×1 stand-in image. Empty-backed images skip guest-memory tracking and related refresh and storage-write operations. A test executable checks the null-descriptor policy helper. **Suggested reviewers:** `nmzik` </dd> </dl> </details> <!-- walkthrough_end --> <!-- change_assessment_start --> **Priority:** ⬆️ High <!-- change_assessment_commit:"da32430a5dff6380917f3af567a3fcac9265c472" --> **Change:** Feature <!-- change_assessment_end --> <details> <summary><strong>Merge Risk:</strong> <strong>🟡 Moderate</strong> · up to <code>da324</code></summary> <dl> <dd> <!-- final_review_risk_start --> <!-- final_review_risk_label **Merge Risk:** **🟡 Moderate** · up to `da324` --> <!-- final_review_risk_coverage:{"sourceCommitId":"da32430a5dff6380917f3af567a3fcac9265c472","coveredCommitId":"da32430a5dff6380917f3af567a3fcac9265c472","kind":"reviewed"} --> Apple devices without native null descriptors can now run, but the fallback can still abort on dynamic-mip null textures. It can also return values that differ from real null descriptors: garbage contents, leftover writes, wrong comparison results, or alpha of one. Address the crash and the read semantics before merge; other platforms are unaffected. <!-- 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> 4 · <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-failed-14-v2.svg" width="14" height="14" align="middle" alt="Failed" title="Failed"></picture></sup> 1</strong></summary> <dl> <dd> <strong><sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-failed-14-v2.svg" width="14" height="14" align="middle" alt="Failed" title="Failed"></picture></sup> Failed checks: 1 warning</strong> | Check name | Status | Explanation | Resolution | | :---------------- | :----------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------- | | Docstring Coverage | ![Warning](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-warning.svg) | Docstring coverage is 19.23% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 26 functions across 7 files. (1 skipped: … | Write docstrings for the functions missing them to satisfy the coverage threshold. | <details> <summary><strong><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> Passed checks: 4 passed</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 summarizes the main change: using a 1x1 stand-in image when Vulkan nullDescriptor is unsupported. | | Description check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The description directly explains the nullDescriptor compatibility problem, the stand-in image fallback, platform behavior, and test results. | | 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. | </dd> </dl> </details> <details> <summary><strong>Full details: Docstring Coverage</strong></summary> <dl> <dd> **Explanation** Docstring coverage is 19.23% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 26 functions across 7 files. (1 skipped: 1 unsupported.) **Resolution** Write docstrings for the functions missing them to satisfy the coverage threshold. </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=1635)! 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 -->
@ -409,0 +413,4 @@
ImageId TextureCache::GetNullImage(const ImageDesc& desc) {
const auto format = desc.info.pixel_format;
if (const auto found = m_null_images.find(format); found != m_null_images.end()) {
return found->second;
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-18 09:34 UTC · original

🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

Prevent null storage writes from changing later null reads.

If a shader writes through a null storage binding, that write targets the image retained in m_null_images. A later null binding with the same pixel format receives the same image ID and can observe the write. Native null-descriptor stores and atomics are discarded. A one-time clear does not fix this persistent state change. Keep null writes from becoming observable through later bindings. (docs.vulkan.org)

**@⁠coderabbitai[bot]** on GitHub · 2026-10-18 09:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1635#discussion_r4306525964) **🎯 Functional Correctness** | **🟠 Major** | **🏗️ Heavy lift** **Prevent null storage writes from changing later null reads.** If a shader writes through a null storage binding, that write targets the image retained in `m_null_images`. A later null binding with the same pixel format receives the same image ID and can observe the write. Native null-descriptor stores and atomics are discarded. A one-time clear does not fix this persistent state change. Keep null writes from becoming observable through later bindings. ([docs.vulkan.org](https://docs.vulkan.org/guide/latest/robustness.html)) <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:362b2b23ff094d1a68fe2677 --> <!-- This is an auto-generated comment by CodeRabbit -->
@ -409,0 +427,4 @@
info.tile_mode = Prospero::TileMode::kLinear;
info.mip_layout[0] = {0, info.bytes_per_block, 1, 1};
const auto id = InsertImage(info);
m_null_images.emplace(format, id);
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-18 09:34 UTC · original

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Initialize the stand-in before shader reads.

If an Apple device lacks nullDescriptor, the first null texture lookup creates this image without defined texel contents. The empty-backed path also skips the guest upload. A shader read can therefore return an undefined value instead of the zero value of a native null descriptor. Initialize the stand-in before its first use. (docs.vulkan.org)

**@⁠coderabbitai[bot]** on GitHub · 2026-10-18 09:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1635#discussion_r4306525968) **🎯 Functional Correctness** | **🟠 Major** | **⚡ Quick win** **Initialize the stand-in before shader reads.** If an Apple device lacks `nullDescriptor`, the first null texture lookup creates this image without defined texel contents. The empty-backed path also skips the guest upload. A shader read can therefore return an undefined value instead of the zero value of a native null descriptor. Initialize the stand-in before its first use. ([docs.vulkan.org](https://docs.vulkan.org/guide/latest/robustness.html)) <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:b0f523d8c2106af6770381b8 --> <!-- This is an auto-generated comment by CodeRabbit -->
@ -359,0 +373,4 @@
break;
default: EXIT("null image has unsupported numeric class\n");
}
desc.info.pixel_format = VulkanFormat(desc.info.guest_format);
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-18 09:34 UTC · original

🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

Preserve zero alpha in null texture reads.

If a shader reads the alpha component of a null float, signed, or unsigned texture, the single-component stand-in returns the format’s substituted alpha value of one. A native null descriptor returns zero. Clearing the stand-in cannot correct the missing component. Use a format or view mapping that preserves zero in all components read by the shader. (docs.vulkan.org)

**@⁠coderabbitai[bot]** on GitHub · 2026-10-18 09:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1635#discussion_r4306525974) **🎯 Functional Correctness** | **🟠 Major** | **🏗️ Heavy lift** **Preserve zero alpha in null texture reads.** If a shader reads the alpha component of a null float, signed, or unsigned texture, the single-component stand-in returns the format’s substituted alpha value of one. A native null descriptor returns zero. Clearing the stand-in cannot correct the missing component. Use a format or view mapping that preserves zero in all components read by the shader. ([docs.vulkan.org](https://docs.vulkan.org/spec/latest/chapters/images.html?utm_source=openai)) <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:26d7332497a58f644cd6b54e --> <!-- This is an auto-generated comment by CodeRabbit -->
@ -359,0 +376,4 @@
desc.info.pixel_format = VulkanFormat(desc.info.guest_format);
desc.info.type = Prospero::ImageType::kColor2D;
desc.info.extent = {1, 1, 1};
desc.info.resources = {1, 1};
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-18 09:34 UTC · original

🩺 Stability & Availability | 🟠 Major | 🏗️ Heavy lift

Support dynamic mip bindings for null textures.

If resource.mip_mode is Dynamic and resource.mip_count exceeds one, this stand-in has only one mip. RebindImages compares that count with binding.desc.view_info.level_count and exits when they differ. The native-null path skips that image acquisition. Make the fallback supply the required descriptor views without declaring more mips than its image contains.

**@⁠coderabbitai[bot]** on GitHub · 2026-10-18 09:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1635#discussion_r4306525978) **🩺 Stability & Availability** | **🟠 Major** | **🏗️ Heavy lift** **Support dynamic mip bindings for null textures.** If `resource.mip_mode` is `Dynamic` and `resource.mip_count` exceeds one, this stand-in has only one mip. `RebindImages` compares that count with `binding.desc.view_info.level_count` and exits when they differ. The native-null path skips that image acquisition. Make the fallback supply the required descriptor views without declaring more mips than its image contains. <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:0ce06f61e774a0f85736d5c4 --> <!-- This is an auto-generated comment by CodeRabbit -->
@ -359,0 +382,4 @@
desc.info.mip_layout[0] = {0, 0, 1, 1};
desc.view_info.format = resource.atomic64 ? vk::Format::eR64Uint : desc.info.pixel_format;
desc.view_info.type = vk::ImageViewType::e2D;
desc.view_info.aspect = vk::ImageAspectFlagBits::eColor;
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-18 09:34 UTC · original

🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

Use a depth view for null comparison textures.

If resource.depth_compare is true, NullTextureDesc still supplies a color format and color aspect. The normal texture path selects a depth format for comparison resources. Vulkan performs the depth comparison for a depth/stencil view with its depth aspect; this stand-in does not provide that view. Select a compatible depth stand-in for null comparison bindings. (docs.vulkan.org)

**@⁠coderabbitai[bot]** on GitHub · 2026-10-18 09:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1635#discussion_r4306525984) **🎯 Functional Correctness** | **🟠 Major** | **🏗️ Heavy lift** **Use a depth view for null comparison textures.** If `resource.depth_compare` is true, `NullTextureDesc` still supplies a color format and color aspect. The normal texture path selects a depth format for comparison resources. Vulkan performs the depth comparison for a depth/stencil view with its depth aspect; this stand-in does not provide that view. Select a compatible depth stand-in for null comparison bindings. ([docs.vulkan.org](https://docs.vulkan.org/spec/latest/chapters/textures.html?utm_source=openai)) <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:1751311b8e1812915f2e58d2 --> <!-- This is an auto-generated comment by CodeRabbit -->
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-18 09:34 UTC · original · reviewed

Actionable comments posted: 5


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d8925c84-1f41-43bb-81f6-228271257b6c
📥 Commits

Reviewing files that changed from the base of the PR and between 37df7f3278 and da32430a5d.

📒 Files selected for processing: 8
  • CMakeLists.txt
  • src/graphics/host_gpu/graphicContext.h
  • src/graphics/host_gpu/renderer/cache/textureCache.cpp
  • src/graphics/host_gpu/renderer/cache/textureCache.h
  • src/graphics/host_gpu/renderer/pipeline/descriptors.cpp
  • src/graphics/host_gpu/vulkanCommon.h
  • src/graphics/presentation/window/vulkanWindow.cpp
  • tests/NullDescriptorPolicyTests.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.

**@⁠coderabbitai[bot]** on GitHub · 2026-10-18 09:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1635#pullrequestreview-5562379711) · **reviewed** **Actionable comments posted: 5** --- <details> <summary>ℹ️ Review info</summary> <details> <summary>⚙️ Run configuration</summary> - **Configuration used**: Repository: KytyPS5/KytyPS5/.coderabbit.yaml - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `d8925c84-1f41-43bb-81f6-228271257b6c` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between 37df7f3278a41dde020a10daa74d8ae152ee8fb8 and da32430a5dff6380917f3af567a3fcac9265c472. </details> <details> <summary>📒 Files selected for processing: 8</summary> * `CMakeLists.txt` * `src/graphics/host_gpu/graphicContext.h` * `src/graphics/host_gpu/renderer/cache/textureCache.cpp` * `src/graphics/host_gpu/renderer/cache/textureCache.h` * `src/graphics/host_gpu/renderer/pipeline/descriptors.cpp` * `src/graphics/host_gpu/vulkanCommon.h` * `src/graphics/presentation/window/vulkanWindow.cpp` * `tests/NullDescriptorPolicyTests.cpp` </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. </details> <!-- This is an auto-generated comment by CodeRabbit for review status --> <!-- coderabbit-review-publication v1 publication=a331f8ef-0e13-4905-bbfc-cb276f697fc8 attempt=967cca45-d5ed-48e1-bc0e-e652e7e7e428 batch=1/1 -->
Author
Owner

@⁠Nmzik on GitHub · 2026-10-18 13:57 UTC · original

We wont return back to old code. Use KosmicKrisp

**@⁠Nmzik** on GitHub · 2026-10-18 13:57 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1635#issuecomment-6250764103) We wont return back to old code. Use KosmicKrisp
Author
Owner

@⁠wuboo on GitHub · 2026-10-18 14:15 UTC · original

Fair enough, understood. I'm moving the macOS work over to KosmicKrisp now and will report how it runs on an M3 Max (startup, rendering, frame times). Any fixes from that will target KosmicKrisp rather than MoltenVK workarounds.

**@⁠wuboo** on GitHub · 2026-10-18 14:15 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1635#issuecomment-6250955817) Fair enough, understood. I'm moving the macOS work over to KosmicKrisp now and will report how it runs on an M3 Max (startup, rendering, frame times). Any fixes from that will target KosmicKrisp rather than MoltenVK workarounds.

Pull request closed

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