Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gl: Refactor attachment clear logic #13701

Merged
merged 3 commits into from Apr 19, 2023
Merged

gl: Refactor attachment clear logic #13701

merged 3 commits into from Apr 19, 2023

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented Apr 19, 2023

Make the whole thing a standalone command wrapper to avoid unnecessary state meddling. Previously any changes made before the actual clear step were overwritten by other intermediary steps. In the dragon's dogma case, a memory barrier forced attachment merging which destroyed the state before the glClear was issued.

Fixes #13693

- Make the whole thing a standalone command to avoid unnecessary state meddling.
rpcs3/Emu/RSX/GL/GLTexture.h Outdated Show resolved Hide resolved
rpcs3/Emu/RSX/GL/GLTexture.h Outdated Show resolved Hide resolved
rpcs3/Emu/RSX/GL/GLTexture.h Outdated Show resolved Hide resolved
rpcs3/Emu/RSX/GL/GLTexture.h Outdated Show resolved Hide resolved
@kd-11 kd-11 merged commit 6981cbb into RPCS3:master Apr 19, 2023
4 of 5 checks passed
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.

Dragon's Dogma Opengl has diffrent behavior from Vulkan
2 participants