Skip to content

GS/HW: Better handle some texture creation hazards.#14631

Merged
lightningterror merged 1 commit into
masterfrom
gs_tex_hazards
Jul 2, 2026
Merged

GS/HW: Better handle some texture creation hazards.#14631
lightningterror merged 1 commit into
masterfrom
gs_tex_hazards

Conversation

@lightningterror

@lightningterror lightningterror commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

GS/HW: Better handle some texture creation hazards.
BeginDSAsRT and ConvertTextureTypeROVSingle make sure the textures are actually created.

Rationale behind Changes

Potential crash fixes if we fail to allocate textures.

Suggested Testing Steps

Test if ROV works, test if ds as rt works: FFX is a good testcase with and without rov using aa1.

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

No.

@TJnotJT

TJnotJT commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Might be good to wait to rebase this on top of ROV revisions, since ConvertDepthFormatROV() is renamed and changed completely.

BeginDSAsRT and ConvertTextureTypeROVSingle make sure the textures are actually created.

@TJnotJT TJnotJT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes look fine, haven't tested personally

@lightningterror lightningterror merged commit 05015bc into master Jul 2, 2026
29 checks passed
@lightningterror lightningterror deleted the gs_tex_hazards branch July 2, 2026 09:25

@tgkbong3-stack tgkbong3-stack left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

C

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