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

Delete ResourceAccess #5626

Merged
merged 2 commits into from Sep 5, 2023
Merged

Delete ResourceAccess #5626

merged 2 commits into from Sep 5, 2023

Conversation

gdkchan
Copy link
Member

@gdkchan gdkchan commented Aug 30, 2023

I added it to allow us to know if a resource is written from the shader on the backend, however #4899 added a bool on BufferRange that serves the same purpose, making it redundant, so this PR removes the ResourceAccess enum and all of its uses.

I also set the write bool to true now on the BufferRanges passed from vertex/geometry as compute where the buffers are modified from the shader. I don't think this makes any difference since those buffers are never modified from CPU, but it's technically the right thing to do.

@github-actions github-actions bot added gpu Related to Ryujinx.Graphics graphics-backend:vulkan Graphical bugs when using the Vulkan API labels Aug 30, 2023
@ryujinx-mako ryujinx-mako bot requested review from marysaka, riperiperi and a team August 30, 2023 01:54
Copy link
Contributor

@marysaka marysaka left a comment

Choose a reason for hiding this comment

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

lgtm

@marysaka marysaka requested a review from a team August 30, 2023 17:01
@TSRBerry TSRBerry merged commit ddb6493 into Ryujinx:master Sep 5, 2023
9 checks passed
@gdkchan gdkchan deleted the no-ra branch September 6, 2023 04:28
tvoracek pushed a commit to tvoracek/Ryujinx that referenced this pull request Oct 17, 2023
* Delete ResourceAccess

* Set write flag for vertex/geometry as compute output buffers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gpu Related to Ryujinx.Graphics graphics-backend:vulkan Graphical bugs when using the Vulkan API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants