Skip to content

GS/DX11: Expand caching constant buffer updates.#12987

Merged
lightningterror merged 1 commit intomasterfrom
gs_dx11__cache_cb
Feb 11, 2026
Merged

GS/DX11: Expand caching constant buffer updates.#12987
lightningterror merged 1 commit intomasterfrom
gs_dx11__cache_cb

Conversation

@lightningterror
Copy link
Copy Markdown
Contributor

@lightningterror lightningterror commented Jul 7, 2025

Description of Changes

GS/DX11: Expand caching constant buffer updates.
Not all cb updates are cached so let's do more, dx11 only but it can be done for other renderers too.

Rationale behind Changes

Speed.

Suggested Testing Steps

Test various games, see if there's a speed difference if it's worth it.

Did you use AI to help find, test, or implement this issue or feature?

@lightningterror lightningterror marked this pull request as draft July 7, 2025 12:02
@lightningterror lightningterror force-pushed the gs_dx11__cache_cb branch 2 times, most recently from 128aefc to 0e69e6b Compare July 20, 2025 20:43
@lightningterror
Copy link
Copy Markdown
Contributor Author

Posting this here from Jordan:
image

@JordanTheToaster JordanTheToaster added this to the Release 2.X milestone Nov 28, 2025
@lightningterror lightningterror changed the title [TEST] GS/DX11: Expand caching constant buffer updates. GS/DX11: Expand caching constant buffer updates. Jan 16, 2026
@lightningterror lightningterror marked this pull request as ready for review January 16, 2026 09:10
@lightningterror lightningterror marked this pull request as draft January 16, 2026 09:13
@lightningterror lightningterror force-pushed the gs_dx11__cache_cb branch 2 times, most recently from d9e7b0f to cd181f2 Compare January 29, 2026 13:46
@lightningterror lightningterror marked this pull request as ready for review February 9, 2026 23:27
Copy link
Copy Markdown
Contributor

@TJnotJT TJnotJT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, the benefit of caching seems pretty clear, and the perf results look good.

@lightningterror lightningterror merged commit 936836e into master Feb 11, 2026
23 checks passed
@lightningterror lightningterror deleted the gs_dx11__cache_cb branch February 11, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants