gpu: host fixes for My First Gran Turismo (formats, EQAA, depth, blend, 3D images, view rebind) #1033

Closed
github-bot wants to merge 17 commits from gh-pr/1033/head into gh-pr/1033/base
Owner

@⁠defektu on GitHub · 2026-10-04 01:02 UTC · original
defektu:pr/mfgt-host → main · +437 −49 · 16 files · 17 commits · closed without merging

This is one of a few PRs that together get My First Gran Turismo (PPSA24156) running: #1030 (font), #1031 (hle), #1032 (tess), #1033 (host), #1034 (shader), and the draft #1035 (mixed sample counts), which the game also needs to get past the loading screen after "Start" (without it the game stops with "mixed color/depth sample counts are unsupported"). Each PR builds and passes the tests on its own; the title only works with all of them.

Checked by hand on a combined branch (all of the above) on an RTX 5060 Ti, Windows 11, clean save data: intro, title screen (car, lighting, reflections), main menu and the License Center screen. The individual PRs were not run in the game on their own.

Note: on current main this title waits at the "Sign in to PlayStation Network" dialog until Cancel is pressed; that comes from the sign-in dialog change, not from this PR.

Commits

gpu: support packed and scaled buffer formats
gpu: accept EQAA colour targets without FMASK/CMASK/DCC
gpu: ignore the depth PARTIALLY_RESIDENT hint
gpu: allow sampling depth through a compatible view format
gpu: express blends through a permuted export mapping with the second blend source
gpu: draw polygon-list primitives as triangle fans
gpu: give mesh draws without an index buffer their vertex buffer address
gpu: do not reuse a 2D image for a 3D view or the reverse
gpu: resolve each image view right after rebinding the image
gpu: realign read-only storage buffers through a stream copy
gpu: give the texture cache GC more headroom
gpu: bind buffers outside mapped memory as nothing instead of ending the session

Body

Small host-side fixes, one per commit, each reached by My First Gran Turismo:

  • scaled (Uscaled/Sscaled) and packed 10/11-bit buffer formats, vertex format 52 (64xU64), storage-image support asked
    from the device instead of assumed;
  • EQAA colour targets (more coverage samples than colour fragments) when no FMASK/CMASK/DCC is attached;
  • depth PARTIALLY_RESIDENT ignored, sampled depth views through a compatible format;
  • blends whose export mapping is a permutation use the second blend source for alpha instead of switching blending off;
  • polygon list primitive drawn as a triangle fan; mesh draws without an index buffer get a vertex buffer address;
  • a 2D image is no longer reused for a 3D view (and the reverse);
  • views are resolved right after each image is rebound, so a later resolve cannot free an earlier image
    ("texture requires rediscovery");
  • read-only storage buffers whose base is not dword aligned are bound from an aligned stream copy;
  • texture cache GC starts later (more headroom);
  • a buffer descriptor or vertex buffer outside mapped memory is bound as nothing instead of ending the
    session ("attempted to access invalid address"; the License Center screen of the title hits it), since an
    unbacked range reads zero and drops writes on the hardware.

Review notes

  • The texture cache GC commit is a heuristic (NumFramesBeforeRemoval, memory threshold). It may no longer be needed
    after the rebind fix and can be dropped if reviewers prefer.
  • The 2D/3D commit may overlap with "Preserve native slices when PS5 volume texture depth grows" (8b0cc79a); they
    touch the same area but apply without conflicts.

Testing: builds, 23 test executables pass.

🤖 Generated with Claude Code

**@⁠defektu** on GitHub · 2026-10-04 01:02 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033) `defektu:pr/mfgt-host` → `main` · +437 −49 · 16 files · 17 commits · closed without merging This is one of a few PRs that together get My First Gran Turismo (PPSA24156) running: #1030 (font), #1031 (hle), #1032 (tess), #1033 (host), #1034 (shader), and the draft #1035 (mixed sample counts), which the game also needs to get past the loading screen after "Start" (without it the game stops with "mixed color/depth sample counts are unsupported"). Each PR builds and passes the tests on its own; the title only works with all of them. Checked by hand on a combined branch (all of the above) on an RTX 5060 Ti, Windows 11, clean save data: intro, title screen (car, lighting, reflections), main menu and the License Center screen. The individual PRs were not run in the game on their own. Note: on current `main` this title waits at the "Sign in to PlayStation Network" dialog until `Cancel` is pressed; that comes from the sign-in dialog change, not from this PR. **Commits** ``` gpu: support packed and scaled buffer formats gpu: accept EQAA colour targets without FMASK/CMASK/DCC gpu: ignore the depth PARTIALLY_RESIDENT hint gpu: allow sampling depth through a compatible view format gpu: express blends through a permuted export mapping with the second blend source gpu: draw polygon-list primitives as triangle fans gpu: give mesh draws without an index buffer their vertex buffer address gpu: do not reuse a 2D image for a 3D view or the reverse gpu: resolve each image view right after rebinding the image gpu: realign read-only storage buffers through a stream copy gpu: give the texture cache GC more headroom gpu: bind buffers outside mapped memory as nothing instead of ending the session ``` **Body** Small host-side fixes, one per commit, each reached by My First Gran Turismo: - scaled (Uscaled/Sscaled) and packed 10/11-bit buffer formats, vertex format 52 (64xU64), storage-image support asked from the device instead of assumed; - EQAA colour targets (more coverage samples than colour fragments) when no FMASK/CMASK/DCC is attached; - depth `PARTIALLY_RESIDENT` ignored, sampled depth views through a compatible format; - blends whose export mapping is a permutation use the second blend source for alpha instead of switching blending off; - polygon list primitive drawn as a triangle fan; mesh draws without an index buffer get a vertex buffer address; - a 2D image is no longer reused for a 3D view (and the reverse); - views are resolved right after each image is rebound, so a later resolve cannot free an earlier image ("texture requires rediscovery"); - read-only storage buffers whose base is not dword aligned are bound from an aligned stream copy; - texture cache GC starts later (more headroom); - a buffer descriptor or vertex buffer outside mapped memory is bound as nothing instead of ending the session ("attempted to access invalid address"; the License Center screen of the title hits it), since an unbacked range reads zero and drops writes on the hardware. **Review notes** - The texture cache GC commit is a heuristic (`NumFramesBeforeRemoval`, memory threshold). It may no longer be needed after the rebind fix and can be dropped if reviewers prefer. - The 2D/3D commit may overlap with "Preserve native slices when PS5 volume texture depth grows" (`8b0cc79a`); they touch the same area but apply without conflicts. **Testing:** builds, 23 test executables pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Adds the scaled (Uscaled/Sscaled) and packed 10/11-bit formats, vertex buffer format 52 (64xU64),
and asks the device for storage-image support instead of assuming it per format.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 58f9f6eb2e9c99349cb699a6c453131c4d79e97f)
More coverage samples than colour fragments is a plain surface when no compression metadata is
attached.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 23e87041b1dbde07ee2b05170443f26f0aafed40)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit d2dfe875269fc38c20ff893b52e92c81fd824ebd)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 136605ee5ddee8cb4ebbb5b622c5e59fd6155167)
When the export mapping is a permutation, the shader alpha sits in a known component, so it is
put in the second blend source instead of switching the blend off.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit d46cbec93bffe2185848298adcf79efa03a39bec)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit f4195bb811f98c8a024ff69f71516257bf2a9465)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit a35440f25427bb9eafdaf9b40b4abcfa06b4d6e8)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 60e1e99169ba5a04d1c56dfd7354a6986ccb2ed1)
Resolving all images first and then asking for views left a window where a later resolve could
free an earlier image ("texture requires rediscovery").

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit f346d1f27540b3ccd2a48ea933ec94d970b75a7e)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 4afc4770e823d3192407668cbe20940bc2389e50)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 97d8a8fb59e1c2917bcd1e729e5d7b4f33f1d6d1)
A buffer descriptor or vertex buffer whose base the kernel has not committed
made ClampRangeSize EXIT ("attempted to access invalid address"), which took
the session down as soon as the License Center screen of My First Gran Turismo
was entered (a 160 MiB range at an unbacked address). On the hardware an
unbacked range reads zero and drops writes, so binding nothing reproduces it.

TryClampRangeSize is the non-exiting query (0 for a range that starts outside
committed memory); ClampRangeSize keeps its behaviour on top of it.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Scaled formats are sampled as their normalized counterpart and rescaled to the
integer magnitude for plain fetches. A gather or an image write of such a
format went through the packed-uint path, which extracts U32 components from a
float vector. Say it is not implemented instead.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Format 52 (64xU64) maps to R64_UINT, which not every device allows as a vertex
buffer format; an unsupported format makes pipeline creation fail. Name the
format and exit with a message instead.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The GC headroom change made the collector's trigger a fixed 0.5 GiB
(threshold = budget - 1 GiB, trigger = (budget - threshold) / 2) so it ran on
almost every tick and freed clean textures that then had to be re-uploaded. The
view rebind fix covers the failure it was meant for ("texture requires
rediscovery").

The same commit also carried an unused flag and a verbose rediscovery
diagnostic. textureCache.cpp is now main plus the 2D/3D mismatch handling only.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Guest format names list the components from the lowest bit up, so these layouts
look like the reverse of B10G11R11 / A2B10G10R10. They are mapped on purpose:
render targets with these layouts come with a reversed channel order (order=2),
which TextureGetRenderTargetFormat applies as a component mapping on top of the
host formats, and the title creates such targets (removing the mappings ends the
session with "unsupported render-target format combination"). Say so, and note
that a plain texture or buffer view would see the fields in the other order.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
GetGraphicsPipeline enabled the second-source blend factors for any target whose
export mapping classified as a permuted source alpha, but the shader only outputs
the logical alpha in the second source when GetGraphicsPrograms turned
alpha_blend_source_remap on (target 0, no other target active). With MRT1 in use,
or for a permuted target other than 0, the pipeline read a second source nobody
wrote and changed target 0's factors. Gate it on the shader's own remap, which
is what the code before this series did; a mapping that cannot be remapped falls
back to blending off as before.

Also document the remaining limit of a permuted mapping with different colour and
alpha equations in ClassifyBlendMapping.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:41:08 +00:00
github-bot closed this pull request 2026-11-26 09:41:08 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-04 01:09 UTC · original · edited 2026-10-04 02:48 UTC

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

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: 5d7b479e-9c9c-4867-a248-bbe3dbf599de
📥 Commits

Reviewing files that changed from the base of the PR and between 09d65c5d32 and f470440493.

📒 Files selected for processing (6)
  • src/graphics/host_gpu/renderer/cache/textureCache.cpp
  • src/graphics/host_gpu/renderer/pipeline/blendMapping.cpp
  • src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp
  • src/graphics/host_gpu/renderer/pipeline/shaders.cpp
  • src/graphics/host_gpu/vulkanCommon.cpp
  • src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp
🚧 Files skipped from review as they are similar to previous changes (3)
  • src/graphics/host_gpu/vulkanCommon.cpp
  • src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp
  • src/graphics/host_gpu/renderer/pipeline/blendMapping.cpp

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


📝 Walkthrough

Walkthrough

The changes expand guest and Vulkan texture-format handling, including scaled-format image conversion. They update image creation, texture-cache behavior, and render-target validation. They add read-only storage-buffer recovery and change image rebinding order. Blend mapping, vertex input, polygon draws, mesh draw data, and memory-range handling also change.

Suggested reviewers: nmzik

Priority: ➖ Normal

Change: Bug fix

Merge Risk: 🟡 Moderate · up to f4704

Specific format, blending, cache-replacement, and buffer-range cases can render incorrectly, lose GPU-written texture contents, or terminate the emulator. These are bounded paths, but they warrant correction or explicit acceptance before merging.

Security Architecture Review

Security architecture risk: 🔵 Low · up to f4704

The reviewed changes do not demonstrate increased host privileges or a new external attack surface. However, replacing a resource can discard its latest data, and incomplete coverage leaves some recovery guarantees unproven.

Retained concerns

  • Medium · reliability · inferred: A compatible smaller-range overlap can return a cached image with different volume dimensionality. The new rejection branch then frees that image and creates a replacement without copying or downloading its latest GPU-owned contents. Freeing clears the ownership flag and removes queued download tracking, so this recovery transition can lose authoritative data unless it was independently synchronized beforehand.
Security review details

Security Blast Radius

  • inferred — The supported reachability is from guest-selected descriptors and formats into resources owned by the running emulator. The demonstrated replacement failure affects the guest's GPU-authoritative data; the inspected paths do not establish host code execution, cross-process disclosure, or exposure of another service.

Trust Boundaries and Controls

  • inferred — The PR adds another route to the shared dummy buffer, but zero-address or zero-size descriptors already reached the same buffer in the inspected base. This is counterevidence against treating the fallback's existing mutable-state semantics as newly granted attacker authority.

Resilience and Maintainability Implications

  • observed — Image deletion removes cache registration before deferring slot erasure during active scheduling. Deferred operations wait for their GPU tick, while final acquisition and rebinding check registration or rebind state. These controls separate discoverability from resource lifetime, but do not preserve discarded image contents.

Hardening Proposals

  • proposed — Define unbacked-resource recovery as an explicit zero-read and discarded-write contract, with initialization and write isolation appropriate to the selected implementation. This would strengthen an existing fallback rather than remediate demonstrated new host privileges.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 19.44% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 36 functions across 16 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the GPU host fixes and names several of the main areas changed.
Description check ✅ Passed The description explains the game-running objective, summarizes the changes, and reports testing and known limitations.
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.
  • Autopilot · 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-04 01:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#issuecomment-5975267819) · edited 2026-10-04 02:48 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/1033?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui-dark.svg?v=2" alt="Review in Change Stack →" width="220" height="32"></a> Navigate logical layers of code changes, visualize relationships, and explore their blast radius. <!-- review_stack_entry_end --> <!-- recent_review_start --> No actionable comments were generated in the recent review. 🎉 <details> <summary>ℹ️ Recent review info</summary> <details> <summary>⚙️ Run configuration</summary> - **Configuration used**: Repository: KytyPS5/KytyPS5/.coderabbit.yaml - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `5d7b479e-9c9c-4867-a248-bbe3dbf599de` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between 09d65c5d32379aa5e9a381252247a8ae71ae5978 and f470440493915ef4b2cd41c5fa2b25aaf4239d2c. </details> <details> <summary>📒 Files selected for processing (6)</summary> * `src/graphics/host_gpu/renderer/cache/textureCache.cpp` * `src/graphics/host_gpu/renderer/pipeline/blendMapping.cpp` * `src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp` * `src/graphics/host_gpu/renderer/pipeline/shaders.cpp` * `src/graphics/host_gpu/vulkanCommon.cpp` * `src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp` </details> <details> <summary>🚧 Files skipped from review as they are similar to previous changes (3)</summary> * src/graphics/host_gpu/vulkanCommon.cpp * src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp * src/graphics/host_gpu/renderer/pipeline/blendMapping.cpp </details> **Included review availability:** This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review. </details> --- <!-- recent_review_end --> <!-- walkthrough_start --> <details> <summary>📝 Walkthrough</summary> ## Walkthrough The changes expand guest and Vulkan texture-format handling, including scaled-format image conversion. They update image creation, texture-cache behavior, and render-target validation. They add read-only storage-buffer recovery and change image rebinding order. Blend mapping, vertex input, polygon draws, mesh draw data, and memory-range handling also change. **Suggested reviewers:** `nmzik` </details> <!-- walkthrough_end --> <!-- change_assessment_start --> **Priority:** ➖ Normal <!-- change_assessment_commit:"f470440493915ef4b2cd41c5fa2b25aaf4239d2c" --> **Change:** Bug fix <!-- change_assessment_end --> <!-- final_review_risk_start --> **Merge Risk:** _🟡 Moderate_ · up to `f4704` <!-- final_review_risk_coverage:{"sourceCommitId":"f470440493915ef4b2cd41c5fa2b25aaf4239d2c","coveredCommitId":"f470440493915ef4b2cd41c5fa2b25aaf4239d2c","kind":"reviewed"} --> Specific format, blending, cache-replacement, and buffer-range cases can render incorrectly, lose GPU-written texture contents, or terminate the emulator. These are bounded paths, but they warrant correction or explicit acceptance before merging. <!-- final_review_risk_end --> <!-- architecture_review_start --> ### Security Architecture Review **Security architecture risk:** _🔵 Low_ · up to `f4704` The reviewed changes do not demonstrate increased host privileges or a new external attack surface. However, replacing a resource can discard its latest data, and incomplete coverage leaves some recovery guarantees unproven. **Retained concerns** - **Medium · reliability · inferred:** A compatible smaller-range overlap can return a cached image with different volume dimensionality. The new rejection branch then frees that image and creates a replacement without copying or downloading its latest GPU-owned contents. Freeing clears the ownership flag and removes queued download tracking, so this recovery transition can lose authoritative data unless it was independently synchronized beforehand. <details> <summary>Security review details</summary> **Security Blast Radius** - _inferred_ — The supported reachability is from guest-selected descriptors and formats into resources owned by the running emulator. The demonstrated replacement failure affects the guest's GPU-authoritative data; the inspected paths do not establish host code execution, cross-process disclosure, or exposure of another service. **Trust Boundaries and Controls** - _inferred_ — The PR adds another route to the shared dummy buffer, but zero-address or zero-size descriptors already reached the same buffer in the inspected base. This is counterevidence against treating the fallback's existing mutable-state semantics as newly granted attacker authority. **Resilience and Maintainability Implications** - _observed_ — Image deletion removes cache registration before deferring slot erasure during active scheduling. Deferred operations wait for their GPU tick, while final acquisition and rebinding check registration or rebind state. These controls separate discoverability from resource lifetime, but do not preserve discarded image contents. **Hardening Proposals** - _proposed_ — Define unbacked-resource recovery as an explicit zero-read and discarded-write contract, with initialization and write isolation appropriate to the selected implementation. This would strengthen an existing fallback rather than remediate demonstrated new host privileges. </details> <!-- architecture_review_end --> <!-- pre_merge_checks_walkthrough_start --> <details> <summary>🚥 Pre-merge checks | ✅ 4 | ❌ 1</summary> ### ❌ Failed checks (1 warning) | Check name | Status | Explanation | Resolution | | :----------------: | :--------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------- | | Docstring Coverage | ⚠️ Warning | Docstring coverage is 19.44% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 36 functions across 16 files. | Write docstrings for the functions missing them to satisfy the coverage threshold. | <details> <summary>✅ Passed checks (4 passed)</summary> | Check name | Status | Explanation | | :------------------------: | :------- | :---------------------------------------------------------------------------------------------------------------------- | | Title check | ✅ Passed | The title clearly identifies the GPU host fixes and names several of the main areas changed. | | Description check | ✅ Passed | The description explains the game-running objective, summarizes the changes, and reports testing and known limitations. | | 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. | </details> </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">Autopilot</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=1033)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary>❤️ Share</summary> - [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) </details> <sub>Comment `@coderabbitai help` to get the list of available commands.</sub> <!-- tips_end -->
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-04 01:09 UTC · original · edited 2026-10-04 02:30 UTC
On src/graphics/host_gpu/renderer/cache/textureCache.cpp line 162 (outdated):

@@ -154,9 +154,12 @@ TextureCache::TextureCache(GraphicContext& graphics, CommandScheduler& scheduler
 		constexpr int64_t GiB = 1024ll * 1024 * 1024;
 		const auto        budget =
 		    static_cast<int64_t>(std::min<uint64_t>(m_graphics.GetTotalMemoryBudget(), INT64_MAX));
-		const auto threshold = std::min<int64_t>(budget, 8 * GiB);
+		// Leave more headroom than a fixed 8 GiB before the pressure threshold, and start the
+		// collector later. An aggressive threshold unregisters images that are still bound, and
+		// the next view acquisition then finds them unregistered and gives up.
+		const auto threshold = budget - 1 * GiB;
 		m_pressure_gc_memory = static_cast<uint64_t>(
-		    std::max<int64_t>(std::min(budget - 6 * threshold / 10, budget - GiB), GiB + GiB / 2));
+		    std::max<int64_t>(std::min(budget - 5 * threshold / 10, budget - GiB), GiB + GiB / 2));

🚀 Performance & Scalability | 🟠 Major | ⚡ Quick win

The new threshold makes the GC trigger a fixed 0.5 GiB.

threshold is now budget - 1 GiB. The trigger is computed as (budget - threshold) / 2, so it is always 0.5 GiB, whatever the budget. The old code capped threshold at 8 GiB, so the trigger grew with large budgets.

With this change, RunGarbageCollector runs on almost every tick once usage passes 0.5 GiB. Each run collects images older than 16 ticks. Clean textures are then freed and re-uploaded over and over. This contradicts the comment, which says the collector should start later.

Compute m_trigger_gc_memory from a value that grows with the budget, for example a fraction of budget.

Proposed fix
-		m_trigger_gc_memory = static_cast<uint64_t>(std::max<int64_t>((budget - threshold) / 2, 0));
+		m_trigger_gc_memory = static_cast<uint64_t>(std::max<int64_t>(budget / 2, 0));

✅ Addressed in commits 96350b9 to f470440

**@⁠coderabbitai[bot]** on GitHub · 2026-10-04 01:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#discussion_r4175633446) · edited 2026-10-04 02:30 UTC On `src/graphics/host_gpu/renderer/cache/textureCache.cpp` line 162 (outdated): ```diff @@ -154,9 +154,12 @@ TextureCache::TextureCache(GraphicContext& graphics, CommandScheduler& scheduler constexpr int64_t GiB = 1024ll * 1024 * 1024; const auto budget = static_cast<int64_t>(std::min<uint64_t>(m_graphics.GetTotalMemoryBudget(), INT64_MAX)); - const auto threshold = std::min<int64_t>(budget, 8 * GiB); + // Leave more headroom than a fixed 8 GiB before the pressure threshold, and start the + // collector later. An aggressive threshold unregisters images that are still bound, and + // the next view acquisition then finds them unregistered and gives up. + const auto threshold = budget - 1 * GiB; m_pressure_gc_memory = static_cast<uint64_t>( - std::max<int64_t>(std::min(budget - 6 * threshold / 10, budget - GiB), GiB + GiB / 2)); + std::max<int64_t>(std::min(budget - 5 * threshold / 10, budget - GiB), GiB + GiB / 2)); ``` _🚀 Performance & Scalability_ | _🟠 Major_ | _⚡ Quick win_ **The new threshold makes the GC trigger a fixed 0.5 GiB.** `threshold` is now `budget - 1 GiB`. The trigger is computed as `(budget - threshold) / 2`, so it is always 0.5 GiB, whatever the budget. The old code capped `threshold` at 8 GiB, so the trigger grew with large budgets. With this change, `RunGarbageCollector` runs on almost every tick once usage passes 0.5 GiB. Each run collects images older than 16 ticks. Clean textures are then freed and re-uploaded over and over. This contradicts the comment, which says the collector should start later. Compute `m_trigger_gc_memory` from a value that grows with the budget, for example a fraction of `budget`. <details> <summary>Proposed fix</summary> ```diff - m_trigger_gc_memory = static_cast<uint64_t>(std::max<int64_t>((budget - threshold) / 2, 0)); + m_trigger_gc_memory = static_cast<uint64_t>(std::max<int64_t>(budget / 2, 0)); ``` </details> <!-- fingerprinting:phantom:medusa:pangolin --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:05b3f2ab6111ea14e8394734 --> <!-- This is an auto-generated comment by CodeRabbit --> ✅ Addressed in commits 96350b9 to f470440
@ -1294,0 +1298,4 @@
// Reusing a 2D image for a 3D view (or the reverse) builds an incompatible view,
// so drop it and insert a fresh image sized for the requested dimensionality.
FreeImage(result);
result = {};
Author
Owner

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

🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift

This path discards GPU-written content on a 2D/3D mismatch.

FreeImage clears GpuModified before it deletes the image. The replacement is then built from guest memory. If a render target or storage write produced the 2D image, the GPU content is lost. The 3D view then samples stale guest bytes.

ResolveDepthOverlap copies data into its replacement, but this path does not. Before you free an image that has IsGpuModified(), download it with DownloadImageMemory, or copy it into the new image.

**@⁠coderabbitai[bot]** on GitHub · 2026-10-04 01:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#discussion_r4175633448) _🗄️ Data Integrity & Integration_ | _🟠 Major_ | _🏗️ Heavy lift_ **This path discards GPU-written content on a 2D/3D mismatch.** `FreeImage` clears `GpuModified` before it deletes the image. The replacement is then built from guest memory. If a render target or storage write produced the 2D image, the GPU content is lost. The 3D view then samples stale guest bytes. `ResolveDepthOverlap` copies data into its replacement, but this path does not. Before you free an image that has `IsGpuModified()`, download it with `DownloadImageMemory`, or copy it into the new image. <!-- fingerprinting:phantom:medusa:pangolin --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:e558b75959c3e24e83be847e --> <!-- This is an auto-generated comment by CodeRabbit -->
@ -37,0 +51,4 @@
// with different equations the channel that moved into the alpha slot gets the alpha equation
// and the logical alpha gets the colour one. It is the closest fixed-function blending gets;
// switching blending off instead would overwrite every channel.
if (alpha_differs && !permutation) {
Author
Owner

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

🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

Keep differing alpha equations unsupported when alpha moves.

If a permutation moves alpha and alpha_differs is true, this condition now permits blending. Vulkan still applies the alpha equation to the output alpha slot, not to the slot that received the shader’s logical alpha. Supplying logical alpha through a second source does not move that equation. The affected component therefore gets the wrong blend result. Keep this case Unsupported unless pipeline setup can implement the permuted equations.

**@⁠coderabbitai[bot]** on GitHub · 2026-10-04 01:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#discussion_r4175633453) _🎯 Functional Correctness_ | _🟠 Major_ | _🏗️ Heavy lift_ **Keep differing alpha equations unsupported when alpha moves.** If a permutation moves alpha and `alpha_differs` is true, this condition now permits blending. Vulkan still applies the alpha equation to the output alpha slot, not to the slot that received the shader’s logical alpha. Supplying logical alpha through a second source does not move that equation. The affected component therefore gets the wrong blend result. Keep this case `Unsupported` unless pipeline setup can implement the permuted equations. <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:e1cf0ec9ae384ab5c0f9a674 --> <!-- This is an auto-generated comment by CodeRabbit -->
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-04 01:09 UTC · original · edited 2026-10-04 02:30 UTC
On src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp line 740 (outdated):

@@ -730,8 +732,14 @@ PipelineCache::Pipeline& PipelineCache::GetGraphicsPipeline(
 		const bool alpha_remap =
 		    slot == 0 && ps_input_info != nullptr && ps_input_info->alpha_blend_source_remap;
 		static_params.blend_enable[slot] = bc.enable && !rt.info.blend_bypass;
-		if (static_params.blend_enable[slot] && !alpha_remap &&
-		    ClassifyBlendMapping(bc, colors[i].export_mapping) != BlendMappingSupport::Direct) {
+		// A permuted export mapping leaves the shader's alpha in a known component, so the blend
+		// can be expressed: put that component in the second blend source and let the alpha slot
+		// read it. Vulkan's SrcAlpha is bound to the alpha byte, so without this the equation is
+		// either wrong or switched off entirely and the draw loses its compositing.
+		const auto mapping_support = ClassifyBlendMapping(bc, colors[i].export_mapping);
+		const bool second_alpha    = mapping_support == BlendMappingSupport::PermutedSourceAlpha;

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Require an active target-0 alpha remap before using the second source.

If MRT1 is already active, GetGraphicsPrograms does not enable alpha_blend_source_remap. A permuted target 0 nevertheless passes this blend check, and Line 753 makes its source-alpha factors read Src1Color without the matching shader remap. For a permuted nonzero target, Line 753 also changes target 0’s factors, although the blend setup only supports second-source remapping on target 0. Gate second-source blending on the actual target-0 shader remap. Otherwise, retain the unsupported-mapping fallback.

Also applies to: 753-753

✅ Addressed in commits 96350b9 to f470440

**@⁠coderabbitai[bot]** on GitHub · 2026-10-04 01:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#discussion_r4175633456) · edited 2026-10-04 02:30 UTC On `src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp` line 740 (outdated): ```diff @@ -730,8 +732,14 @@ PipelineCache::Pipeline& PipelineCache::GetGraphicsPipeline( const bool alpha_remap = slot == 0 && ps_input_info != nullptr && ps_input_info->alpha_blend_source_remap; static_params.blend_enable[slot] = bc.enable && !rt.info.blend_bypass; - if (static_params.blend_enable[slot] && !alpha_remap && - ClassifyBlendMapping(bc, colors[i].export_mapping) != BlendMappingSupport::Direct) { + // A permuted export mapping leaves the shader's alpha in a known component, so the blend + // can be expressed: put that component in the second blend source and let the alpha slot + // read it. Vulkan's SrcAlpha is bound to the alpha byte, so without this the equation is + // either wrong or switched off entirely and the draw loses its compositing. + const auto mapping_support = ClassifyBlendMapping(bc, colors[i].export_mapping); + const bool second_alpha = mapping_support == BlendMappingSupport::PermutedSourceAlpha; ``` _🎯 Functional Correctness_ | _🟠 Major_ | _⚡ Quick win_ **Require an active target-0 alpha remap before using the second source.** If MRT1 is already active, `GetGraphicsPrograms` does not enable `alpha_blend_source_remap`. A permuted target 0 nevertheless passes this blend check, and Line 753 makes its source-alpha factors read `Src1Color` without the matching shader remap. For a permuted nonzero target, Line 753 also changes target 0’s factors, although the blend setup only supports second-source remapping on target 0. Gate second-source blending on the actual target-0 shader remap. Otherwise, retain the unsupported-mapping fallback. Also applies to: 753-753 <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:2632aa9aaeeb9e563615f582 --> <!-- This is an auto-generated comment by CodeRabbit --> ✅ Addressed in commits 96350b9 to f470440
@ -123,0 +129,4 @@
LOGF("InputFormat: reading PS5 buffer format 52 (64xU64) as vk::Format::eR64Uint\n");
logged_52 = true;
}
format = vk::Format::eR64Uint;
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-04 01:09 UTC · original · edited 2026-10-04 01:50 UTC

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

🔎 Supported by static analysis

🏁 Script executed:

#!/bin/bash
set -euo pipefail

rg -n -C 4 'kVertexBufferFormat64xU64|eR64Uint|R64_UINT|VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT|[Gg]etPhysicalDeviceFormatProperties|[Gg]etFormatProperties' src

Repository: KytyPS5/KytyPS5

Length of output: 9525


🏁 Script executed:

#!/bin/bash
set -euo pipefail

git diff --unified=12 db1758527751125592f57bf02f29616fa0643159 deecc8f11d99ada3f568980930470c7819886ff4 -- src/graphics/host_gpu/renderer/pipeline/shaders.cpp
printf '\n--- vertex attribute references ---\n'
rg -n -C 5 'GetInputFormat|InputFormat|VertexInputAttributeDescription|vertex_input|vertexInput|attributeDescriptions|attr_size' src/graphics/host_gpu
printf '\n--- device selection and format-check callers ---\n'
sed -n '1,180p' src/graphics/presentation/window/vulkanWindow.cpp
rg -n -C 5 'CheckFormat\\(|GetFormatProperties\\(.*Vertex|eVertexBuffer|VERTEX_BUFFER_BIT|FormatFeatureFlagBits::eVertex' src

Repository: KytyPS5/KytyPS5

Length of output: 36502


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- device selection ---'
sed -n '130,330p' src/graphics/presentation/window/vulkanWindow.cpp
printf '%s\n' '--- vertex format mapping and pipeline create ---'
sed -n '96,150p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp
sed -n '297,360p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp
sed -n '520,550p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp
printf '%s\n' '--- vertex format feature checks ---'
rg -n -C 3 'eVertexBuffer|VERTEX_BUFFER_BIT|FormatFeatureFlagBits::eVertex|formatFeatureFlags.*Vertex|bufferFeatures' src || true

Repository: KytyPS5/KytyPS5

Length of output: 17739


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- device selection remainder ---'
sed -n '290,440p' src/graphics/presentation/window/vulkanWindow.cpp | cat -n
printf '%s\n' '--- format support helper references ---'
rg -n -C 2 'CheckFormat\\(' src/graphics/presentation/window/vulkanWindow.cpp
printf '%s\n' '--- graphics pipeline creation result ---'
sed -n '545,605p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp | cat -n
printf '%s\n' '--- source locations for mapping and attribute pass-through ---'
sed -n '124,136p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp | cat -n
sed -n '304,356p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp | cat -n
rg -n 'eR64Uint|kVertexBufferFormat64xU64|eVertexBuffer|VERTEX_BUFFER_BIT' src

Repository: KytyPS5/KytyPS5

Length of output: 7555


🏁 Script executed:

#!/bin/bash
set -euo pipefail
printf '%s\n' '--- pipeline creation ---'
nl -ba src/graphics/host_gpu/renderer/pipeline/shaders.cpp | sed -n '345,360p;535,585p'
printf '%s\n' '--- vertex format support check ---'
nl -ba src/graphics/presentation/window/vulkanWindow.cpp | sed -n '100,111p;330,365p'
printf '%s\n' '--- mapping ---'
nl -ba src/graphics/host_gpu/renderer/pipeline/shaders.cpp | sed -n '124,136p'

Repository: KytyPS5/KytyPS5

Length of output: 6857


Check eR64Uint vertex-buffer support before pipeline creation.

When raw format 52 reaches GetInputFormat, it selects vk::Format::eR64Uint for the vertex attribute. Device selection does not check this format’s bufferFeatures for VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT. On a device without that feature, the vertex-input description violates VUID-VkVertexInputAttributeDescription-format-00623, and pipeline creation can fail. Check the feature and handle unsupported devices before creating the pipeline.

✅ Addressed in commits 96350b9 to 7728fcc

**@⁠coderabbitai[bot]** on GitHub · 2026-10-04 01:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#discussion_r4175633459) · edited 2026-10-04 01:50 UTC _🩺 Stability & Availability_ | _🟡 Minor_ | _⚡ Quick win_ <details> <summary>🔎 Supported by static analysis</summary> 🏁 Script executed: ```bash #!/bin/bash set -euo pipefail rg -n -C 4 'kVertexBufferFormat64xU64|eR64Uint|R64_UINT|VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT|[Gg]etPhysicalDeviceFormatProperties|[Gg]etFormatProperties' src ``` Repository: KytyPS5/KytyPS5 Length of output: 9525 --- 🏁 Script executed: ```bash #!/bin/bash set -euo pipefail git diff --unified=12 db1758527751125592f57bf02f29616fa0643159 deecc8f11d99ada3f568980930470c7819886ff4 -- src/graphics/host_gpu/renderer/pipeline/shaders.cpp printf '\n--- vertex attribute references ---\n' rg -n -C 5 'GetInputFormat|InputFormat|VertexInputAttributeDescription|vertex_input|vertexInput|attributeDescriptions|attr_size' src/graphics/host_gpu printf '\n--- device selection and format-check callers ---\n' sed -n '1,180p' src/graphics/presentation/window/vulkanWindow.cpp rg -n -C 5 'CheckFormat\\(|GetFormatProperties\\(.*Vertex|eVertexBuffer|VERTEX_BUFFER_BIT|FormatFeatureFlagBits::eVertex' src ``` Repository: KytyPS5/KytyPS5 Length of output: 36502 --- 🏁 Script executed: ```bash #!/bin/bash set -euo pipefail printf '%s\n' '--- device selection ---' sed -n '130,330p' src/graphics/presentation/window/vulkanWindow.cpp printf '%s\n' '--- vertex format mapping and pipeline create ---' sed -n '96,150p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp sed -n '297,360p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp sed -n '520,550p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp printf '%s\n' '--- vertex format feature checks ---' rg -n -C 3 'eVertexBuffer|VERTEX_BUFFER_BIT|FormatFeatureFlagBits::eVertex|formatFeatureFlags.*Vertex|bufferFeatures' src || true ``` Repository: KytyPS5/KytyPS5 Length of output: 17739 --- 🏁 Script executed: ```bash #!/bin/bash set -euo pipefail printf '%s\n' '--- device selection remainder ---' sed -n '290,440p' src/graphics/presentation/window/vulkanWindow.cpp | cat -n printf '%s\n' '--- format support helper references ---' rg -n -C 2 'CheckFormat\\(' src/graphics/presentation/window/vulkanWindow.cpp printf '%s\n' '--- graphics pipeline creation result ---' sed -n '545,605p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp | cat -n printf '%s\n' '--- source locations for mapping and attribute pass-through ---' sed -n '124,136p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp | cat -n sed -n '304,356p' src/graphics/host_gpu/renderer/pipeline/shaders.cpp | cat -n rg -n 'eR64Uint|kVertexBufferFormat64xU64|eVertexBuffer|VERTEX_BUFFER_BIT' src ``` Repository: KytyPS5/KytyPS5 Length of output: 7555 --- 🏁 Script executed: ```bash #!/bin/bash set -euo pipefail printf '%s\n' '--- pipeline creation ---' nl -ba src/graphics/host_gpu/renderer/pipeline/shaders.cpp | sed -n '345,360p;535,585p' printf '%s\n' '--- vertex format support check ---' nl -ba src/graphics/presentation/window/vulkanWindow.cpp | sed -n '100,111p;330,365p' printf '%s\n' '--- mapping ---' nl -ba src/graphics/host_gpu/renderer/pipeline/shaders.cpp | sed -n '124,136p' ``` Repository: KytyPS5/KytyPS5 Length of output: 6857 --- </details> **Check `eR64Uint` vertex-buffer support before pipeline creation.** When raw format `52` reaches `GetInputFormat`, it selects `vk::Format::eR64Uint` for the vertex attribute. Device selection does not check this format’s `bufferFeatures` for `VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT`. On a device without that feature, the vertex-input description violates VUID-VkVertexInputAttributeDescription-format-00623, and pipeline creation can fail. Check the feature and handle unsupported devices before creating the pipeline. <!-- fingerprinting:phantom:triton:serval --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:3e59c4115751003060804af5 --> <!-- This is an auto-generated comment by CodeRabbit --> ✅ Addressed in commits 96350b9 to 7728fcc
@ -49,0 +50,4 @@
// TextureGetRenderTargetFormat applies as a component mapping on top of the host formats below
// (B10G11R11, A2B10G10R10). A plain texture or buffer view of these layouts would see its
// fields in the other order.
{Prospero::BufferFormat::k10_11_11Float, vk::Format::eB10G11R11UfloatPack32},
Author
Owner

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

🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

Do not map k10_11_11Float directly to eB10G11R11UfloatPack32.

The guest format places its 10-bit component in bits 0–9. Vulkan places the 10-bit B component in bits 22–31. This mapping decodes texels with the wrong component widths and offsets. Repack the bits or use a conversion path before sampling. (docs.vulkan.org)

**@⁠coderabbitai[bot]** on GitHub · 2026-10-04 01:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#discussion_r4175633465) _🎯 Functional Correctness_ | _🟠 Major_ | _🏗️ Heavy lift_ **Do not map `k10_11_11Float` directly to `eB10G11R11UfloatPack32`.** The guest format places its 10-bit component in bits 0–9. Vulkan places the 10-bit B component in bits 22–31. This mapping decodes texels with the wrong component widths and offsets. Repack the bits or use a conversion path before sampling. ([docs.vulkan.org](https://docs.vulkan.org/refpages/latest/refpages/source/VkFormat.html)) <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:5793b7f5b6a7e563999288ec --> <!-- This is an auto-generated comment by CodeRabbit -->
@ -49,0 +54,4 @@
{Prospero::BufferFormat::k2_10_10_10UNorm, vk::Format::eA2B10G10R10UnormPack32},
{Prospero::BufferFormat::k2_10_10_10SNorm, vk::Format::eA2B10G10R10SnormPack32},
{Prospero::BufferFormat::k2_10_10_10UInt, vk::Format::eA2B10G10R10UintPack32},
{Prospero::BufferFormat::k2_10_10_10SInt, vk::Format::eA2B10G10R10SintPack32},
Author
Owner

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

🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

Convert k2_10_10_10 before using these Vulkan formats.

Guest format metadata places the two-bit component at bit offset 0. Every mapped A2B10G10R10 format places its two-bit A component in bits 30–31. A component swizzle cannot correct the different field boundaries. Repack the texels or select a backing representation that preserves the guest layout. (docs.vulkan.org)

**@⁠coderabbitai[bot]** on GitHub · 2026-10-04 01:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#discussion_r4175633470) _🎯 Functional Correctness_ | _🟠 Major_ | _🏗️ Heavy lift_ **Convert `k2_10_10_10` before using these Vulkan formats.** Guest format metadata places the two-bit component at bit offset 0. Every mapped `A2B10G10R10` format places its two-bit A component in bits 30–31. A component swizzle cannot correct the different field boundaries. Repack the texels or select a backing representation that preserves the guest layout. ([docs.vulkan.org](https://docs.vulkan.org/refpages/latest/refpages/source/VkFormat.html)) <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:40e87ffd7fa4561833e63d5d --> <!-- This is an auto-generated comment by CodeRabbit -->
@ -399,0 +418,4 @@
Prospero::TextureNumericClass::Float) {
return {};
}
return info;
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-04 01:09 UTC · original · edited 2026-10-04 01:50 UTC

🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

Handle scaled formats in UnpackImageGather.

A scaled 2D gather now passes this validation and returns a float vector from the normalized backing image. UnpackImageGather still emits OpCompositeExtract with TypeU32 for that vector. The generated SPIR-V has a result type that does not match the extracted component. Add a float gather path that rescales each lane and applies the selector, or reject scaled gathers before emission. (registry.khronos.org)


🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

🔎 Supported by static analysis

🏁 Script executed:

#!/bin/bash
# Inspect scaled storage-image validation and the write path without executing repository code.
rg -n -C 8 'ValidateStorageTexture\s*\(|ValidateStorageImageResource\s*\(' src/graphics
rg -n -C 6 'ImageWrite|PackImageTexel\s*\(|ImageConversionFormat\s*\(' src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp

Repository: KytyPS5/KytyPS5

Length of output: 14569


🏁 Script executed:

#!/bin/bash
sed -n '105,142p' src/graphics/host_gpu/renderer/image/imageView.h
sed -n '250,365p' src/graphics/host_gpu/renderer/pipeline/descriptors.cpp
sed -n '403,430p' src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp
sed -n '431,505p' src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp
sed -n '574,640p' src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp
rg -n 'IsScaledConversion|Sscaled|Usual.*scaled|k.*Scaled|k.*SNorm|k.*UNorm|conversion_format' src/graphics/shader/recompiler src/graphics/host_gpu

Repository: KytyPS5/KytyPS5

Length of output: 35561


🏁 Script executed:

#!/bin/bash
rg -n -C 5 'SampledTextureNumericClass\s*\(' src/graphics/shader/recompiler src/graphics/host_gpu
sed -n '455,490p' src/graphics/shader/recompiler/ir/passes/ResourceMaterialization.cpp
sed -n '620,685p' src/graphics/host_gpu/renderer/pipeline/descriptors.cpp
nl -ba src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp | sed -n '403,430p;574,640p;709,722p'
nl -ba src/graphics/host_gpu/renderer/pipeline/descriptors.cpp | sed -n '334,365p'

Repository: KytyPS5/KytyPS5

Length of output: 20201


🏁 Script executed:

#!/bin/bash
rg -n -C 4 'SampledTextureNumericClass|ImageConversionFormat\s*\(' src
nl -ba src/graphics/shader/recompiler/ir/passes/ResourceMaterialization.cpp | sed -n '465,500p'
nl -ba src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp | sed -n '389,428p;574,638p;709,721p'

Repository: KytyPS5/KytyPS5

Length of output: 23667


🏁 Script executed:

#!/bin/bash
nl -ba src/graphics/guest_gpu/gpu_format.cpp | sed -n '255,292p'
nl -ba src/graphics/shader/recompiler/BufferFormat.h | sed -n '100,130p'

Repository: KytyPS5/KytyPS5

Length of output: 4007


🏁 Script executed:

#!/bin/bash
rg -n -C 3 'k8UScaled|k8SScaled|k16UScaled|k16SScaled|k8_8UScaled|k8_8SScaled|k8_8_8_8UScaled|k8_8_8_8SScaled' src/graphics/guest_gpu/gpu_format.cpp

Repository: KytyPS5/KytyPS5

Length of output: 3003


🏁 Script executed:

git diff --unified=5 db1758527751125592f57bf02f29616fa0643159 deecc8f11d99ada3f568980930470c7819886ff4 -- src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp

Repository: KytyPS5/KytyPS5

Length of output: 5076


🌐 Web query:

SPIR-V specification OpCompositeExtract result type must match type of extracted component

💡 Result:

Yes. The SPIR-V specification says for `OpCompositeExtract`: **“Result Type must be the type of object selected by the last provided index.”** In other words, the result type must exactly match the type reached by following the index path through the composite—not merely be a compatible type. ([registry.khronos.org](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html))

Citations:

- 1: https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html

Reject scaled storage writes or pack their float components.

ValidateStorageTexture accepts scaled formats as Float storage formats. For ImageWrite, StoreTexel builds an F32 vector, then PackImageTexel extracts each component as U32. This can emit invalid SPIR-V because OpCompositeExtract must return the selected component type. Implement float-to-normalized packing for scaled writes, or reject those writes during storage validation.

✅ Addressed in commits 96350b9 to 7728fcc

**@⁠coderabbitai[bot]** on GitHub · 2026-10-04 01:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#discussion_r4175633473) · edited 2026-10-04 01:50 UTC _🎯 Functional Correctness_ | _🟠 Major_ | _🏗️ Heavy lift_ **Handle scaled formats in `UnpackImageGather`.** A scaled 2D gather now passes this validation and returns a float vector from the normalized backing image. `UnpackImageGather` still emits `OpCompositeExtract` with `TypeU32` for that vector. The generated SPIR-V has a result type that does not match the extracted component. Add a float gather path that rescales each lane and applies the selector, or reject scaled gathers before emission. ([registry.khronos.org](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html?utm_source=openai)) <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:f4105cab31d9a6ad412c47fd --> --- _🎯 Functional Correctness_ | _🟠 Major_ | _🏗️ Heavy lift_ <details> <summary>🔎 Supported by static analysis</summary> 🏁 Script executed: ```bash #!/bin/bash # Inspect scaled storage-image validation and the write path without executing repository code. rg -n -C 8 'ValidateStorageTexture\s*\(|ValidateStorageImageResource\s*\(' src/graphics rg -n -C 6 'ImageWrite|PackImageTexel\s*\(|ImageConversionFormat\s*\(' src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp ``` Repository: KytyPS5/KytyPS5 Length of output: 14569 --- 🏁 Script executed: ```bash #!/bin/bash sed -n '105,142p' src/graphics/host_gpu/renderer/image/imageView.h sed -n '250,365p' src/graphics/host_gpu/renderer/pipeline/descriptors.cpp sed -n '403,430p' src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp sed -n '431,505p' src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp sed -n '574,640p' src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp rg -n 'IsScaledConversion|Sscaled|Usual.*scaled|k.*Scaled|k.*SNorm|k.*UNorm|conversion_format' src/graphics/shader/recompiler src/graphics/host_gpu ``` Repository: KytyPS5/KytyPS5 Length of output: 35561 --- 🏁 Script executed: ```bash #!/bin/bash rg -n -C 5 'SampledTextureNumericClass\s*\(' src/graphics/shader/recompiler src/graphics/host_gpu sed -n '455,490p' src/graphics/shader/recompiler/ir/passes/ResourceMaterialization.cpp sed -n '620,685p' src/graphics/host_gpu/renderer/pipeline/descriptors.cpp nl -ba src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp | sed -n '403,430p;574,640p;709,722p' nl -ba src/graphics/host_gpu/renderer/pipeline/descriptors.cpp | sed -n '334,365p' ``` Repository: KytyPS5/KytyPS5 Length of output: 20201 --- 🏁 Script executed: ```bash #!/bin/bash rg -n -C 4 'SampledTextureNumericClass|ImageConversionFormat\s*\(' src nl -ba src/graphics/shader/recompiler/ir/passes/ResourceMaterialization.cpp | sed -n '465,500p' nl -ba src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp | sed -n '389,428p;574,638p;709,721p' ``` Repository: KytyPS5/KytyPS5 Length of output: 23667 --- 🏁 Script executed: ```bash #!/bin/bash nl -ba src/graphics/guest_gpu/gpu_format.cpp | sed -n '255,292p' nl -ba src/graphics/shader/recompiler/BufferFormat.h | sed -n '100,130p' ``` Repository: KytyPS5/KytyPS5 Length of output: 4007 --- 🏁 Script executed: ```bash #!/bin/bash rg -n -C 3 'k8UScaled|k8SScaled|k16UScaled|k16SScaled|k8_8UScaled|k8_8SScaled|k8_8_8_8UScaled|k8_8_8_8SScaled' src/graphics/guest_gpu/gpu_format.cpp ``` Repository: KytyPS5/KytyPS5 Length of output: 3003 --- 🏁 Script executed: ```bash git diff --unified=5 db1758527751125592f57bf02f29616fa0643159 deecc8f11d99ada3f568980930470c7819886ff4 -- src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp ``` Repository: KytyPS5/KytyPS5 Length of output: 5076 --- 🌐 Web query: `SPIR-V specification OpCompositeExtract result type must match type of extracted component` 💡 Result: ``` Yes. The SPIR-V specification says for `OpCompositeExtract`: **“Result Type must be the type of object selected by the last provided index.”** In other words, the result type must exactly match the type reached by following the index path through the composite—not merely be a compatible type. ([registry.khronos.org](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html)) Citations: - 1: https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html ``` --- </details> **Reject scaled storage writes or pack their float components.** `ValidateStorageTexture` accepts scaled formats as `Float` storage formats. For `ImageWrite`, `StoreTexel` builds an `F32` vector, then `PackImageTexel` extracts each component as `U32`. This can emit invalid SPIR-V because `OpCompositeExtract` must return the selected component type. Implement float-to-normalized packing for scaled writes, or reject those writes during storage validation. <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:1fd4e733da2fb72d08883d29 --> <!-- This is an auto-generated comment by CodeRabbit --> ✅ Addressed in commits 96350b9 to 7728fcc
Author
Owner

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

Actionable comments posted: 9

Caution

Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

⚠️ Outside diff range comments (1)

🟠 Major · The new loop order can leave earlier bindings on freed images. · descriptors.cpp:909-923

src/graphics/host_gpu/renderer/pipeline/descriptors.cpp:909-923
🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

The new loop order can leave earlier bindings on freed images.

Each iteration now resolves image i and then calls FindTexture for it. A later ResolveTexture can call ResolveOverlap/ExpandImage, and these free an earlier image j. That image's view and image_id are already stored in images[j].

The old two-pass order hit the FindTexture rediscovery EXIT. The new order hides the failure instead:

  • CommitBindings transitions and binds an unregistered image whose slot erase is deferred.
  • The shader samples a backing that is no longer current. The data was copied into the replacement image.

Keep the separate passes. Then loop until no binding has needs_rebind, or until no binding points to an unregistered image, before you create views.


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c24ef177-2a12-43b6-a321-d1ef5d1de09c
📥 Commits

Reviewing files that changed from the base of the PR and between db17585277 and deecc8f11d.

📒 Files selected for processing (14)
  • src/graphics/guest_gpu/gpu_format.cpp
  • src/graphics/host_gpu/renderer/cache/textureCache.cpp
  • src/graphics/host_gpu/renderer/colorRenderTarget.cpp
  • src/graphics/host_gpu/renderer/depthRenderTarget.cpp
  • src/graphics/host_gpu/renderer/image/image.cpp
  • src/graphics/host_gpu/renderer/image/imageView.h
  • src/graphics/host_gpu/renderer/pipeline/blendMapping.cpp
  • src/graphics/host_gpu/renderer/pipeline/blendMapping.h
  • src/graphics/host_gpu/renderer/pipeline/descriptors.cpp
  • src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp
  • src/graphics/host_gpu/renderer/pipeline/shaders.cpp
  • src/graphics/host_gpu/renderer/renderDraw.cpp
  • src/graphics/host_gpu/vulkanCommon.cpp
  • src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp

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

**@⁠coderabbitai[bot]** on GitHub · 2026-10-04 01:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#pullrequestreview-5403704147) · **reviewed** **Actionable comments posted: 9** > [!CAUTION] > Some comments are outside the diff and can’t be posted inline due to GitHub limitations. > > **⚠️ Outside diff range comments (1)** > > <details> > <summary><em>🟠 Major</em> · The new loop order can leave earlier bindings on freed images. · <code>descriptors.cpp:909-923</code></summary><blockquote> > > `src/graphics/host_gpu/renderer/pipeline/descriptors.cpp:909-923` > _🎯 Functional Correctness_ | _🟠 Major_ | _🏗️ Heavy lift_ > > **The new loop order can leave earlier bindings on freed images.** > > Each iteration now resolves image `i` and then calls `FindTexture` for it. A later `ResolveTexture` can call `ResolveOverlap`/`ExpandImage`, and these free an earlier image `j`. That image's view and `image_id` are already stored in `images[j]`. > > The old two-pass order hit the `FindTexture` rediscovery `EXIT`. The new order hides the failure instead: > - `CommitBindings` transitions and binds an unregistered image whose slot erase is deferred. > - The shader samples a backing that is no longer current. The data was copied into the replacement image. > > Keep the separate passes. Then loop until no binding has `needs_rebind`, or until no binding points to an unregistered image, before you create views. > > <!-- cr-comment:v1:7d1b2c6c93a45d0ff6716df5 --> > > </blockquote></details> --- <details> <summary>ℹ️ Review info</summary> <details> <summary>⚙️ Run configuration</summary> - **Configuration used**: Repository: KytyPS5/KytyPS5/.coderabbit.yaml - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `c24ef177-2a12-43b6-a321-d1ef5d1de09c` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between db1758527751125592f57bf02f29616fa0643159 and deecc8f11d99ada3f568980930470c7819886ff4. </details> <details> <summary>📒 Files selected for processing (14)</summary> * `src/graphics/guest_gpu/gpu_format.cpp` * `src/graphics/host_gpu/renderer/cache/textureCache.cpp` * `src/graphics/host_gpu/renderer/colorRenderTarget.cpp` * `src/graphics/host_gpu/renderer/depthRenderTarget.cpp` * `src/graphics/host_gpu/renderer/image/image.cpp` * `src/graphics/host_gpu/renderer/image/imageView.h` * `src/graphics/host_gpu/renderer/pipeline/blendMapping.cpp` * `src/graphics/host_gpu/renderer/pipeline/blendMapping.h` * `src/graphics/host_gpu/renderer/pipeline/descriptors.cpp` * `src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp` * `src/graphics/host_gpu/renderer/pipeline/shaders.cpp` * `src/graphics/host_gpu/renderer/renderDraw.cpp` * `src/graphics/host_gpu/vulkanCommon.cpp` * `src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.cpp` </details> **Included review availability:** This review used your included allowance. Your plan provides up to 8 included reviews per hour; 4 remain after this review. </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
@ -726,0 +732,4 @@
"base=0x%016" PRIx64 " size=0x%016" PRIx64 "\n",
i, range.base_address, range.RequestedSize());
}
range.acquired_end = range.base_address;
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-04 01:28 UTC · original

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Bind a null vertex buffer when the range is uncommitted.

