Skip to content

GS/GL/DX11: Don't bind source tex on shader resource if it's tex is fb with no barrier.#14253

Open
lightningterror wants to merge 1 commit intomasterfrom
gs_tex_is_fb_srv
Open

GS/GL/DX11: Don't bind source tex on shader resource if it's tex is fb with no barrier.#14253
lightningterror wants to merge 1 commit intomasterfrom
gs_tex_is_fb_srv

Conversation

@lightningterror
Copy link
Copy Markdown
Contributor

Description of Changes

GS/GL/DX11: Don't bind source tex on shader resource if it's tex is fb with no barrier.
Texture will be copied, the copy will be used as a shader resource. Avoids useless binds.

Rationale behind Changes

Optimization.

Suggested Testing Steps

Smoke test some shuffle games such as GT4, Hitman, Death By Degrees on dx11 and gl.

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

No.

…b with no barrier.

Texture will be copied, the copy will be used as a shader resource. Avoids useless binds.
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.

2 participants