graphics: exclude texel buffers from small CPU-modified buffer cache fast-path #1246

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

@⁠a17brah on GitHub · 2026-10-08 19:52 UTC · original
a17brah:pr/buffer-cache-exclude-texel-buffer → main · +1 −1 · 1 files · 1 commits · closed without merging

Small CPU-modified buffers (<= CACHING_PAGESIZE) are copied to a transient stream buffer to avoid pipeline barriers and allocation churn. However, texel buffers (storage and uniform texel buffer views) require dedicated Vulkan buffer views, persistent lifetime, and texel offset alignment (minTexelBufferOffsetAlignment instead of minUniformBufferOffsetAlignment).

Exclude texel buffers (!is_texel_buffer) from the stream buffer fast-path so they continue to pass through SynchronizeBuffer, which correctly establishes texel buffer views and tracking.

**@⁠a17brah** on GitHub · 2026-10-08 19:52 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1246) `a17brah:pr/buffer-cache-exclude-texel-buffer` → `main` · +1 −1 · 1 files · 1 commits · closed without merging Small CPU-modified buffers (<= CACHING_PAGESIZE) are copied to a transient stream buffer to avoid pipeline barriers and allocation churn. However, texel buffers (storage and uniform texel buffer views) require dedicated Vulkan buffer views, persistent lifetime, and texel offset alignment (minTexelBufferOffsetAlignment instead of minUniformBufferOffsetAlignment). Exclude texel buffers (!is_texel_buffer) from the stream buffer fast-path so they continue to pass through SynchronizeBuffer, which correctly establishes texel buffer views and tracking.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:49:48 +00:00
github-bot closed this pull request 2026-11-26 09:49:48 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-08 19:53 UTC · original

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 40 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 8 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b39d548a-d394-4bb9-8f36-3c7dad94479c
📥 Commits

Reviewing files that changed from the base of the PR and between 2f4b8a335d and 0c1f27546b.

📒 Files selected for processing (1)
  • src/graphics/host_gpu/renderer/cache/bufferCache.cpp
  • 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-08 19:53 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1246#issuecomment-6067872029) <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- This is an auto-generated comment: rate limited by coderabbit.ai --> > [!WARNING] > ## Review limit reached > > You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. > > **Next included review available in 40 minutes.** > > [Check out review usage here](https://app.coderabbit.ai/dashboard/review-capacity?orgId=d7cf2749-f181-4119-ba0c-ad79606afdfe). > > <details> > <summary>View limit details</summary> > > **Limit details:** You’ve used all 8 included reviews currently available. > > [Learn how review limits work](https://docs.coderabbit.ai/management/plans#rate-limits). > > **Review configuration:** > > <details> > <summary>⚙️ Run configuration</summary> > > - **Configuration used**: Repository: KytyPS5/KytyPS5/.coderabbit.yaml > - **Review profile**: CHILL > - **Plan**: Advanced > - **Run ID**: `b39d548a-d394-4bb9-8f36-3c7dad94479c` > > </details> > > <details> > <summary>📥 Commits</summary> > > Reviewing files that changed from the base of the PR and between 2f4b8a335d5e27a5153bdea670bd877a061e37b1 and 0c1f27546b0e31ec73dd83badea23f341ce0cc86. > > </details> > > <details> > <summary>📒 Files selected for processing (1)</summary> > > * `src/graphics/host_gpu/renderer/cache/bufferCache.cpp` > > </details> > > </details> <!-- end of auto-generated comment: rate limited by coderabbit.ai --> <!-- 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=1246)! 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

@⁠a17brah on GitHub · 2026-10-08 20:12 UTC · original

Closing for further refinement and testing.

**@⁠a17brah** on GitHub · 2026-10-08 20:12 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1246#issuecomment-6068192152) Closing for further refinement and testing.

Pull request closed

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