If TryClampRangeSize returns zero for a nonempty vertex descriptor, this branch leaves acquired_end equal to base_address. The slot search at Line 758 cannot match that range. AcquireVertexBuffers then exits at Line 764, so the new nonfatal path still ends the session. Handle the empty acquired range during slot reconstruction and supply a valid null-buffer binding.

**@⁠coderabbitai[bot]** on GitHub · 2026-10-04 01:28 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#discussion_r4175690107) _🩺 Stability & Availability_ | _🟠 Major_ | _⚡ Quick win_ **Bind a null vertex buffer when the range is uncommitted.** If `TryClampRangeSize` returns zero for a nonempty vertex descriptor, this branch leaves `acquired_end` equal to `base_address`. The slot search at Line 758 cannot match that range. `AcquireVertexBuffers` then exits at Line 764, so the new nonfatal path still ends the session. Handle the empty acquired range during slot reconstruction and supply a valid null-buffer binding. <!-- fingerprinting:phantom:poseidon:wombat --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:fa6bc5a3b9600d5c3d44d301 --> <!-- This is an auto-generated comment by CodeRabbit -->
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-04 01:28 UTC · original · reviewed

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8149b1b5-5040-4391-9274-391d51af1785
📥 Commits

Reviewing files that changed from the base of the PR and between deecc8f11d and 09d65c5d32.

📒 Files selected for processing (4)
  • src/graphics/host_gpu/renderer/pipeline/descriptors.cpp
  • src/graphics/host_gpu/renderer/renderDraw.cpp
  • src/kernel/memory.cpp
  • src/kernel/memory.h

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

**@⁠coderabbitai[bot]** on GitHub · 2026-10-04 01:28 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#pullrequestreview-5403764935) · **reviewed** **Actionable comments posted: 1** --- <details> <summary>ℹ️ Review info</summary> <details> <summary>⚙️ Run configuration</summary> - **Configuration used**: Repository: KytyPS5/KytyPS5/.coderabbit.yaml - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `8149b1b5-5040-4391-9274-391d51af1785` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between deecc8f11d99ada3f568980930470c7819886ff4 and 09d65c5d32379aa5e9a381252247a8ae71ae5978. </details> <details> <summary>📒 Files selected for processing (4)</summary> * `src/graphics/host_gpu/renderer/pipeline/descriptors.cpp` * `src/graphics/host_gpu/renderer/renderDraw.cpp` * `src/kernel/memory.cpp` * `src/kernel/memory.h` </details> **Included review availability:** This review used your included allowance. Your plan provides up to 8 included reviews per hour; 2 remain after this review. </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
Author
Owner

@⁠dammitjeff on GitHub · 2026-10-04 10:02 UTC · original

Seems like this PR fixes the persistent loading screen crashes in Kena: Bridge of Spirits (PPSA01746, v1.016)

Right after trying to load in a new came or continue, we'd get an error every time:
Memory: attempted to access invalid address 0x0000350000000400 with size 0x00000000000000d8 in src/kernel/memory.cpp:901

Now the game consistently loads into gameplay and has stayed in game across several boots including cutscenes!! Performance still sucks haha, and character textures are missing but that's awesome this PR got the crashing fixed as a side effect of getting GT running :)
Screenshot 2026-10-04 025559

Tested on Windows 11, RTX 5080, Ryzen 9 7900x.

**@⁠dammitjeff** on GitHub · 2026-10-04 10:02 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#issuecomment-5978809748) Seems like this PR fixes the persistent loading screen crashes in Kena: Bridge of Spirits (PPSA01746, v1.016) Right after trying to load in a new came or continue, we'd get an error every time: `Memory: attempted to access invalid address 0x0000350000000400 with size 0x00000000000000d8` in src/kernel/memory.cpp:901 Now the game consistently loads into gameplay and has stayed in game across several boots including cutscenes!! Performance still sucks haha, and character textures are missing but that's awesome this PR got the crashing fixed as a side effect of getting GT running :) <img width="3837" height="2157" alt="Screenshot 2026-10-04 025559" src="https://github.com/user-attachments/assets/6376aa70-af4f-45e1-adeb-32cd2a9b8eb2" /> Tested on Windows 11, RTX 5080, Ryzen 9 7900x.
Author
Owner

@⁠defektu on GitHub · 2026-10-04 13:17 UTC · original

Thanks for the info and tests @⁠dammitjeff . I am having similar error in GT after starting a track sometimes.
Will check that out.

**@⁠defektu** on GitHub · 2026-10-04 13:17 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#issuecomment-5980365927) Thanks for the info and tests @⁠dammitjeff . I am having similar error in GT after starting a track sometimes. Will check that out.
Author
Owner

@⁠Nmzik on GitHub · 2026-10-04 23:05 UTC · original

@⁠defektu Thanks. Most of changes are in main. Credited

**@⁠Nmzik** on GitHub · 2026-10-04 23:05 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#issuecomment-5985424446) @⁠defektu Thanks. Most of changes are in main. Credited
Author
Owner

@⁠defektu on GitHub · 2026-10-13 11:31 UTC · original

@⁠Nmzik closing this PR and tagging you for to check.

**@⁠defektu** on GitHub · 2026-10-13 11:31 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1033#issuecomment-6144574545) @⁠Nmzik closing this PR and tagging you for to check.

Pull request closed

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